|
X2 Standard
Version 1.28
|
The LinkInterface allows connect and related device operations. More...
#include <linkinterface.h>
Public Member Functions | |
| virtual int | establishLink (void)=0 |
| virtual int | terminateLink (void)=0 |
| virtual bool | isLinked (void) const =0 |
| virtual bool | isEstablishLinkAbortable (void) |
The LinkInterface allows connect and related device operations.
The word Link is used to describe the connection state to a device simply because the word connect (and disconnet) are used frequently in source code for other things.
|
pure virtual |
Connect (link) to the device.
Implemented in DomeDriverInterface, FilterWheelDriverInterface, FocuserDriverInterface, MountDriverInterface, PowerControlDriverInterface, RotatorDriverInterface, X2Dome, X2FilterWheel, X2Focuser, X2Mount, X2PowerControl, and X2Rotator.
|
inlinevirtual |
Software Bisque implementations only. For those devices where the above establishLink can take more than say 2 seconds, it's nice to allow users the ability to abort the operation, especially if/when there is no actual device connected and establishLink has to time out.
|
pure virtual |
Return true if there is a connection, otherwise return false.
Implemented in DomeDriverInterface, FilterWheelDriverInterface, FocuserDriverInterface, MountDriverInterface, PowerControlDriverInterface, RotatorDriverInterface, X2Dome, X2FilterWheel, X2Focuser, X2Mount, X2PowerControl, and X2Rotator.
|
pure virtual |
Disconnect from the device.
Implemented in DomeDriverInterface, FilterWheelDriverInterface, FocuserDriverInterface, MountDriverInterface, PowerControlDriverInterface, RotatorDriverInterface, X2Dome, X2FilterWheel, X2Focuser, X2Mount, X2PowerControl, and X2Rotator.