|
LCC Fusion Project 1.0
LCC Automation
|
Logic object for processing signal logic. More...
#include <Logics.h>


Public Types | |
| enum | GroupFunction |
| Possible logic group functions. | |
| enum | LogicFunction |
| Possible Logic functions. | |
| enum | ActionType |
| Possible types of actions. | |
| enum | Which |
| possible variables that can be selected | |
Public Member Functions | |
| virtual UpdateAction | apply_configuration (int fd, bool initial_load, BarrierNotifiable *done) override |
| Invoked on initial load of CDI and when CDI is udpated. Register configured events with OpenMRN. More... | |
| virtual void | factory_reset (int fd) |
| handle reseting CDI to factory settings More... | |
| virtual void | Evaluate (Which v, BarrierNotifiable *done) |
| Evaluates variable logic. | |
| virtual const std::string | Description () const |
Logic object for processing signal logic.
|
overridevirtual |
Invoked on initial load of CDI and when CDI is udpated.
Register configured events with OpenMRN.
retrieve current CDI configuration for logics
| fd | file descriptor used to access CDI data |
| initial_load | is true when CDI is loaded after a reboot |
| done |
Definition at line 296 of file Logics.cpp.
|
inlinevirtual |
Implements LogicCallback.
|
virtual |
handle reseting CDI to factory settings
Reset CDI configuration entries to their initial (default) values
| fd | used to access the CDI information in the file system |
Definition at line 311 of file Logics.cpp.