ifw-fcf
2.0.0
|
Classes | |
class | Lamp |
The Lamp class. More... | |
class | LampConfig |
Lamp Configuration class. More... | |
struct | LampControllerData |
The LampControllerData struct. More... | |
class | LampLcsIf |
Lamp Local Control System (LCS) Interface (IF) class. More... | |
Enumerations | |
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 } |
enum | { RPC_SUCCESS = 0, RPC_ERR_NOT_OP = -1, RPC_ERR_NOT_STANDBY_READY = -2, RPC_ERR_NOT_STANDBY_NOTREADY = -3, RPC_ERR_SWITCHING_ON = -4, RPC_ERR_SWITCHING_OFF = -5, RPC_ERR_COOLING = -6, RPC_ERR_LOCAL = -7 } |
Functions | |
REGISTER_DEVICE (Lamp) | |
Variables | |
constexpr auto | CI_ACTIVE_LOW_FAULT = "low_fault" |
constexpr auto | CI_ACTIVE_LOW_ON = "low_on" |
constexpr auto | CI_ACTIVE_LOW_SWITCH = "low_switch" |
constexpr auto | CI_IGNORE_FAULT = "ignore_fault" |
constexpr auto | CI_INVERT_ANALOG = "invert_analog" |
constexpr auto | CI_ANALOG_THRESHOLD = "analog_threshold" |
constexpr auto | CI_ANALOG_RANGE = "analog_range" |
constexpr auto | CI_COOLDDOWN = "cooldown" |
constexpr auto | CI_MAX_ON = "maxon" |
constexpr auto | CI_WARMUP = "warmup" |
constexpr auto | CI_INITIAL_STATE = "initial_state" |
constexpr auto | CI_TIMEOUT = "timeout" |
const std::string | CI_STAT_INTENSITY = "intensity" |
const std::string | RPC_ON = "rpcSwitchOn" |
const std::string | RPC_OFF = "rpcSwitchOff" |
constexpr int | SUBSTATE_READY_OFF = 103 |
constexpr int | SUBSTATE_READY_ON = 104 |
constexpr int | SUBSTATE_OP_DISABLING = 205 |
constexpr int | SUBSTATE_OP_OFF = 206 |
constexpr int | SUBSTATE_OP_SWITCHING_OFF = 207 |
constexpr int | SUBSTATE_OP_COOLING = 208 |
constexpr int | SUBSTATE_OP_ON = 209 |
constexpr int | SUBSTATE_OP_SWITCHING_ON = 210 |
constexpr int | SUBSTATE_OP_WARMING = 211 |
constexpr auto | SUBSTATE_NOTREADY_STR = "NotReady" |
constexpr auto | SUBSTATE_READY_OFF_STR = "Ready/Off" |
constexpr auto | SUBSTATE_READY_ON_STR = "Ready/On" |
constexpr auto | SUBSTATE_OP_DISABLING_STR = "Disabling" |
constexpr auto | SUBSTATE_OP_OFF_STR = "Off" |
constexpr auto | SUBSTATE_OP_SWITCHING_OFF_STR = "Switching off" |
constexpr auto | SUBSTATE_OP_COOLING_STR = "Cooling down" |
constexpr auto | SUBSTATE_OP_ON_STR = "On" |
constexpr auto | SUBSTATE_OP_SWITCHING_ON_STR = "Switching on" |
constexpr auto | SUBSTATE_OP_WARMING_STR = "Warming up" |
const std::unordered_map < short, std::string > | SubstateMap |
const std::vector< std::string > | cfgMapping |
const std::vector< std::string > | statMapping |
const std::vector< std::string > | rpcMapping |
const std::unordered_map < short, std::string > | hw_errors |
const std::unordered_map < short, std::string > | rpc_errors |
anonymous enum |
anonymous enum |
fcf::devmgr::lamp::REGISTER_DEVICE | ( | Lamp | ) |
const std::vector<std::string> fcf::devmgr::lamp::cfgMapping |
constexpr auto fcf::devmgr::lamp::CI_ACTIVE_LOW_FAULT = "low_fault" |
constexpr auto fcf::devmgr::lamp::CI_ACTIVE_LOW_ON = "low_on" |
constexpr auto fcf::devmgr::lamp::CI_ACTIVE_LOW_SWITCH = "low_switch" |
constexpr auto fcf::devmgr::lamp::CI_ANALOG_RANGE = "analog_range" |
constexpr auto fcf::devmgr::lamp::CI_ANALOG_THRESHOLD = "analog_threshold" |
constexpr auto fcf::devmgr::lamp::CI_COOLDDOWN = "cooldown" |
constexpr auto fcf::devmgr::lamp::CI_IGNORE_FAULT = "ignore_fault" |
constexpr auto fcf::devmgr::lamp::CI_INITIAL_STATE = "initial_state" |
constexpr auto fcf::devmgr::lamp::CI_INVERT_ANALOG = "invert_analog" |
constexpr auto fcf::devmgr::lamp::CI_MAX_ON = "maxon" |
const std::string fcf::devmgr::lamp::CI_STAT_INTENSITY = "intensity" |
constexpr auto fcf::devmgr::lamp::CI_TIMEOUT = "timeout" |
constexpr auto fcf::devmgr::lamp::CI_WARMUP = "warmup" |
const std::unordered_map<short, std::string> fcf::devmgr::lamp::hw_errors |
const std::unordered_map<short, std::string> fcf::devmgr::lamp::rpc_errors |
const std::string fcf::devmgr::lamp::RPC_OFF = "rpcSwitchOff" |
const std::string fcf::devmgr::lamp::RPC_ON = "rpcSwitchOn" |
const std::vector<std::string> fcf::devmgr::lamp::rpcMapping |
const std::vector<std::string> fcf::devmgr::lamp::statMapping |
constexpr auto fcf::devmgr::lamp::SUBSTATE_NOTREADY_STR = "NotReady" |
constexpr int fcf::devmgr::lamp::SUBSTATE_OP_COOLING = 208 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_COOLING_STR = "Cooling down" |
constexpr int fcf::devmgr::lamp::SUBSTATE_OP_DISABLING = 205 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_DISABLING_STR = "Disabling" |
constexpr int fcf::devmgr::lamp::SUBSTATE_OP_OFF = 206 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_OFF_STR = "Off" |
constexpr int fcf::devmgr::lamp::SUBSTATE_OP_ON = 209 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_ON_STR = "On" |
constexpr int fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_OFF = 207 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_OFF_STR = "Switching off" |
constexpr int fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_ON = 210 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_SWITCHING_ON_STR = "Switching on" |
constexpr int fcf::devmgr::lamp::SUBSTATE_OP_WARMING = 211 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_OP_WARMING_STR = "Warming up" |
constexpr int fcf::devmgr::lamp::SUBSTATE_READY_OFF = 103 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_READY_OFF_STR = "Ready/Off" |
constexpr int fcf::devmgr::lamp::SUBSTATE_READY_ON = 104 |
constexpr auto fcf::devmgr::lamp::SUBSTATE_READY_ON_STR = "Ready/On" |
const std::unordered_map<short, std::string> fcf::devmgr::lamp::SubstateMap |