ifw-sup 5.0.0
|
ActionsInit class source file. More...
Classes | |
class | ActionMgr |
class | ActionsDisable |
class | ActionsEnable |
class | ActionsInit |
class | ActionsSetup |
class | ActionsStd |
class | ActivityDisabling |
class | ActivityEnabling |
class | ActivityInitialising |
class | ActivitySettingUp |
class | AppCmdsImpl |
class | Config |
class | DataContext |
class | IConfig |
struct | ReplyConfigData |
class | StdCmdsImpl |
Typedefs | |
using | DbPair = std::pair<std::string, std::any> |
using | DbVector = std::vector<DbPair> |
Functions | |
template<class EVENT_DONE , class EVENT_ERR > | |
void | EmulateEvent (const Config &config, rad::SMAdapter &sm, const std::string &cmd, rad::ThreadActivity *activity) |
Variables | |
constexpr auto | CONFIG_COMMAND_INIT = "Init" |
constexpr auto | CONFIG_COMMAND_ENABLE = "Enable" |
constexpr auto | CONFIG_COMMAND_DISABLE = "Disable" |
constexpr auto | CONFIG_COMMAND_SETUP = "Setup" |
constexpr auto | KEY_CONFIG_COMANDS = "commands" |
constexpr auto | KEY_CONFIG_CMDNAME = "name" |
constexpr auto | KEY_CONFIG_CMDTOUT = "cmdtout" |
constexpr auto | KEY_CONFIG_REPLY_TYPE = "reply_ok" |
constexpr auto | KEY_CONFIG_REPLY_DELAY = "reply_delay" |
constexpr auto | KEY_CONFIG_REPLY_ERR_MSG = "reply_error_msg" |
const short | SRV_STATE_NOT_OPERATIONAL = 1 |
const short | SRV_STATE_OPERATIONAL = 2 |
const short | SRV_SUBSTATE_NOTREADY = 1 |
const short | SRV_SUBSTATE_READY = 2 |
const short | SRV_SUBSTATE_IDLE = 3 |
const short | SRV_SUBSTATE_INITIALISING = 4 |
const short | SRV_SUBSTATE_ENABLING = 5 |
const short | SRV_SUBSTATE_SETTINGUP = 6 |
const short | SRV_SUBSTATE_ERROR = 10 |
const std::string | SRV_STATE_NOT_OPERATIONAL_STR = "NotOperational" |
const std::string | SRV_STATE_OPERATIONAL_STR = "Operational" |
const std::string | SRV_STATE_UNAVAILABLE_STR = "Unavailable" |
const std::string | SRV_SUBSTATE_NOTREADY_STR = "NotReady" |
const std::string | SRV_SUBSTATE_READY_STR = "Ready" |
const std::string | SRV_SUBSTATE_IDLE_STR = "Idle" |
const std::string | SRV_SUBSTATE_INITIALISING_STR = "Initialising" |
const std::string | SRV_SUBSTATE_ENABLING_STR = "Enabling" |
const std::string | SRV_SUBSTATE_SETTINGUP_STR = "SettingUp" |
const std::string | SRV_SUBSTATE_ERROR_STR = "Error" |
const std::unordered_map< short, std::string > | SrvStateMap |
const std::unordered_map< std::string, short > | SrvStateStrMap |
const std::unordered_map< short, std::string > | SrvSubstateMap |
const std::unordered_map< std::string, short > | SrvSubstateStrMap |
ActionsInit class source file.
using ifw::sup::subsim::common::DbPair = std::pair<std::string, std::any> |
using ifw::sup::subsim::common::DbVector = std::vector<DbPair> |
void ifw::sup::subsim::common::EmulateEvent | ( | const Config & | config, |
rad::SMAdapter & | sm, | ||
const std::string & | cmd, | ||
rad::ThreadActivity * | activity ) |
|
constexpr |
|
constexpr |
|
constexpr |
Default application configuration values.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Application configuration values.
|
constexpr |
|
constexpr |
|
constexpr |
const short ifw::sup::subsim::common::SRV_STATE_NOT_OPERATIONAL = 1 |
const std::string ifw::sup::subsim::common::SRV_STATE_NOT_OPERATIONAL_STR = "NotOperational" |
const short ifw::sup::subsim::common::SRV_STATE_OPERATIONAL = 2 |
const std::string ifw::sup::subsim::common::SRV_STATE_OPERATIONAL_STR = "Operational" |
const std::string ifw::sup::subsim::common::SRV_STATE_UNAVAILABLE_STR = "Unavailable" |
const short ifw::sup::subsim::common::SRV_SUBSTATE_ENABLING = 5 |
const std::string ifw::sup::subsim::common::SRV_SUBSTATE_ENABLING_STR = "Enabling" |
const short ifw::sup::subsim::common::SRV_SUBSTATE_ERROR = 10 |
const std::string ifw::sup::subsim::common::SRV_SUBSTATE_ERROR_STR = "Error" |
const short ifw::sup::subsim::common::SRV_SUBSTATE_IDLE = 3 |
const std::string ifw::sup::subsim::common::SRV_SUBSTATE_IDLE_STR = "Idle" |
const short ifw::sup::subsim::common::SRV_SUBSTATE_INITIALISING = 4 |
const std::string ifw::sup::subsim::common::SRV_SUBSTATE_INITIALISING_STR = "Initialising" |
const short ifw::sup::subsim::common::SRV_SUBSTATE_NOTREADY = 1 |
const std::string ifw::sup::subsim::common::SRV_SUBSTATE_NOTREADY_STR = "NotReady" |
const short ifw::sup::subsim::common::SRV_SUBSTATE_READY = 2 |
const std::string ifw::sup::subsim::common::SRV_SUBSTATE_READY_STR = "Ready" |
const short ifw::sup::subsim::common::SRV_SUBSTATE_SETTINGUP = 6 |
const std::string ifw::sup::subsim::common::SRV_SUBSTATE_SETTINGUP_STR = "SettingUp" |
const std::unordered_map<short, std::string> ifw::sup::subsim::common::SrvStateMap |
const std::unordered_map<std::string, short> ifw::sup::subsim::common::SrvStateStrMap |
const std::unordered_map<short, std::string> ifw::sup::subsim::common::SrvSubstateMap |
const std::unordered_map<std::string, short> ifw::sup::subsim::common::SrvSubstateStrMap |