|
template<class EVENT_DONE , class EVENT_ERR > |
void | EmulateEvent (const Config &config, rad::SMAdapter &sm, const std::string cmd, rad::ThreadActivity *activity) |
|
◆ DbPair
◆ DbVector
◆ EmulateEvent()
template<class EVENT_DONE , class EVENT_ERR >
void sup::subsim::common::EmulateEvent |
( |
const Config & |
config, |
|
|
rad::SMAdapter & |
sm, |
|
|
const std::string |
cmd, |
|
|
rad::ThreadActivity * |
activity |
|
) |
| |
◆ CONFIG_COMMAND_DISABLE
constexpr auto sup::subsim::common::CONFIG_COMMAND_DISABLE = "Disable" |
|
constexpr |
◆ CONFIG_COMMAND_ENABLE
constexpr auto sup::subsim::common::CONFIG_COMMAND_ENABLE = "Enable" |
|
constexpr |
◆ CONFIG_COMMAND_INIT
constexpr auto sup::subsim::common::CONFIG_COMMAND_INIT = "Init" |
|
constexpr |
Default application configuration values.
◆ CONFIG_COMMAND_SETUP
constexpr auto sup::subsim::common::CONFIG_COMMAND_SETUP = "Setup" |
|
constexpr |
◆ KEY_CONFIG_CMDNAME
constexpr auto sup::subsim::common::KEY_CONFIG_CMDNAME = "name" |
|
constexpr |
◆ KEY_CONFIG_CMDTOUT
constexpr auto sup::subsim::common::KEY_CONFIG_CMDTOUT = "cmdtout" |
|
constexpr |
◆ KEY_CONFIG_COMANDS
constexpr auto sup::subsim::common::KEY_CONFIG_COMANDS = "commands" |
|
constexpr |
Application configuration values.
◆ KEY_CONFIG_REPLY_DELAY
constexpr auto sup::subsim::common::KEY_CONFIG_REPLY_DELAY = "reply_delay" |
|
constexpr |
◆ KEY_CONFIG_REPLY_ERR_MSG
constexpr auto sup::subsim::common::KEY_CONFIG_REPLY_ERR_MSG = "reply_error_msg" |
|
constexpr |
◆ KEY_CONFIG_REPLY_TYPE
constexpr auto sup::subsim::common::KEY_CONFIG_REPLY_TYPE = "reply_ok" |
|
constexpr |
◆ SRV_STATE_NOT_OPERATIONAL
const short sup::subsim::common::SRV_STATE_NOT_OPERATIONAL = 1 |
◆ SRV_STATE_NOT_OPERATIONAL_STR
const std::string sup::subsim::common::SRV_STATE_NOT_OPERATIONAL_STR = "NotOperational" |
◆ SRV_STATE_OPERATIONAL
const short sup::subsim::common::SRV_STATE_OPERATIONAL = 2 |
◆ SRV_STATE_OPERATIONAL_STR
const std::string sup::subsim::common::SRV_STATE_OPERATIONAL_STR = "Operational" |
◆ SRV_STATE_UNAVAILABLE_STR
const std::string sup::subsim::common::SRV_STATE_UNAVAILABLE_STR = "Unavailable" |
◆ SRV_SUBSTATE_ENABLING
const short sup::subsim::common::SRV_SUBSTATE_ENABLING = 5 |
◆ SRV_SUBSTATE_ENABLING_STR
const std::string sup::subsim::common::SRV_SUBSTATE_ENABLING_STR = "Enabling" |
◆ SRV_SUBSTATE_ERROR
const short sup::subsim::common::SRV_SUBSTATE_ERROR = 10 |
◆ SRV_SUBSTATE_ERROR_STR
const std::string sup::subsim::common::SRV_SUBSTATE_ERROR_STR = "Error" |
◆ SRV_SUBSTATE_IDLE
const short sup::subsim::common::SRV_SUBSTATE_IDLE = 3 |
◆ SRV_SUBSTATE_IDLE_STR
const std::string sup::subsim::common::SRV_SUBSTATE_IDLE_STR = "Idle" |
◆ SRV_SUBSTATE_INITIALISING
const short sup::subsim::common::SRV_SUBSTATE_INITIALISING = 4 |
◆ SRV_SUBSTATE_INITIALISING_STR
const std::string sup::subsim::common::SRV_SUBSTATE_INITIALISING_STR = "Initialising" |
◆ SRV_SUBSTATE_NOTREADY
const short sup::subsim::common::SRV_SUBSTATE_NOTREADY = 1 |
◆ SRV_SUBSTATE_NOTREADY_STR
const std::string sup::subsim::common::SRV_SUBSTATE_NOTREADY_STR = "NotReady" |
◆ SRV_SUBSTATE_READY
const short sup::subsim::common::SRV_SUBSTATE_READY = 2 |
◆ SRV_SUBSTATE_READY_STR
const std::string sup::subsim::common::SRV_SUBSTATE_READY_STR = "Ready" |
◆ SRV_SUBSTATE_SETTINGUP
const short sup::subsim::common::SRV_SUBSTATE_SETTINGUP = 6 |
◆ SRV_SUBSTATE_SETTINGUP_STR
const std::string sup::subsim::common::SRV_SUBSTATE_SETTINGUP_STR = "SettingUp" |
◆ SrvStateMap
const std::unordered_map<short, std::string> sup::subsim::common::SrvStateMap |
◆ SrvStateStrMap
const std::unordered_map<std::string, short> sup::subsim::common::SrvStateStrMap |
◆ SrvSubstateMap
const std::unordered_map<short, std::string> sup::subsim::common::SrvSubstateMap |
◆ SrvSubstateStrMap
const std::unordered_map<std::string, short> sup::subsim::common::SrvSubstateStrMap |
const std::string SRV_SUBSTATE_SETTINGUP_STR
Definition: dataContext.hpp:49
const short SRV_SUBSTATE_ENABLING
Definition: dataContext.hpp:36
const short SRV_SUBSTATE_SETTINGUP
Definition: dataContext.hpp:37
const std::string SRV_SUBSTATE_IDLE_STR
Definition: dataContext.hpp:46
const std::string SRV_SUBSTATE_READY_STR
Definition: dataContext.hpp:45
const short SRV_SUBSTATE_ERROR
Definition: dataContext.hpp:38
const std::string SRV_STATE_NOT_OPERATIONAL_STR
Definition: dataContext.hpp:40
const std::string SRV_SUBSTATE_ENABLING_STR
Definition: dataContext.hpp:48
const short SRV_STATE_NOT_OPERATIONAL
Definition: dataContext.hpp:28
const std::string SRV_STATE_OPERATIONAL_STR
Definition: dataContext.hpp:41
const std::string SRV_SUBSTATE_ERROR_STR
Definition: dataContext.hpp:50
const short SRV_SUBSTATE_IDLE
Definition: dataContext.hpp:34
const std::string SRV_SUBSTATE_INITIALISING_STR
Definition: dataContext.hpp:47
const short SRV_SUBSTATE_NOTREADY
Definition: dataContext.hpp:32
const short SRV_SUBSTATE_INITIALISING
Definition: dataContext.hpp:35
const short SRV_SUBSTATE_READY
Definition: dataContext.hpp:33
const short SRV_STATE_OPERATIONAL
Definition: dataContext.hpp:29
const std::string SRV_SUBSTATE_NOTREADY_STR
Definition: dataContext.hpp:44