#include <appCmdsImpl.hpp>
This class realizes the CII/MAL ELT Standard Interface.
◆ AppCmdsImpl()
Constructor.
- Parameters
-
sm | Reference to a State Machine adapter used to inject events. |
◆ ~AppCmdsImpl()
rad::AppCmdsImpl::~AppCmdsImpl |
( |
| ) |
|
|
virtual |
◆ GetConfig()
elt::mal::future< std::string > rad::AppCmdsImpl::GetConfig |
( |
const std::string & | p | ) |
|
|
overridevirtual |
Handler for the GetConfig request. It injects EventsApp::GetConfig event into the State Machine.
- Parameters
-
p | List of keys of the configuration parameters. |
◆ GetStateMachine()
elt::mal::future< std::string > rad::AppCmdsImpl::GetStateMachine |
( |
| ) |
|
|
overridevirtual |
- Returns
- The currently loaded state machine model in text format.
◆ GetTrsHealth()
elt::mal::future< std::string > rad::AppCmdsImpl::GetTrsHealth |
( |
| ) |
|
|
overridevirtual |
Handler for the GetTrsHealth request. It injects EventsApp::GetTrsHealth event into the State Machine.
◆ LoadConfig()
elt::mal::future< std::string > rad::AppCmdsImpl::LoadConfig |
( |
const std::string & | p | ) |
|
|
overridevirtual |
Handler for the LoadConfig request. It injects EventsApp::LoadConfig event into the State Machine.
- Parameters
-
◆ LoadStateMachine()
elt::mal::future< std::string > rad::AppCmdsImpl::LoadStateMachine |
( |
const std::string & | p | ) |
|
|
overridevirtual |
Handler for the LoadStateMachine request. It loads a new State Machine model from file. If the loading fails, the old one is restored.
- Parameters
-
p | State Machine model filename. |
◆ LoadStateMachineExtension()
elt::mal::future< std::string > rad::AppCmdsImpl::LoadStateMachineExtension |
( |
const std::string & | p | ) |
|
|
overridevirtual |
Handler for the LoadStateMachineExtension request. It loads a State Machine model extension from file and merge it with the State Machine model in memory. If the loading fails, the extension is not merged.
- Parameters
-
p | State Machine model extension filename. |
◆ SaveConfig()
elt::mal::future< std::string > rad::AppCmdsImpl::SaveConfig |
( |
const std::string & | p | ) |
|
|
overridevirtual |
Handler for the SaveConfig request. It injects EventsApp::SaveConfig event into the State Machine.
- Parameters
-
◆ SaveStateMachine()
elt::mal::future< std::string > rad::AppCmdsImpl::SaveStateMachine |
( |
const std::string & | p | ) |
|
|
overridevirtual |
Handler for the SaveStateMachine request. It save the currently loaded State Machine model to file.
- Parameters
-
p | State Machine model filename. |
◆ SetConfig()
elt::mal::future< std::string > rad::AppCmdsImpl::SetConfig |
( |
const std::string & | p | ) |
|
|
overridevirtual |
Handler for the SetConfig request. It injects EventsApp::SetConfig event into the State Machine.
- Parameters
-
p | List of keys and values for the configuration parameters. |
The documentation for this class was generated from the following files: