38 isReady = isRunning = mountOnline = domeOnline =
false;
39 mountParkSP = domeParkSP =
nullptr;
58 if (mount.empty() || std::string(dp.
getDeviceName()) == mount)
61 isReady = (domeOnline && mountOnline);
70 mountParkSP =
property.getSwitch();
72 domeParkSP =
property.getSwitch();
98 if (domeParkSP ==
nullptr)
121 if (mountParkSP ==
nullptr)
129 mountParkSP->
reset();
void sendNewSwitch(INDI::Property pp)
Send new Switch command to server.
void watchDevice(const char *deviceName)
Add a device to the watch list.
Class to provide basic INDI device functionality.
const char * getDeviceName() const
Provides generic container for INDI properties.
bool isNameMatch(const char *otherName) const
IPState getDomeParkState()
IPState getMountParkState()
virtual void newProperty(INDI::Property property) override
Emmited when a new property is created for an INDI driver.
void setMount(const std::string &value)
void setDome(const std::string &value)
virtual void newDevice(INDI::BaseDevice dp) override
Emmited when a new device is created from INDI server.
void IDLog(const char *fmt,...)
void setState(IPState state)
WidgetType * findWidgetByName(const char *name) const