A very minimal device! It also allows you to connect/disconnect and performs no other functions.
#include <memory>
{
return true;
}
{
return true;
}
{
return "Simple Device";
}
const char * getDeviceName() const
bool Disconnect() override
Disconnect from device.
const char * getDefaultName() override
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
void IDMessage(const char *dev, const char *fmt,...)
std::unique_ptr< SimpleDevice > simpleDevice(new SimpleDevice())
Construct a basic INDI device with only one property to connect and disconnect.