40 virtual bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
57 std::chrono::system_clock::time_point NSGuideTS, WEGuideTS;
58 uint32_t NSPulseRequest = 0, WEPulseRequest = 0;
59 int NSDirection = -1, WEDirection = -1, NSTimerID = -1, WETimerID = -1;
61 void NSTimerCallback();
62 void WETimerCallback();
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual IPState GuideEast(uint32_t ms) override
Guide east for ms milliseconds. East is defined as RA+.
virtual IPState GuideWest(uint32_t ms) override
Guide west for ms milliseconds. West is defined as RA-.
virtual IPState GuideNorth(uint32_t ms) override
Guide north for ms milliseconds. North is defined as DEC+.
const char * getDefaultName() override
bool Disconnect() override
Disconnect from device.
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
static void NSTimerHelper(void *context)
virtual IPState GuideSouth(uint32_t ms) override
Guide south for ms milliseconds. South is defined as DEC-.
static void WETimerHelper(void *context)
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
void debugTriggered(bool enable) override
Inform driver that the debug option was triggered. This function is called after setDebug is triggere...
Class to provide extended functionality for devices in addition to the functionality provided by INDI...