X2 Standard
Version 1.24
|
The CircuitLockedInterface allows power control drivers to provide TheSky a means to lock a circuit. A locked circuit is still visible but its state cannot be changed. More...
#include <circuitlockedinterface.h>
Public Member Functions | |
virtual int | circuitLocked (const int &nIndex, bool &bZeroForNoOneForLocked)=0 |
The CircuitLockedInterface allows power control drivers to provide TheSky a means to lock a circuit. A locked circuit is still visible but its state cannot be changed.
This interface is optional. By default, TheSky will consider all circuits unlocked.
Don't forget to respond accordingly in your queryAbstraction().
|
pure virtual |
Called by TheSky to query if a particular circuit is locked or not.
nZeroBasedIndex | (in) the zero based index of the circuit. |
bZeroForNoOneForLocked | (out) returns if the circuit is locked or not. |