X2 Standard
Version 1.24
|
#include <x2mount.h>
Public Member Functions | |
X2Mount (const char *pszDriverSelection, const int &nInstanceIndex, SerXInterface *pSerX, TheSkyXFacadeForDriversInterface *pTheSkyX, SleeperInterface *pSleeper, BasicIniUtilInterface *pIniUtil, LoggerInterface *pLogger, MutexInterface *pIOMutex, TickCountInterface *pTickCount) | |
DriverRootInterface Implementation | |
See DriverRootInterface. | |
virtual DeviceType | deviceType (void) |
virtual int | queryAbstraction (const char *pszName, void **ppVal) |
LinkInterface Implementation | |
See LinkInterface. | |
virtual int | establishLink (void) |
virtual int | terminateLink (void) |
virtual bool | isLinked (void) const |
virtual bool | isEstablishLinkAbortable (void) const |
DriverInfoInterface Implementation | |
See DriverInfoInterface. | |
virtual void | driverInfoDetailedInfo (BasicStringInterface &str) const |
virtual double | driverInfoVersion (void) const |
Public Member Functions inherited from MountDriverInterface | |
virtual bool | needsRefactionAdjustments (void) |
Public Member Functions inherited from LinkInterface | |
virtual bool | isEstablishLinkAbortable (void) |
HardwareInfoInterface Implementation | |
virtual void | deviceInfoNameShort (BasicStringInterface &str) const |
virtual void | deviceInfoNameLong (BasicStringInterface &str) const |
virtual void | deviceInfoDetailedDescription (BasicStringInterface &str) const |
virtual void | deviceInfoFirmwareVersion (BasicStringInterface &str) |
virtual void | deviceInfoModel (BasicStringInterface &str) |
virtual int | raDec (double &ra, double &dec, const bool &bCached=false) |
virtual int | abort (void) |
Additional Inherited Members | |
Public Types inherited from MountDriverInterface | |
enum | MotorState { MKS_MOTOR_HOMING =(0x0100), MKS_MOTOR_SERVO =(0x0200), MKS_MOTOR_INDEXING =(0x0400), MKS_MOTOR_SLEWING =(0x0800), MKS_MOTOR_HOMED =(0x1000), MKS_MOTOR_JOYSTICKING =(0x2000), MKS_MOTOR_OFF =(0x4000), MKS_MOTOR_MOVING = (MKS_MOTOR_HOMING | MKS_MOTOR_SLEWING | MKS_MOTOR_JOYSTICKING) } |
enum | Axis { AXIS_RA = 0, AXIS_DEC = 1 } |
enum | MoveDir { MD_NORTH = 0, MD_SOUTH = 1, MD_EAST = 2, MD_WEST = 3 } |
enum | MoveRate { MR_FLASH = -2, MR_BASE = -1, MR_0R5X = 0, MR_1X = 1, MR_2X = 2, MR_4X = 3, MR_8X = 4, MR_16X = 5, MR_32X = 6, MR_64X = 7, MR_128X = 8, MR_256X = 9, MR_SLEW = 10 } |
Public Types inherited from DriverRootInterface | |
enum | DeviceType { DT_UNKNOWN = 0, DT_MOUNT = 1, DT_FOCUSER = 2, DT_CAMERA = 3, DT_FILTERWHEEL = 4, DT_DOME = 5, DT_ROTATOR = 6, DT_WEATHER = 7, DT_GPSTFP = 8, DT_VIDEO = 9, DT_OTA =10, DT_AO =11, DT_POWERCONTROL =12, DT_PRIVATE_A =13 } |
X2Mount::X2Mount | ( | const char * | pszDriverSelection, |
const int & | nInstanceIndex, | ||
SerXInterface * | pSerX, | ||
TheSkyXFacadeForDriversInterface * | pTheSkyX, | ||
SleeperInterface * | pSleeper, | ||
BasicIniUtilInterface * | pIniUtil, | ||
LoggerInterface * | pLogger, | ||
MutexInterface * | pIOMutex, | ||
TickCountInterface * | pTickCount | ||
) |
Standard X2 constructor
|
virtual |
Abort any operation currently in progress.
Implements MountDriverInterface.
|
virtual |
Return a detailed device description.
Implements MountDriverInterface.
|
virtual |
Return the firmware version, if available.
Implements MountDriverInterface.
|
virtual |
Return the device model name.
Implements MountDriverInterface.
|
virtual |
Return a detailed device name.
Implements MountDriverInterface.
|
virtual |
Return a short device name.
Implements MountDriverInterface.
|
inlinevirtual |
Returns the type of device.
Reimplemented from MountDriverInterface.
|
virtual |
Return detailed information about the driver.
Implements MountDriverInterface.
|
virtual |
Return a version number.
Implements MountDriverInterface.
|
virtual |
Connect (link) to the device.
Implements MountDriverInterface.
|
virtual |
Return true if there is a connection, otherwise return false.
Implements MountDriverInterface.
|
virtual |
Return a pointer to well defined interface.
Implements MountDriverInterface.
|
virtual |
Return the mechanical or raw right ascension and declination coordinates of the mount.
dRawRA | is the right ascension coordinate of the mount from 0 to 24. |
dRawDec | is the declination coordinate of the mount from -90 to +90. |
bCached | may be ignored. |
Implements MountDriverInterface.
|
virtual |
Disconnect from the device.
Implements MountDriverInterface.