rad 6.2.0
|
#include <actionsStd.hpp>
Public Member Functions | |
ActionsStd (Application &appl, ConfigurableActionMgr &action_mgr, DataContext &data) | |
virtual | ~ActionsStd () |
void | Initialize () override |
void | Configure (const std::vector< std::string > &keys) override |
void | GetState (scxml4cpp::Context *c) |
void | GetStatus (scxml4cpp::Context *c) |
void | GetVersion (scxml4cpp::Context *c) |
void | Stop (scxml4cpp::Context *c) |
void | Init (scxml4cpp::Context *c) |
void | Enable (scxml4cpp::Context *c) |
void | Disable (scxml4cpp::Context *c) |
void | Reset (scxml4cpp::Context *c) |
void | SetLogLevel (scxml4cpp::Context *c) |
void | GetLogLevel (scxml4cpp::Context *c) |
void | Exit (scxml4cpp::Context *c) |
ActionsStd (const ActionsStd &)=delete | |
ActionsStd & | operator= (const ActionsStd &)=delete |
Disable copy constructor. | |
![]() | |
ConfigurableActionGroup (const std::string &id) | |
virtual | ~ConfigurableActionGroup () |
ConfigurableActionGroup (const ConfigurableActionGroup &)=delete | |
ConfigurableActionGroup & | operator= (const ConfigurableActionGroup &)=delete |
Disable copy constructor. | |
![]() | |
ActionGroup (const std::string &id) | |
virtual | ~ActionGroup () |
const std::string & | GetId () const |
void | SetId (const std::string &id) |
ActionGroup (const ActionGroup &)=delete | |
ActionGroup & | operator= (const ActionGroup &)=delete |
Disable copy constructor. | |
This class contains the implementation of the actions dealing with:
rad::ActionsStd::ActionsStd | ( | Application & | appl, |
ConfigurableActionMgr & | action_mgr, | ||
DataContext & | data ) |
Constructor.
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. |
|
virtual |
|
delete |
|
overridevirtual |
Method invoked when SetConfig or LoadConfig command is received to re-configure this class attributes.
keys | Modified parameters. Empty vector means all params have changed. |
Implements rad::ConfigurableActionGroup.
void rad::ActionsStd::Disable | ( | scxml4cpp::Context * | c | ) |
Implementation of the Disable action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::Enable | ( | scxml4cpp::Context * | c | ) |
Implementation of the Enable action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::Exit | ( | scxml4cpp::Context * | c | ) |
Implementation of the Exit action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::GetLogLevel | ( | scxml4cpp::Context * | c | ) |
Implementation of the GetLogLevel action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::GetState | ( | scxml4cpp::Context * | c | ) |
Implementation of the GetState action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::GetStatus | ( | scxml4cpp::Context * | c | ) |
Implementation of the GetStatus action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::GetVersion | ( | scxml4cpp::Context * | c | ) |
Implementation of the GetVersion action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::Init | ( | scxml4cpp::Context * | c | ) |
Implementation of the Init action. This action:
[in] | c | Context containing the last event received by the State Machine. |
|
overridevirtual |
Method invoked when Init command is received to re-initialize this class attributes.
Implements rad::ConfigurableActionGroup.
|
delete |
Disable copy constructor.
void rad::ActionsStd::Reset | ( | scxml4cpp::Context * | c | ) |
Implementation of the Reset action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::SetLogLevel | ( | scxml4cpp::Context * | c | ) |
Implementation of the SetLogLevel action. This action:
[in] | c | Context containing the last event received by the State Machine. |
void rad::ActionsStd::Stop | ( | scxml4cpp::Context * | c | ) |
Implementation of the Stop action. This action:
[in] | c | Context containing the last event received by the State Machine. |