137 bool processNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n);
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
bool processSwitch(const char *dev, const char *name, ISState *states, char *names[], int n)
Process Rotator switch properties.
virtual IPState MoveRotator(double angle)=0
MoveRotator Go to specific angle.
bool saveConfigItems(FILE *fp)
saveConfigItems save focuser properties defined in the interface in config file
INumberVectorProperty RotatorBacklashNP
virtual bool AbortRotator()
AbortRotator Abort all motion.
enum INDI::RotatorInterface::@250 RotatorCapability
RotatorInterface(DefaultDevice *defaultDevice)
INumberVectorProperty GotoRotatorNP
void initProperties(const char *groupName)
Initilize Rotator properties. It is recommended to call this function within initProperties() of your...
bool updateProperties()
updateProperties Define or Delete Rotator properties based on the connection status of the base devic...
void SetCapability(uint32_t cap)
SetRotatorCapability sets the Rotator capabilities. All capabilities must be initialized.
INumberVectorProperty SyncRotatorNP
INumber RotatorBacklashN[1]
ISwitchVectorProperty HomeRotatorSP
virtual bool SyncRotator(double angle)
SyncRotator Set current angle as the supplied angle without moving the rotator.
ISwitch RotatorBacklashS[2]
virtual bool ReverseRotator(bool enabled)
ReverseRotator Reverse the direction of the rotator. CW is usually the normal direction,...
uint32_t rotatorCapability
ISwitchVectorProperty ReverseRotatorSP
virtual bool SetRotatorBacklashEnabled(bool enabled)
SetRotatorBacklashEnabled Enables or disables the Rotator backlash compensation.
ISwitch ReverseRotatorS[2]
uint32_t GetCapability() const
GetRotatorCapability returns the capability of the Rotator.
bool processNumber(const char *dev, const char *name, double values[], char *names[], int n)
Process Rotator number properties.
DefaultDevice * m_defaultDevice
ISwitchVectorProperty RotatorBacklashSP
virtual IPState HomeRotator()
HomeRotator Go to home position.
ISwitchVectorProperty AbortRotatorSP
virtual bool SetRotatorBacklash(int32_t steps)
SetRotatorBacklash Set the Rotatorer backlash compensation value.
Namespace to encapsulate INDI client, drivers, and mediator classes.
Number vector property descriptor.
Switch vector property descriptor.