X2 Standard
Version 1.24
|
The X2Rotator example. More...
#include <x2rotator.h>
Public Member Functions | |
X2Rotator (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) |
DriverInfoInterface Implementation | |
See DriverInfoInterface. | |
virtual void | driverInfoDetailedInfo (BasicStringInterface &str) const |
virtual double | driverInfoVersion (void) const |
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) |
LinkInterface Implementation | |
See LinkInterface. | |
virtual int | establishLink (void) |
virtual int | terminateLink (void) |
virtual bool | isLinked (void) const |
virtual bool | isEstablishLinkAbortable (void) const |
RotatorDriverInterface Implementation | |
virtual int | position (double &dPosition) |
virtual int | abort (void) |
virtual int | startRotatorGoto (const double &dTargetPosition) |
virtual int | isCompleteRotatorGoto (bool &bComplete) const |
virtual int | endRotatorGoto (void) |
virtual void | portName (BasicStringInterface &str) const |
virtual void | setPortName (const char *szPort) |
virtual unsigned int | baudRate () const |
virtual void | setBaudRate (unsigned int) |
virtual bool | isBaudRateFixed () const |
virtual SerXInterface::Parity | parity () const |
virtual void | setParity (const SerXInterface::Parity &parity) |
virtual bool | isParityFixed () const |
DriverRootInterface Implementation | |
See DriverRootInterface. | |
DriverInfoInterface Implementation | |
See DriverInfoInterface. | |
HardwareInfoInterface Implementation | |
LinkInterface Implementation | |
See LinkInterface. | |
Public Member Functions inherited from LinkInterface | |
virtual bool | isEstablishLinkAbortable (void) |
Public Member Functions inherited from SerialPortParams2Interface | |
virtual int | dataBits () const |
virtual void | setDataBits (const int &nValue) |
virtual bool | isDataBitsFixed () |
virtual int | stopBits () const |
virtual void | setStopBits (const int &nValue) |
virtual bool | isStopBitsFixed () |
virtual int | flowControl () const |
virtual void | setFlowControl (const int &nValue) |
virtual bool | isFlowControlFixed () |
ModalSettingsDialogInterface Implementation | |
virtual int | initModalSettingsDialog (void) |
virtual int | execModalSettingsDialog (void) |
Additional Inherited Members | |
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 } |
X2Rotator::X2Rotator | ( | 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 in progress.
Implements RotatorDriverInterface.
|
inlinevirtual |
Return the buad rate.
Implements SerialPortParams2Interface.
|
virtual |
Return a detailed device description.
Implements RotatorDriverInterface.
|
virtual |
Return the firmware version, if available.
Implements RotatorDriverInterface.
|
virtual |
Return the device model name.
Implements RotatorDriverInterface.
|
virtual |
Return a detailed device name.
Implements RotatorDriverInterface.
|
virtual |
Return a short device name.
Implements RotatorDriverInterface.
|
inlinevirtual |
Returns the type of device.
Reimplemented from RotatorDriverInterface.
|
virtual |
Return detailed information about the driver.
Implements RotatorDriverInterface.
|
virtual |
Return a version number.
Implements RotatorDriverInterface.
|
virtual |
Called after the goto process is complete. This is called once for every corresponding startRotatorGoto() allowing software implementations of gotos.
Implements RotatorDriverInterface.
|
virtual |
Connect (link) to the device.
Implements RotatorDriverInterface.
|
virtual |
Execute and display the modal settings dialog.
Implements ModalSettingsDialogInterface.
|
inlinevirtual |
Initialize the modal settings dialog.
Implements ModalSettingsDialogInterface.
|
inlinevirtual |
Return if the parameter is fixed or not. The general user interface will hide this parameter if it is fixed.
Implements SerialPortParams2Interface.
|
virtual |
Called to moitor the goto process.
bComplete | Set to true if the goto is complete, otherwise set to false. |
Implements RotatorDriverInterface.
|
virtual |
Return true if there is a connection, otherwise return false.
Implements RotatorDriverInterface.
|
inlinevirtual |
Return if the parameter is fixed or not. The general user interface will hide this parameter if it is fixed.
Implements SerialPortParams2Interface.
|
inlinevirtual |
Return the parity.
Implements SerialPortParams2Interface.
|
virtual |
Return serial port name as a string.
Implements SerialPortParams2Interface.
|
virtual |
Return the position of the rotator.
Implements RotatorDriverInterface.
|
virtual |
Return a pointer to well defined interface.
Implements RotatorDriverInterface.
|
inlinevirtual |
Set the baud rate.
Implements SerialPortParams2Interface.
|
inlinevirtual |
Set the parity.
Implements SerialPortParams2Interface.
|
virtual |
Set the serial port name as a string.
Implements SerialPortParams2Interface.
|
virtual |
Initiate the rotator goto.
Implements RotatorDriverInterface.
|
virtual |
Disconnect from the device.
Implements RotatorDriverInterface.