X2 Standard
Version 1.24
|
The FocuserDriverInterface allows an X2 implementor to a write X2 focuser driver. More...
#include <focuserdriverinterface.h>
Public Member Functions | |
DriverRootInterface Implementation | |
See DriverRootInterface. | |
virtual DeviceType | deviceType (void) |
virtual int | queryAbstraction (const char *pszName, void **ppVal)=0 |
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)=0 |
virtual int | terminateLink (void)=0 |
virtual bool | isLinked (void) const =0 |
FocuserGotoInterface2 Implementation | |
virtual int | focPosition (int &nPosition)=0 |
virtual int | focMinimumLimit (int &nMinLimit)=0 |
virtual int | focMaximumLimit (int &nMaxLimit)=0 |
virtual int | focAbort ()=0 |
virtual int | startFocGoto (const int &nRelativeOffset)=0 |
virtual int | isCompleteFocGoto (bool &bComplete) const =0 |
virtual int | endFocGoto (void)=0 |
virtual int | amountCountFocGoto (void) const =0 |
virtual int | amountNameFromIndexFocGoto (const int &nZeroBasedIndex, BasicStringInterface &strDisplayName, int &nAmount)=0 |
virtual int | amountIndexFocGoto (void)=0 |
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) |
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 } |
The FocuserDriverInterface allows an X2 implementor to a write X2 focuser driver.
See the X2Focuser for an example.
|
pure virtual |
Return the number (count) of avaiable focuser gotos.
Implements FocuserGotoInterface2.
Implemented in X2Focuser.
|
pure virtual |
Return the current index of focuser goto selection.
Implements FocuserGotoInterface2.
Implemented in X2Focuser.
|
pure virtual |
Return a string along with the amount or size of the corresponding focuser goto.
Implements FocuserGotoInterface2.
Implemented in X2Focuser.
|
inlinevirtual |
|
inlinevirtual |
Return the firmware version, if available.
Implements HardwareInfoInterface.
Reimplemented in X2Focuser.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Returns the type of device.
Implements DriverRootInterface.
|
inlinevirtual |
Return detailed information about the driver.
Implements DriverInfoInterface.
Reimplemented in X2Focuser.
|
inlinevirtual |
|
pure virtual |
Called after the goto is complete. This is called once for every corresponding startFocGoto() allowing software implementations of focuser gotos.
Implements FocuserGotoInterface2.
Implemented in X2Focuser.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure 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 FocuserGotoInterface2.
Implemented in X2Focuser.
|
pure virtual |
|
pure virtual |
Return true if there is a connection, otherwise return false.
Implements LinkInterface.
Implemented in X2Focuser.
|
pure virtual |
Return a pointer to well defined interface.
Implements DriverRootInterface.
Implemented in X2Focuser.
|
pure virtual |
|
pure virtual |