1 #if !defined(_MountDriverInterface_H_)
2 #define _MountDriverInterface_H_
4 #ifdef THESKYX_FOLDER_TREE
5 #include "imagingsystem/hardware/interfaces/licensed/driverrootinterface.h"
6 #include "imagingsystem/hardware/interfaces/licensed/linkinterface.h"
7 #include "imagingsystem/hardware/interfaces/licensed/deviceinfointerface.h"
8 #include "imagingsystem/hardware/interfaces/licensed/driverinfointerface.h"
9 #include "imagingsystem/hardware/interfaces/licensed/mount/needsrefractioninterface.h"
10 #else//TheSkyX Plug In Build
11 #include "../../licensedinterfaces/driverrootinterface.h"
12 #include "../../licensedinterfaces/linkinterface.h"
13 #include "../../licensedinterfaces/deviceinfointerface.h"
14 #include "../../licensedinterfaces/driverinfointerface.h"
15 #include "../../licensedinterfaces/mount/needsrefractioninterface.h"
31 MKS_MOTOR_HOMING =(0x0100),
32 MKS_MOTOR_SERVO =(0x0200),
33 MKS_MOTOR_INDEXING =(0x0400),
34 MKS_MOTOR_SLEWING =(0x0800),
35 MKS_MOTOR_HOMED =(0x1000),
36 MKS_MOTOR_JOYSTICKING =(0x2000),
37 MKS_MOTOR_OFF =(0x4000),
38 MKS_MOTOR_MOVING = (MKS_MOTOR_HOMING | MKS_MOTOR_SLEWING | MKS_MOTOR_JOYSTICKING),
97 virtual bool isEstablishLinkAbortable(
void)
const {
return false;}
128 virtual int raDec(
double& dRawRA,
double& dRawDec,
const bool& bCached =
false) = 0;
virtual int establishLink(void)=0
virtual int raDec(double &dRawRA, double &dRawDec, const bool &bCached=false)=0
virtual bool isLinked(void) const =0
MotorState
Definition: mountdriverinterface.h:30
virtual void deviceInfoNameShort(BasicStringInterface &str) const =0
virtual void deviceInfoModel(BasicStringInterface &str)=0
The DriverRootInterface is the foundation for all X2 device drivers.
Definition: driverrootinterface.h:21
virtual bool needsRefactionAdjustments(void)
Definition: mountdriverinterface.h:121
@ DT_MOUNT
Definition: driverrootinterface.h:28
The LinkInterface allows connect and related device operations.
Definition: linkinterface.h:16
virtual int queryAbstraction(const char *pszName, void **ppVal)=0
virtual int abort(void)=0
The DriverInfoInterface provides X2 implementors a standarized way to provide driver specific informa...
Definition: driverinfointerface.h:15
virtual void deviceInfoDetailedDescription(BasicStringInterface &str) const =0
The HardwareInfoInterface provides X2 implementors a standarized way to provide hardware specific inf...
Definition: deviceinfointerface.h:15
DeviceType
Definition: driverrootinterface.h:26
MoveRate
Definition: mountdriverinterface.h:60
virtual void deviceInfoNameLong(BasicStringInterface &str) const =0
The MountDriverInterface allows an X2 implementor to a write X2 mount driver.
Definition: mountdriverinterface.h:26
The NeedsRefractionInterface for mounts.
Definition: needsrefractioninterface.h:30
Axis
Definition: mountdriverinterface.h:44
MoveDir
Definition: mountdriverinterface.h:51
virtual int terminateLink(void)=0
virtual void deviceInfoFirmwareVersion(BasicStringInterface &str)=0
virtual void driverInfoDetailedInfo(BasicStringInterface &str) const =0
virtual DeviceType deviceType(void)
Definition: mountdriverinterface.h:87
The BasicStringInterface allows a string as an output.
Definition: basicstringinterface.h:17
virtual double driverInfoVersion(void) const =0
X2 Examples
(C) Software Bisque, Inc. All rights reserved.