X2 Standard
Version 1.24
|
The X2Focuser example. More...
#include <x2focuser.h>
Public Member Functions | |
X2Focuser (const char *pszDisplayName, const int &nInstanceIndex, SerXInterface *pSerXIn, TheSkyXFacadeForDriversInterface *pTheSkyXIn, SleeperInterface *pSleeperIn, BasicIniUtilInterface *pIniUtilIn, LoggerInterface *pLoggerIn, MutexInterface *pIOMutexIn, TickCountInterface *pTickCountIn) | |
DriverRootInterface Implementation | |
See DriverRootInterface. | |
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 |
Public Member Functions inherited from FocuserDriverInterface | |
virtual DeviceType | deviceType (void) |
Public Member Functions inherited from LinkInterface | |
virtual bool | isEstablishLinkAbortable (void) |
Public Member Functions inherited from FocuserGotoInterface2 | |
virtual void | embeddedFocuserInit (const char *psFilterWheelSelection) |
virtual void | embeddedFocuserInit (const char *psFilterWheelSelection) |
FocuserGotoInterface2 Implementation | |
virtual int | focPosition (int &nPosition) |
virtual int | focMinimumLimit (int &nMinLimit) |
virtual int | focMaximumLimit (int &nMaxLimit) |
virtual int | focAbort () |
virtual int | startFocGoto (const int &nRelativeOffset) |
virtual int | isCompleteFocGoto (bool &bComplete) const |
virtual int | endFocGoto (void) |
virtual int | amountCountFocGoto (void) const |
virtual int | amountNameFromIndexFocGoto (const int &nZeroBasedIndex, BasicStringInterface &strDisplayName, int &nAmount) |
virtual int | amountIndexFocGoto (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 } |
|
virtual |
Return the number (count) of avaiable focuser gotos.
Implements FocuserDriverInterface.
|
virtual |
Return the current index of focuser goto selection.
Implements FocuserDriverInterface.
|
virtual |
Return a string along with the amount or size of the corresponding focuser goto.
Implements FocuserDriverInterface.
|
virtual |
Return a detailed device description.
Reimplemented from FocuserDriverInterface.
|
virtual |
Return the firmware version, if available.
Reimplemented from FocuserDriverInterface.
|
virtual |
Return the device model name.
Reimplemented from FocuserDriverInterface.
|
virtual |
Return a detailed device name.
Reimplemented from FocuserDriverInterface.
|
virtual |
Return a short device name.
Reimplemented from FocuserDriverInterface.
|
virtual |
Return detailed information about the driver.
Reimplemented from FocuserDriverInterface.
|
virtual |
Return a version number.
Reimplemented from FocuserDriverInterface.
|
virtual |
Called after the goto is complete. This is called once for every corresponding startFocGoto() allowing software implementations of focuser gotos.
Implements FocuserDriverInterface.
|
virtual |
Connect (link) to the device.
Implements FocuserDriverInterface.
|
virtual |
Abort an operation in progress.
Implements FocuserDriverInterface.
|
virtual |
Return the focusers maximum limit.
Implements FocuserDriverInterface.
|
virtual |
Return the focusers minimum limit.
Implements FocuserDriverInterface.
|
virtual |
Return the position of the focuser. If the hardware doesn't have a digital read out, return a number that roughly corresponds to whatever units the focuser moves in (time, lenght, etc.)
Implements FocuserDriverInterface.
|
virtual |
Return if the goto is complete.
Implements FocuserDriverInterface.
|
virtual |
Return true if there is a connection, otherwise return false.
Implements FocuserDriverInterface.
|
virtual |
Return a pointer to well defined interface.
Implements FocuserDriverInterface.
|
virtual |
Initiate the focus goto operation.
Implements FocuserDriverInterface.
|
virtual |
Disconnect from the device.
Implements FocuserDriverInterface.