35 virtual bool ISNewNumber (
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
36 virtual bool ISNewSwitch (
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
44 double targetPos, lastPos;
46 void GetFocusParams();
49 bool updateTemperature();
50 bool updatePosition();
54 bool MoveMyFocuser(uint32_t position);
55 bool setMaxPos(uint32_t maxPos);
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual IPState MoveAbsFocuser(uint32_t ticks) override
MoveFocuser the focuser to an absolute position.
virtual bool AbortFocuser() override
AbortFocuser all focus motion.
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
virtual IPState MoveRelFocuser(FocusDirection dir, uint32_t ticks) override
MoveFocuser the focuser to an relative position.
virtual bool Handshake() override
perform handshake with device to check communication
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
const char * getDefaultName() override
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
Number vector property descriptor.
Switch vector property descriptor.