1 #include "../../licensedinterfaces/powercontroldriverinterface.h"
7 class SimpleIniUtilInterface;
24 const int& nInstanceIndex,
36 X2_POWER_CONTROL_CIRCUITS = 8
74 virtual int circuitState(
const int& nIndex,
bool& bZeroForOffOneForOn);
75 virtual int setCircuitState(
const int& nIndex,
const bool& bZeroForOffOneForOn);
98 bool m_bCache[X2_POWER_CONTROL_CIRCUITS];
The PowerControlDriverInterface allows an X2 implementor to a write X2 power control driver.
Definition: powercontroldriverinterface.h:29
virtual int terminateLink(void)
Definition: x2powercontrol.cpp:64
virtual int circuitState(const int &nIndex, bool &bZeroForOffOneForOn)
Definition: x2powercontrol.cpp:122
virtual void deviceInfoFirmwareVersion(BasicStringInterface &str)
Definition: x2powercontrol.cpp:88
The X2PowerControl example.
Definition: x2powercontrol.h:21
The TickCountInterface is a cross-platform way to measure relative timing.
Definition: tickcountinterface.h:17
The MutexInterface provides a cross-platform mutex.
Definition: mutexinterface.h:16
virtual void driverInfoDetailedInfo(BasicStringInterface &str) const
Definition: x2powercontrol.cpp:97
The TheSkyXFacadeForDriversInterface is a simplified interface to TheSkyX passed to X2 implementors.
Definition: theskyxfacadefordriversinterface.h:19
virtual void deviceInfoDetailedDescription(BasicStringInterface &str) const
Definition: x2powercontrol.cpp:84
virtual int establishLink(void)
Definition: x2powercontrol.cpp:55
virtual bool isLinked(void) const
Definition: x2powercontrol.cpp:70
virtual int queryAbstraction(const char *pszName, void **ppVal)
Definition: x2powercontrol.cpp:106
virtual int setCircuitState(const int &nIndex, const bool &bZeroForOffOneForOn)
Definition: x2powercontrol.cpp:134
virtual double driverInfoVersion(void) const
Definition: x2powercontrol.cpp:101
The BasicIniUtilInterface is used to make properties persistent.
Definition: basiciniutilinterface.h:21
The LoggerInterface is a cross-platform logging utility passed to X2 implementors to show real-time,...
Definition: loggerinterface.h:58
virtual void deviceInfoModel(BasicStringInterface &str)
Definition: x2powercontrol.cpp:92
The SleeperInterface is a cross-platform "sleeper".
Definition: sleeperinterface.h:15
virtual void deviceInfoNameLong(BasicStringInterface &str) const
Definition: x2powercontrol.cpp:80
The SerXInterface is a cross-plaform serial port.
Definition: serxinterface.h:18
virtual int numberOfCircuits(int &nNumber)
Definition: x2powercontrol.cpp:116
The BasicStringInterface allows a string as an output.
Definition: basicstringinterface.h:17
virtual void deviceInfoNameShort(BasicStringInterface &str) const
Definition: x2powercontrol.cpp:76
X2 Examples
(C) Software Bisque, Inc. All rights reserved.