#include <actionsApp.hpp>
◆ ActionsApp() [1/2]
| hlcc::telifsim::ActionsApp::ActionsApp |
( |
rad::Application & |
appl, |
|
|
ActionMgr & |
action_mgr, |
|
|
DataContext & |
data |
|
) |
| |
Constructor.
- Parameters
-
| appl | Reference to the Application used to inject internal events. |
| action_mgr | Reference to the ActionMgr used to trigger the re-initialize notification to all ActionGroup and Activity objects when processing the Init request. |
| data | Data shared within the application among actions and activities. |
◆ ~ActionsApp()
| hlcc::telifsim::ActionsApp::~ActionsApp |
( |
| ) |
|
|
virtual |
◆ ActionsApp() [2/2]
| hlcc::telifsim::ActionsApp::ActionsApp |
( |
const ActionsApp & |
| ) |
|
|
delete |
◆ GetConfig()
| void hlcc::telifsim::ActionsApp::GetConfig |
( |
scxml4cpp::Context * |
c | ) |
|
Implementation of the GetConfig action. Overrides rad::ActionsApp::GetConfig. This action:
- retrieves the value(s) of the given configuration parameter(s) identified via the key(s). If multiple keys are provided they must be separated by one empty space.
- replies back to the originator of the GetConfig request with the retrieved values. If no key is provided, the complete application configuration is returned.
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ LoadConfig()
| void hlcc::telifsim::ActionsApp::LoadConfig |
( |
scxml4cpp::Context * |
c | ) |
|
Implementation of the LoadConfig action. Overrides rad::ActionsApp::LoadConfig. This action:
- Loads the configuration file which path is provided in the payload.
- updates the OLDB
- trigger the re-configuration notification to the others ActionGroup and Activities.
- replies back to the originator of the LoadConfig request.
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ operator=()
Disable copy constructor.
◆ SetConfig()
| void hlcc::telifsim::ActionsApp::SetConfig |
( |
scxml4cpp::Context * |
c | ) |
|
Implementation of the SetConfig action. Overrides rad::ActionsApp::SetConfig. This action:
- writes the value(s) for the given configuration parameter(s). Parameters should be provided as a yaml string containing keys and values.
- updates the OLDB
- trigger the re-configuration notification to the others ActionGroup and Activities.
- replies back to the originator of the SetConfig request.
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
The documentation for this class was generated from the following files: