X2 Standard
Version 1.24
|
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 RotatorDriverInterface, PowerControlDriverInterface, MountDriverInterface, FocuserDriverInterface, FilterWheelDriverInterface, DomeDriverInterface, X2Rotator, X2PowerControl, X2Mount, X2Focuser, X2FilterWheel, and X2Dome.
|
inlinevirtual |
Software Bisque implementations only. For those devices where the above establishLink can take more than say 2 seconds, its nice to allow user's 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 RotatorDriverInterface, PowerControlDriverInterface, MountDriverInterface, FocuserDriverInterface, FilterWheelDriverInterface, DomeDriverInterface, X2Rotator, X2PowerControl, X2Mount, X2Focuser, X2FilterWheel, and X2Dome.
|
pure virtual |
Disconnect from the device.
Implemented in RotatorDriverInterface, PowerControlDriverInterface, MountDriverInterface, FocuserDriverInterface, FilterWheelDriverInterface, DomeDriverInterface, X2Rotator, X2PowerControl, X2Mount, X2Focuser, X2FilterWheel, and X2Dome.