1 #ifndef _PowerControlDriverInterface_H
2 #define _PowerControlDriverInterface_H
4 #ifdef THESKYX_FOLDER_TREE
5 #include "imagingsystem/hardware/interfaces/licensed/driverrootinterface.h"
6 #include "imagingsystem/hardware/interfaces/licensed/linkinterface.h"
7 #include "imagingsystem/hardware/interfaces/licensed/deviceinfointerface.h"
8 #include "imagingsystem/hardware/interfaces/licensed/driverinfointerface.h"
10 #include "../../licensedinterfaces/driverrootinterface.h"
11 #include "../../licensedinterfaces/linkinterface.h"
12 #include "../../licensedinterfaces/deviceinfointerface.h"
13 #include "../../licensedinterfaces/driverinfointerface.h"
46 virtual bool isEstablishLinkAbortable(
void)
const {
return false; }
80 virtual int circuitState(
const int& nZeroBasedIndex,
bool& bZeroForOffOneForOn)
82 (void)nZeroBasedIndex;
83 bZeroForOffOneForOn = 0;
91 virtual int setCircuitState(
const int& nZeroBasedIndex,
const bool& bZeroForOffOneForOn)
93 (void)nZeroBasedIndex;
94 (void)bZeroForOffOneForOn;
virtual int queryAbstraction(const char *pszName, void **ppVal)=0
virtual int terminateLink(void)=0
virtual void deviceInfoNameShort(BasicStringInterface &str) const =0
The PowerControlDriverInterface allows an X2 implementor to a write X2 power control driver.
Definition: powercontroldriverinterface.h:29
The DriverRootInterface is the foundation for all X2 device drivers.
Definition: driverrootinterface.h:21
virtual int establishLink(void)=0
virtual int numberOfCircuits(int &nNumber)
Definition: powercontroldriverinterface.h:70
virtual void deviceInfoModel(BasicStringInterface &str)=0
The LinkInterface allows connect and related device operations.
Definition: linkinterface.h:16
virtual DeviceType deviceType(void)
Definition: powercontroldriverinterface.h:36
virtual void deviceInfoDetailedDescription(BasicStringInterface &str) const =0
The DriverInfoInterface provides X2 implementors a standarized way to provide driver specific informa...
Definition: driverinfointerface.h:15
virtual void deviceInfoNameLong(BasicStringInterface &str) const =0
virtual int circuitState(const int &nZeroBasedIndex, bool &bZeroForOffOneForOn)
Definition: powercontroldriverinterface.h:80
virtual void driverInfoDetailedInfo(BasicStringInterface &str) const =0
The HardwareInfoInterface provides X2 implementors a standarized way to provide hardware specific inf...
Definition: deviceinfointerface.h:15
DeviceType
Definition: driverrootinterface.h:26
virtual int setCircuitState(const int &nZeroBasedIndex, const bool &bZeroForOffOneForOn)
Definition: powercontroldriverinterface.h:91
virtual void deviceInfoFirmwareVersion(BasicStringInterface &str)=0
virtual bool isLinked(void) const =0
virtual double driverInfoVersion(void) const =0
@ DT_POWERCONTROL
Definition: driverrootinterface.h:39
The BasicStringInterface allows a string as an output.
Definition: basicstringinterface.h:17
X2 Examples
(C) Software Bisque, Inc. All rights reserved.