10 #ifndef FCF_DEVMGR_DEVICE_LAMP_CONFIG_HPP
11 #define FCF_DEVMGR_DEVICE_LAMP_CONFIG_HPP
17 #include <yaml-cpp/yaml.h>
20 #include <fcf/common/iComm.hpp>
27 namespace fcf::devmgr::lamp {
48 const std::string
RPC_ON =
"rpcSwitchOn";
49 const std::string
RPC_OFF =
"rpcSwitchOff";
149 const std::string name);
164 #endif //FCF_DEVMGR_DEVICE_LAMP_CONFIG_H
constexpr auto CI_STAT_LOCAL
Definition: deviceConfig.hpp:53
constexpr auto RPC_INIT
Definition: deviceConfig.hpp:43
virtual ~LampConfig()
DeviceConfig destructor.
Definition: lampConfig.cpp:62
constexpr auto SUBSTATE_OP_DISABLING_STR
Definition: lampConfig.hpp:66
constexpr int SUBSTATE_INITIALISING
Definition: deviceConfig.hpp:84
constexpr auto SUBSTATE_NOTREADY_STR
Definition: deviceConfig.hpp:87
constexpr auto SUBSTATE_OP_SWITCHING_ON_STR
Definition: lampConfig.hpp:71
constexpr auto SUBSTATE_NOTREADY_STR
Definition: lampConfig.hpp:63
constexpr int SUBSTATE_OP_DISABLING
Definition: lampConfig.hpp:55
const std::vector< std::string > rpcMapping
Definition: lampConfig.hpp:104
constexpr auto CI_IGNORE_FAULT
Definition: lampConfig.hpp:34
constexpr int SUBSTATE_OP_ON
Definition: lampConfig.hpp:59
constexpr int SUBSTATE_OP_SWITCHING_ON
Definition: lampConfig.hpp:60
LampHwErrors header file.
constexpr auto CI_STAT_SUBSTATE
Definition: deviceConfig.hpp:50
constexpr auto RPC_DISABLE
Definition: deviceConfig.hpp:45
LampRpcErrors header file.
constexpr auto CI_ACTIVE_LOW_ON
Definition: lampConfig.hpp:32
constexpr auto CI_TIMEOUT
Definition: lampConfig.hpp:42
constexpr auto SUBSTATE_READY_OFF_STR
Definition: lampConfig.hpp:64
constexpr auto CI_INVERT_ANALOG
Definition: lampConfig.hpp:35
constexpr auto SUBSTATE_OP_WARMING_STR
Definition: lampConfig.hpp:72
const std::string RPC_ON
Definition: lampConfig.hpp:48
constexpr auto CI_WARMUP
Definition: lampConfig.hpp:40
constexpr int SUBSTATE_READY_ON
Definition: lampConfig.hpp:53
constexpr int SUBSTATE_OP_COOLING
Definition: lampConfig.hpp:58
constexpr int SUBSTATE_OP_WARMING
Definition: lampConfig.hpp:61
configSet class header file.
constexpr auto RPC_STOP
Definition: deviceConfig.hpp:46
constexpr auto CI_STAT_STATE
Definition: deviceConfig.hpp:51
constexpr int SUBSTATE_READY_OFF
Definition: lampConfig.hpp:52
constexpr int SUBSTATE_NOTREADY
Definition: deviceConfig.hpp:82
constexpr auto SUBSTATE_OP_SWITCHING_OFF_STR
Definition: lampConfig.hpp:68
constexpr int SUBSTATE_OP_OFF
Definition: lampConfig.hpp:56
const std::string RPC_OFF
Definition: lampConfig.hpp:49
Lamp Configuration class.
Definition: lampConfig.hpp:121
LampConfig(const std::string filename, const std::string name)
DeviceConfig constructor.
Definition: lampConfig.cpp:25
constexpr int SUBSTATE_OP_SWITCHING_OFF
Definition: lampConfig.hpp:57
const std::vector< std::string > statMapping
Definition: lampConfig.hpp:96
DataContext class header file.
constexpr auto SUBSTATE_OP_ERROR_STR
Definition: deviceConfig.hpp:96
constexpr auto SUBSTATE_INITIALISING_STR
Definition: deviceConfig.hpp:88
constexpr auto SUBSTATE_OP_COOLING_STR
Definition: lampConfig.hpp:69
constexpr auto SUBSTATE_OP_ON_STR
Definition: lampConfig.hpp:70
constexpr auto CI_ANALOG_RANGE
Definition: lampConfig.hpp:37
constexpr int SUBSTATE_OP_ERROR
Definition: deviceConfig.hpp:93
const std::unordered_map< short, std::string > SubstateMap
Definition: lampConfig.hpp:75
constexpr auto RPC_RESET
Definition: deviceConfig.hpp:47
constexpr auto CI_MAX_ON
Definition: lampConfig.hpp:39
Device Configuration class.
Definition: deviceConfig.hpp:125
constexpr auto CI_STAT_ERROR_CODE
Definition: deviceConfig.hpp:54
constexpr int SUBSTATE_ERROR
Definition: deviceConfig.hpp:85
constexpr auto SUBSTATE_READY_ON_STR
Definition: lampConfig.hpp:65
const std::vector< std::string > cfgMapping
Definition: lampConfig.hpp:91
constexpr auto CI_ANALOG_THRESHOLD
Definition: lampConfig.hpp:36
constexpr auto CI_ACTIVE_LOW_FAULT
Definition: lampConfig.hpp:31
constexpr auto RPC_ENABLE
Definition: deviceConfig.hpp:44
constexpr auto SUBSTATE_OP_OFF_STR
Definition: lampConfig.hpp:67
DeviceConfig class header file.
constexpr auto SUBSTATE_ERROR_STR
Definition: deviceConfig.hpp:90
constexpr auto CI_INITIAL_STATE
Definition: lampConfig.hpp:41
constexpr auto CI_COOLDDOWN
Definition: lampConfig.hpp:38
const std::string CI_STAT_INTENSITY
Definition: lampConfig.hpp:45
constexpr auto CI_ACTIVE_LOW_SWITCH
Definition: lampConfig.hpp:33