52 virtual bool ISNewSwitch(
const char *dev,
const char *name,
ISState *states,
char *names[],
int n)
override;
57 virtual bool Abort()
override;
int ControlDomeFlap(FlapOperation operation)
virtual IPState MoveAbs(double az) override
Move the Dome to an absolute azimuth.
bool UpdateShutterStatus()
bool SaveEncoderPosition()
CalibrationStage calibrationStage
unsigned short MountAzToDomeAz(double mountAz)
virtual bool saveConfigItems(FILE *fp) override
saveConfigItems Saves the Device Port and Dome Presets in the configuration file
const char * GetFlapStatusString(FlapStatus status)
double calibrationTarget1
ISwitchVectorProperty DomeFlapSP
double calibrationTarget2
virtual const char * getDefaultName() override
virtual bool Handshake() override
perform handshake with device to check communication
virtual bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....
virtual IPState ControlShutter(ShutterOperation operation) override
Open or Close shutter.
ShutterState simShutterStatus
virtual bool SetDefaultPark() override
SetDefaultPark Set default coordinates/encoders value as the desired parking position.
virtual bool SetCurrentPark() override
SetCurrentPark Set current coordinates/encoders value as the desired parking position.
virtual bool Abort() override
Abort all dome motion.
virtual bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
virtual IPState UnPark() override
UnPark dome. The action of the Unpark command is dome specific, but it may include opening the shutte...
ShutterOperation targetShutter
virtual bool ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int n) override
Process the client newSwitch command.
virtual IPState Park() override
Goto Park Position. The park position is an absolute azimuth value.
ISwitchVectorProperty CalibrateSP
virtual IPState MoveRel(double azDiff) override
Move the Dome to an relative position.
virtual void TimerHit() override
Callback function to be called once SetTimer duration elapses.
double DomeAzToMountAz(unsigned short domeAz)
virtual ~BaaderDome()=default
Class to provide general functionality of a Dome device.
ShutterOperation
Shutter operation command.
Switch vector property descriptor.