71 void watchProperty(
const std::string &deviceName,
const std::string &propertyName);
81 std::map<std::string, DeviceInfo>::iterator
begin()
86 std::map<std::string, DeviceInfo>::iterator
end()
93 std::map<std::string, DeviceInfo>
data;
Class to provide basic INDI device functionality.
The class is used to create device instances. Class copying is not allowed. When an object is destroy...
void watchProperty(const std::string &deviceName, const std::string &propertyName)
std::map< std::string, DeviceInfo >::iterator end()
bool isDeviceWatched(const char *deviceName) const
checks if the device is being watched by something
std::vector< BaseDevice > getDevices() const
DeviceInfo & ensureDeviceByName(const char *name, const std::function< ParentDevice()> &constructor)
std::map< std::string, DeviceInfo >::iterator begin()
std::map< std::string, DeviceInfo > data
BaseDevice getDeviceByName(const char *name)
std::set< std::string > watchedDevice
void watchDevice(const std::string &deviceName)
int processXml(const INDI::LilXmlElement &root, char *errmsg, const std::function< ParentDevice()> &constructor=[] { return ParentDevice(ParentDevice::Valid);})
bool deleteDevice(const BaseDevice &device)
Namespace to encapsulate INDI client, drivers, and mediator classes.
std::function< void(BaseDevice)> newDeviceCallback
std::set< std::string > properties