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"
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;
The BasicStringInterface allows a string as an output.
Definition basicstringinterface.h:17
The DriverInfoInterface provides X2 implementors a standardized way to provide driver specific inform...
Definition driverinfointerface.h:15
The DriverRootInterface is the foundation for all X2 device drivers.
Definition driverrootinterface.h:21
DeviceType
Definition driverrootinterface.h:26
@ DT_MOUNT
Definition driverrootinterface.h:28
The HardwareInfoInterface provides X2 implementors a standardized way to provide hardware specific in...
Definition deviceinfointerface.h:15
The LinkInterface allows connect and related device operations.
Definition linkinterface.h:16
The MountDriverInterface allows an X2 implementor to a write X2 mount driver.
Definition mountdriverinterface.h:26
virtual int abort(void)=0
virtual void deviceInfoModel(BasicStringInterface &str)=0
virtual int queryAbstraction(const char *pszName, void **ppVal)=0
virtual void driverInfoDetailedInfo(BasicStringInterface &str) const =0
MoveRate
Definition mountdriverinterface.h:60
virtual bool needsRefactionAdjustments(void)
Definition mountdriverinterface.h:121
MotorState
Definition mountdriverinterface.h:30
virtual bool isLinked(void) const =0
virtual void deviceInfoFirmwareVersion(BasicStringInterface &str)=0
virtual double driverInfoVersion(void) const =0
virtual int establishLink(void)=0
virtual void deviceInfoDetailedDescription(BasicStringInterface &str) const =0
virtual void deviceInfoNameLong(BasicStringInterface &str) const =0
virtual int terminateLink(void)=0
virtual int raDec(double &dRawRA, double &dRawDec, const bool &bCached=false)=0
MoveDir
Definition mountdriverinterface.h:51
virtual DeviceType deviceType(void)
Definition mountdriverinterface.h:87
Axis
Definition mountdriverinterface.h:44
virtual void deviceInfoNameShort(BasicStringInterface &str) const =0
The NeedsRefractionInterface for mounts.
Definition needsrefractioninterface.h:30