|
| enum | {
HW_SUCCESS = 0,
HW_ERR_HW_NOT_OP = 1,
HW_ERR_INIT_FAILURE = 2,
HW_ERR_UNEXPECTED_OFF = 3,
HW_ERR_UNEXPECTED_ON = 4,
HW_ERR_FAULT_SIG = 5,
HW_ERR_MAXON = 6,
HW_ERR_STILL_COOLING = 7,
HW_ERR_TIMEOUT_DISABLE = 8,
HW_ERR_TIMEOUT_INIT = 9,
HW_ERR_TIMEOUT_OFF = 10,
HW_ERR_TIMEOUT_ON = 11,
RPC_SUCCESS = 0,
RPC_ERR_NOT_OP = -1,
RPC_ERR_NOT_OP_READY = -2,
RPC_ERR_NOT_OP_NOTREADY = -3,
RPC_ERR_SWITCHING_ON = -4,
RPC_ERR_SWITCHING_OFF = -5,
RPC_ERR_COOLING = -6,
RPC_ERR_LOCAL = -7
} |
| |
| enum | {
HW_SUCCESS = 0,
HW_ERR_HW_NOT_OP = 1,
HW_ERR_INIT_FAILURE = 2,
HW_ERR_UNEXPECTED_OFF = 3,
HW_ERR_UNEXPECTED_ON = 4,
HW_ERR_FAULT_SIG = 5,
HW_ERR_MAXON = 6,
HW_ERR_STILL_COOLING = 7,
HW_ERR_TIMEOUT_DISABLE = 8,
HW_ERR_TIMEOUT_INIT = 9,
HW_ERR_TIMEOUT_OFF = 10,
HW_ERR_TIMEOUT_ON = 11,
RPC_SUCCESS = 0,
RPC_ERR_NOT_OP = -1,
RPC_ERR_NOT_OP_READY = -2,
RPC_ERR_NOT_OP_NOTREADY = -3,
RPC_ERR_SWITCHING_ON = -4,
RPC_ERR_SWITCHING_OFF = -5,
RPC_ERR_COOLING = -6,
RPC_ERR_LOCAL = -7
} |
| |
◆ anonymous enum [1/2]
| Enumerator |
|---|
| HW_SUCCESS | |
| HW_ERR_HW_NOT_OP | |
| HW_ERR_INIT_FAILURE | |
| HW_ERR_UNEXPECTED_OFF | |
| HW_ERR_UNEXPECTED_ON | |
| HW_ERR_FAULT_SIG | |
| HW_ERR_MAXON | |
| HW_ERR_STILL_COOLING | |
| HW_ERR_TIMEOUT_DISABLE | |
| HW_ERR_TIMEOUT_INIT | |
| HW_ERR_TIMEOUT_OFF | |
| HW_ERR_TIMEOUT_ON | |
| RPC_SUCCESS | |
| RPC_ERR_NOT_OP | |
| RPC_ERR_NOT_OP_READY | |
| RPC_ERR_NOT_OP_NOTREADY | |
| RPC_ERR_SWITCHING_ON | |
| RPC_ERR_SWITCHING_OFF | |
| RPC_ERR_COOLING | |
| RPC_ERR_LOCAL | |
◆ anonymous enum [2/2]
| Enumerator |
|---|
| HW_SUCCESS | |
| HW_ERR_HW_NOT_OP | |
| HW_ERR_INIT_FAILURE | |
| HW_ERR_UNEXPECTED_OFF | |
| HW_ERR_UNEXPECTED_ON | |
| HW_ERR_FAULT_SIG | |
| HW_ERR_MAXON | |
| HW_ERR_STILL_COOLING | |
| HW_ERR_TIMEOUT_DISABLE | |
| HW_ERR_TIMEOUT_INIT | |
| HW_ERR_TIMEOUT_OFF | |
| HW_ERR_TIMEOUT_ON | |
| RPC_SUCCESS | |
| RPC_ERR_NOT_OP | |
| RPC_ERR_NOT_OP_READY | |
| RPC_ERR_NOT_OP_NOTREADY | |
| RPC_ERR_SWITCHING_ON | |
| RPC_ERR_SWITCHING_OFF | |
| RPC_ERR_COOLING | |
| RPC_ERR_LOCAL | |
◆ REGISTER_DEVICE()
| fcf::devmgr::lamp::REGISTER_DEVICE |
( |
Lamp |
| ) |
|
◆ cfgMapping
| const std::vector<std::string> fcf::devmgr::lamp::cfgMapping |
◆ CI_ACTIVE_LOW_FAULT
| constexpr auto fcf::devmgr::lamp::CI_ACTIVE_LOW_FAULT = "low_fault" |
|
constexpr |
◆ CI_ACTIVE_LOW_ON
| constexpr auto fcf::devmgr::lamp::CI_ACTIVE_LOW_ON = "low_on" |
|
constexpr |
◆ CI_ACTIVE_LOW_SWITCH
| constexpr auto fcf::devmgr::lamp::CI_ACTIVE_LOW_SWITCH = "low_switch" |
|
constexpr |
◆ CI_ANALOG_RANGE
| constexpr auto fcf::devmgr::lamp::CI_ANALOG_RANGE = "analog_range" |
|
constexpr |
◆ CI_ANALOG_THRESHOLD
| constexpr auto fcf::devmgr::lamp::CI_ANALOG_THRESHOLD = "analog_threshold" |
|
constexpr |
◆ CI_COOLDDOWN
| constexpr auto fcf::devmgr::lamp::CI_COOLDDOWN = "cooldown" |
|
constexpr |
◆ CI_IGNORE_FAULT
| constexpr auto fcf::devmgr::lamp::CI_IGNORE_FAULT = "ignore_fault" |
|
constexpr |
◆ CI_INITIAL_STATE
| constexpr auto fcf::devmgr::lamp::CI_INITIAL_STATE = "initial_state" |
|
constexpr |
◆ CI_INVERT_ANALOG
| constexpr auto fcf::devmgr::lamp::CI_INVERT_ANALOG = "invert_analog" |
|
constexpr |
◆ CI_MAX_ON
| constexpr auto fcf::devmgr::lamp::CI_MAX_ON = "maxon" |
|
constexpr |
◆ CI_STAT_INTENSITY
| const std::string fcf::devmgr::lamp::CI_STAT_INTENSITY = "intensity" |
◆ CI_TIMEOUT
| constexpr auto fcf::devmgr::lamp::CI_TIMEOUT = "timeout" |
|
constexpr |
◆ CI_WARMUP
| constexpr auto fcf::devmgr::lamp::CI_WARMUP = "warmup" |
|
constexpr |
◆ hw_errors
| const std::unordered_map<short, std::string> fcf::devmgr::lamp::hw_errors |
◆ rpc_errors
| const std::unordered_map<short, std::string> fcf::devmgr::lamp::rpc_errors |
◆ RPC_OFF
| const std::string fcf::devmgr::lamp::RPC_OFF = "rpcSwitchOff" |
◆ RPC_ON
| const std::string fcf::devmgr::lamp::RPC_ON = "rpcSwitchOn" |
◆ rpcMapping
| const std::vector<std::string> fcf::devmgr::lamp::rpcMapping |
◆ statMapping
| const std::vector<std::string> fcf::devmgr::lamp::statMapping |
◆ SUBSTATE_NOTREADY_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_NOTREADY_STR = "NotReady" |
|
constexpr |
◆ SUBSTATE_OP_COOLING
| constexpr int fcf::devmgr::lamp::SUBSTATE_OP_COOLING = 208 |
|
constexpr |
◆ SUBSTATE_OP_COOLING_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_COOLING_STR = "Cooling down" |
|
constexpr |
◆ SUBSTATE_OP_DISABLING
| constexpr int fcf::devmgr::lamp::SUBSTATE_OP_DISABLING = 205 |
|
constexpr |
◆ SUBSTATE_OP_DISABLING_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_DISABLING_STR = "Disabling" |
|
constexpr |
◆ SUBSTATE_OP_OFF
| constexpr int fcf::devmgr::lamp::SUBSTATE_OP_OFF = 206 |
|
constexpr |
◆ SUBSTATE_OP_OFF_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_OFF_STR = "Off" |
|
constexpr |
◆ SUBSTATE_OP_ON
| constexpr int fcf::devmgr::lamp::SUBSTATE_OP_ON = 209 |
|
constexpr |
◆ SUBSTATE_OP_ON_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_ON_STR = "On" |
|
constexpr |
◆ SUBSTATE_OP_SWITCHING_OFF
| constexpr int fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_OFF = 207 |
|
constexpr |
◆ SUBSTATE_OP_SWITCHING_OFF_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_OFF_STR = "Switching off" |
|
constexpr |
◆ SUBSTATE_OP_SWITCHING_ON
| constexpr int fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_ON = 210 |
|
constexpr |
◆ SUBSTATE_OP_SWITCHING_ON_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_ON_STR = "Switching on" |
|
constexpr |
◆ SUBSTATE_OP_WARMING
| constexpr int fcf::devmgr::lamp::SUBSTATE_OP_WARMING = 211 |
|
constexpr |
◆ SUBSTATE_OP_WARMING_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_WARMING_STR = "Warming up" |
|
constexpr |
◆ SUBSTATE_READY_OFF
| constexpr int fcf::devmgr::lamp::SUBSTATE_READY_OFF = 103 |
|
constexpr |
◆ SUBSTATE_READY_OFF_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_READY_OFF_STR = "Ready/Off" |
|
constexpr |
◆ SUBSTATE_READY_ON
| constexpr int fcf::devmgr::lamp::SUBSTATE_READY_ON = 104 |
|
constexpr |
◆ SUBSTATE_READY_ON_STR
| constexpr auto fcf::devmgr::lamp::SUBSTATE_READY_ON_STR = "Ready/On" |
|
constexpr |
◆ SubstateMap
| const std::unordered_map<short, std::string> fcf::devmgr::lamp::SubstateMap |
constexpr auto SUBSTATE_OP_COOLING_STR
Definition: lampConfig.hpp:69
constexpr auto SUBSTATE_OP_SWITCHING_ON_STR
Definition: lampConfig.hpp:71
@ HW_ERR_TIMEOUT_ON
Definition: lampHwErrors.hpp:30
constexpr auto CI_ACTIVE_LOW_ON
Definition: lampConfig.hpp:32
@ HW_ERR_INIT_FAILURE
Definition: lampHwErrors.hpp:21
@ HW_ERR_UNEXPECTED_ON
Definition: lampHwErrors.hpp:23
@ HW_SUCCESS
Definition: lampHwErrors.hpp:19
constexpr auto CI_STAT_ERROR_CODE
Definition: deviceConfig.hpp:54
constexpr int SUBSTATE_READY_ON
Definition: lampConfig.hpp:53
constexpr auto SUBSTATE_READY_ON_STR
Definition: lampConfig.hpp:65
constexpr auto SUBSTATE_OP_OFF_STR
Definition: lampConfig.hpp:67
const std::string CI_STAT_INTENSITY
Definition: lampConfig.hpp:45
constexpr auto SUBSTATE_OP_SWITCHING_OFF_STR
Definition: lampConfig.hpp:68
constexpr auto CI_STAT_STATE
Definition: deviceConfig.hpp:51
constexpr auto CI_STAT_LOCAL
Definition: deviceConfig.hpp:53
@ HW_ERR_HW_NOT_OP
Definition: lampHwErrors.hpp:20
constexpr auto SUBSTATE_READY_OFF_STR
Definition: lampConfig.hpp:64
@ HW_ERR_TIMEOUT_OFF
Definition: lampHwErrors.hpp:29
constexpr auto SUBSTATE_OP_DISABLING_STR
Definition: lampConfig.hpp:66
constexpr auto CI_ACTIVE_LOW_FAULT
Definition: lampConfig.hpp:31
constexpr auto RPC_STOP
Definition: deviceConfig.hpp:46
constexpr int SUBSTATE_READY_OFF
Definition: lampConfig.hpp:52
constexpr auto RPC_DISABLE
Definition: deviceConfig.hpp:45
@ HW_ERR_STILL_COOLING
Definition: lampHwErrors.hpp:26
@ RPC_ERR_COOLING
Definition: lampRpcErrors.hpp:25
@ HW_ERR_UNEXPECTED_OFF
Definition: lampHwErrors.hpp:22
constexpr int SUBSTATE_OP_SWITCHING_ON
Definition: lampConfig.hpp:60
constexpr int SUBSTATE_OP_SWITCHING_OFF
Definition: lampConfig.hpp:57
constexpr auto SUBSTATE_NOTREADY_STR
Definition: deviceConfig.hpp:87
constexpr auto SUBSTATE_INITIALISING_STR
Definition: deviceConfig.hpp:88
constexpr auto SUBSTATE_OP_ON_STR
Definition: lampConfig.hpp:70
constexpr int SUBSTATE_NOTREADY
Definition: deviceConfig.hpp:82
@ RPC_ERR_SWITCHING_OFF
Definition: lampRpcErrors.hpp:24
constexpr int SUBSTATE_INITIALISING
Definition: deviceConfig.hpp:84
@ HW_ERR_FAULT_SIG
Definition: lampHwErrors.hpp:24
constexpr int SUBSTATE_OP_DISABLING
Definition: lampConfig.hpp:55
constexpr auto RPC_ENABLE
Definition: deviceConfig.hpp:44
constexpr int SUBSTATE_OP_ERROR
Definition: deviceConfig.hpp:93
constexpr auto SUBSTATE_OP_ERROR_STR
Definition: deviceConfig.hpp:96
constexpr int SUBSTATE_OP_ON
Definition: lampConfig.hpp:59
@ HW_ERR_MAXON
Definition: lampHwErrors.hpp:25
@ RPC_ERR_LOCAL
Definition: lampRpcErrors.hpp:26
constexpr auto CI_STAT_SUBSTATE
Definition: deviceConfig.hpp:50
constexpr int SUBSTATE_ERROR
Definition: deviceConfig.hpp:85
@ HW_ERR_TIMEOUT_DISABLE
Definition: lampHwErrors.hpp:27
@ HW_ERR_TIMEOUT_INIT
Definition: lampHwErrors.hpp:28
constexpr auto RPC_INIT
Definition: deviceConfig.hpp:43
const std::string RPC_ON
Definition: lampConfig.hpp:48
constexpr auto SUBSTATE_OP_WARMING_STR
Definition: lampConfig.hpp:72
constexpr int SUBSTATE_OP_WARMING
Definition: lampConfig.hpp:61
@ RPC_ERR_NOT_OP
Definition: lampRpcErrors.hpp:20
@ RPC_ERR_SWITCHING_ON
Definition: lampRpcErrors.hpp:23
@ RPC_ERR_NOT_OP_NOTREADY
Definition: lampRpcErrors.hpp:22
@ RPC_ERR_NOT_OP_READY
Definition: lampRpcErrors.hpp:21
constexpr int SUBSTATE_OP_OFF
Definition: lampConfig.hpp:56
const std::string RPC_OFF
Definition: lampConfig.hpp:49
constexpr auto SUBSTATE_ERROR_STR
Definition: deviceConfig.hpp:90
constexpr auto RPC_RESET
Definition: deviceConfig.hpp:47
constexpr int SUBSTATE_OP_COOLING
Definition: lampConfig.hpp:58