10 #ifndef FCF_DEVMGR_DEVICE_SHUTTER_CONFIG_HPP
11 #define FCF_DEVMGR_DEVICE_SHUTTER_CONFIG_HPP
17 #include <yaml-cpp/yaml.h>
19 #include <fcf/common/iComm.hpp>
26 namespace fcf::devmgr::shutter {
137 const std::string name);
149 #endif //FCF_DEVMGR_DEVICE_SHUTTER_CONFIG_HPP
constexpr auto CI_STAT_LOCAL
Definition: deviceConfig.hpp:53
constexpr auto CI_ACTIVE_LOW_CLOSED
Definition: shutterConfig.hpp:29
LampRpcErrors header file.
constexpr auto SUBSTATE_OP_OPEN_STR
Definition: shutterConfig.hpp:66
constexpr auto RPC_INIT
Definition: deviceConfig.hpp:43
constexpr bool DEFAULT_ACTIVE_LOW_CLOSE
Definition: shutterConfig.hpp:39
const std::vector< std::string > statMapping
Definition: shutterConfig.hpp:89
constexpr int SUBSTATE_INITIALISING
Definition: deviceConfig.hpp:84
constexpr auto SUBSTATE_NOTREADY_STR
Definition: deviceConfig.hpp:87
Definition: shutterConfig.hpp:120
constexpr bool DEFAULT_INITIAL_STATE
Definition: shutterConfig.hpp:46
constexpr short SUBSTATE_OP_OPENING
Definition: shutterConfig.hpp:60
Definition: shutterConfig.hpp:118
constexpr auto SUBSTATE_OP_DISABLING_STR
Definition: deviceConfig.hpp:95
Definition: shutterConfig.hpp:123
Definition: shutterConfig.hpp:125
Definition: shutterConfig.hpp:117
constexpr auto CI_IGNORE_FAULT
Definition: shutterConfig.hpp:34
constexpr auto CI_ACTIVE_LOW_SWITCH
Definition: shutterConfig.hpp:32
constexpr auto CI_ACTIVE_LOW_OPEN
Definition: shutterConfig.hpp:31
ShutterHwErrors header file.
constexpr auto CI_STAT_SUBSTATE
Definition: deviceConfig.hpp:50
constexpr auto RPC_DISABLE
Definition: deviceConfig.hpp:45
constexpr short SUBSTATE_OP_OPEN
Definition: shutterConfig.hpp:59
constexpr auto CI_IGNORE_OPEN
Definition: shutterConfig.hpp:35
constexpr int SUBSTATE_OP_DISABLING
Definition: deviceConfig.hpp:92
constexpr bool DEFAULT_IGNORE_FAULT
Definition: shutterConfig.hpp:44
constexpr auto SUBSTATE_OP_CLOSING_STR
Definition: shutterConfig.hpp:65
const std::vector< std::string > cfgMapping
Definition: shutterConfig.hpp:84
Definition: shutterConfig.hpp:126
constexpr auto SUBSTATE_READY_CLOSE_STR
Definition: shutterConfig.hpp:62
Definition: shutterConfig.hpp:122
constexpr bool DEFAULT_ACTIVE_LOW_SWITCH
Definition: shutterConfig.hpp:42
constexpr short SUBSTATE_READY_CLOSE
Definition: shutterConfig.hpp:55
Definition: shutterConfig.hpp:119
virtual ~ShutterConfig()
ShutterConfig destructor.
Definition: shutterConfig.cpp:63
configSet class header file.
constexpr auto RPC_CLOSE
Definition: shutterConfig.hpp:51
constexpr auto RPC_STOP
Definition: deviceConfig.hpp:46
Definition: shutterConfig.hpp:121
constexpr auto CI_ACTIVE_LOW_FAULT
Definition: shutterConfig.hpp:30
constexpr auto CI_STAT_STATE
Definition: deviceConfig.hpp:51
constexpr int SUBSTATE_NOTREADY
Definition: deviceConfig.hpp:82
Definition: shutterConfig.hpp:124
Shutter Configuration class.
Definition: shutterConfig.hpp:113
const std::vector< std::string > rpcMapping
Definition: shutterConfig.hpp:96
DataContext class header file.
constexpr auto SUBSTATE_OP_ERROR_STR
Definition: deviceConfig.hpp:96
constexpr unsigned int DEFAULT_TIMEOUT
Definition: shutterConfig.hpp:47
constexpr bool DEFAULT_IGNORE_CLOSED
Definition: shutterConfig.hpp:43
constexpr auto SUBSTATE_INITIALISING_STR
Definition: deviceConfig.hpp:88
constexpr short SUBSTATE_OP_CLOSE
Definition: shutterConfig.hpp:57
constexpr int SUBSTATE_OP_ERROR
Definition: deviceConfig.hpp:93
const std::unordered_map< short, std::string > SubstateMap
Definition: shutterConfig.hpp:70
constexpr bool DEFAULT_IGNORE_OPEN
Definition: shutterConfig.hpp:45
constexpr auto CI_TIMEOUT
Definition: shutterConfig.hpp:37
constexpr auto RPC_RESET
Definition: deviceConfig.hpp:47
Device Configuration class.
Definition: deviceConfig.hpp:125
constexpr auto SUBSTATE_READY_OPEN_STR
Definition: shutterConfig.hpp:63
constexpr auto RPC_OPEN
Definition: shutterConfig.hpp:50
constexpr bool DEFAULT_ACTIVE_LOW_FAULT
Definition: shutterConfig.hpp:40
constexpr auto CI_STAT_ERROR_CODE
Definition: deviceConfig.hpp:54
constexpr auto CI_INITIAL_STATE
Definition: shutterConfig.hpp:36
constexpr int SUBSTATE_ERROR
Definition: deviceConfig.hpp:85
constexpr bool DEFAULT_ACTIVE_LOW_OPEN
Definition: shutterConfig.hpp:41
constexpr short SUBSTATE_OP_CLOSING
Definition: shutterConfig.hpp:58
constexpr auto SUBSTATE_OP_OPENING_STR
Definition: shutterConfig.hpp:67
ShutterConfig(const std::string filename, const std::string name)
MotorConfig constructor.
Definition: shutterConfig.cpp:25
constexpr auto CI_IGNORE_CLOSED
Definition: shutterConfig.hpp:33
constexpr auto RPC_ENABLE
Definition: deviceConfig.hpp:44
DeviceConfig class header file.
constexpr short SUBSTATE_READY_OPEN
Definition: shutterConfig.hpp:56
constexpr auto SUBSTATE_ERROR_STR
Definition: deviceConfig.hpp:90
constexpr auto SUBSTATE_OP_CLOSE_STR
Definition: shutterConfig.hpp:64