19 bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
20 bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
37 return "Alignment Correction Simulator";
49 virtual bool ReverseAZ(
bool enabled)
override;
50 virtual bool ReverseALT(
bool enabled)
override;
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
virtual bool ReverseAZ(bool enabled) override
ReverseAZ Reverse the direction of azimuth axis movement.
virtual bool ReverseALT(bool enabled) override
ReverseALT Reverse the direction of altitude axis movement.
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
virtual bool SetPACSpeed(uint16_t speed) override
SetPACSpeed Set the motor speed used for axis movements.
bool saveConfigItems(FILE *fp) override
saveConfigItems Save specific properties in the provide config file handler. Child class usually over...
const char * getDefaultName() override
bool initProperties() override
Initialize properties initial state and value. The child class must implement this function.
bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
bool Disconnect() override
Disconnect from device.
bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual IPState MoveALT(double degrees) override
MoveALT Move the altitude axis by the given number of degrees.
virtual IPState MoveAZ(double degrees) override
Move the azimuth axis by the given number of degrees.
virtual bool AbortMotion() override
AbortMotion Abort all axis motion immediately.
bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual ~PACSimulator() override=default