Instrument Neutral Distributed Interface INDI  2.0.2
simpledevice.h

A very minimal device! It also allows you to connect/disconnect and performs no other functions.

/*
INDI Developers Manual
Tutorial #1
"Hello INDI"
We construct a most basic (and useless) device driver to illustate INDI.
Refer to README, which contains instruction on how to build this driver, and use it
with an INDI-compatible client.
*/
#pragma once
#include "defaultdevice.h"
{
public:
SimpleDevice() = default;
protected:
bool Connect() override;
bool Disconnect() override;
const char *getDefaultName() override;
};
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
SimpleDevice()=default
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...