|
HLCC Documentation 2.2.0
|
#include <actionsCommands.hpp>
Public Member Functions | |
| ActionsCommands (rad::Application &sm, ActionMgr &action_mgr, DataContext &data) | |
| void | Initialize () override |
| void | Configure (const std::vector< std::string > &keys) override |
| void | StopInit (scxml4cpp::Context *c) |
| void | MovingTo (scxml4cpp::Context *c) |
| void | StopMoving (scxml4cpp::Context *c) |
| void | Preset (scxml4cpp::Context *c) |
| void | SkyOffset (scxml4cpp::Context *c) |
| void | SetObservingWavelength (scxml4cpp::Context *c) |
| void | StopTracking (scxml4cpp::Context *c) |
| void | LoadConfiguration (scxml4cpp::Context *c) |
| ActionsCommands (const ActionsCommands &)=delete | |
| ActionsCommands & | operator= (const ActionsCommands &)=delete |
| Disable copy constructor. | |
This class contains the implementation of the actions to initialize and configure (with boilerplate code implemented by RAD), and all actions dealing with the "non-standard" commands (events created in commandsImpl.hpp):
| hlcc::eltpk::ActionsCommands::ActionsCommands | ( | rad::Application & | sm, |
| ActionMgr & | action_mgr, | ||
| DataContext & | data ) |
Constructor.
| [in] | sm | Reference to the SM Adapter used to inject internal events. |
| [in] | action_mgr | Reference to the ActionMgr |
| [in] | data | Data shared within the application among actions and activities. |
|
delete |
Method invoked when SetConfig or LoadConfig command is received to re-configure the actions class attributes.
| keys | Modified parameters. Empty vector means all params have changed. |
|
override |
Method invoked when Init command is received to re-initialize the actions class attributes.
| void hlcc::eltpk::ActionsCommands::LoadConfiguration | ( | scxml4cpp::Context * | c | ) |
Implementation of the LoadConfiguration action. This action:
| [in] | c | Context containing the last event received by the State Machine. |
| void hlcc::eltpk::ActionsCommands::MovingTo | ( | scxml4cpp::Context * | c | ) |
Implementation of the MovingTo action. This action:
| [in] | c | Context containing the last event received by the State Machine. |
|
delete |
Disable copy constructor.
| void hlcc::eltpk::ActionsCommands::Preset | ( | scxml4cpp::Context * | c | ) |
Implementation of the Preset action. This action:
| [in] | c | Context containing the last event received by the State Machine. |
| void hlcc::eltpk::ActionsCommands::SetObservingWavelength | ( | scxml4cpp::Context * | c | ) |
Implementation of the SetObservingWavelength action. This action:
| [in] | c | Context containing the last event received by the State Machine. |
| void hlcc::eltpk::ActionsCommands::SkyOffset | ( | scxml4cpp::Context * | c | ) |
| void hlcc::eltpk::ActionsCommands::StopInit | ( | scxml4cpp::Context * | c | ) |
Implementation of the ActionsInit.Stop action. This action:
| [in] | c | Context containing the last event received by the State Machine. |
| void hlcc::eltpk::ActionsCommands::StopMoving | ( | scxml4cpp::Context * | c | ) |
Impl of SM ActionsStopMoving, which is called when EventsStd.Stop event is sent in any of the On::Operational states.
| void hlcc::eltpk::ActionsCommands::StopTracking | ( | scxml4cpp::Context * | c | ) |
Implementation of the StopTracking action. This action forwards the call to LSV MS.
| [in] | c | Context containing the last event received by the State Machine. |