#include <actionsSimCmds.hpp>
This class contains the implementation of the actions dealing with the following "Simulator" commands:
◆ ActionsSimCmds() [1/2]
| hlcc::telifsim::ActionsSimCmds::ActionsSimCmds |
( |
rad::Application & |
appl, |
|
|
ActionMgr & |
action_mgr, |
|
|
DataContext & |
data |
|
) |
| |
Constructor.
- Parameters
-
| [in] | appl | Reference to the rad-app application. |
| [in] | action_mgr | action manager |
| [in] | data | Data shared within the application among actions and activities. |
◆ ActionsSimCmds() [2/2]
| hlcc::telifsim::ActionsSimCmds::ActionsSimCmds |
( |
const ActionsSimCmds & |
| ) |
|
|
delete |
◆ Configure()
| void hlcc::telifsim::ActionsSimCmds::Configure |
( |
const std::vector< std::string > & |
keys | ) |
|
|
override |
This method allows to re-configure the member attributes of this class. It is usually invoked as consequence of an LoadConfig or SetConfig commands.
- Parameters
-
| keys | Modified parameters. Empty vector means all params have changed. |
◆ Initialize()
| void hlcc::telifsim::ActionsSimCmds::Initialize |
( |
| ) |
|
|
override |
This method allows to re-initialize the member attributes of this class. It is usually invoked as consequence of an Init command.
◆ LoadConfiguration()
| void hlcc::telifsim::ActionsSimCmds::LoadConfiguration |
( |
scxml4cpp::Context * |
c | ) |
|
Implementation of the LoadConfiguration action. This action:
- Loads the configuration from local configuration file.
- Applies command line options
- updates Oldb
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ MoveToAltAzPos()
| void hlcc::telifsim::ActionsSimCmds::MoveToAltAzPos |
( |
scxml4cpp::Context * |
c | ) |
|
Implementation of the Preset action. This action:
- receives the AltAz coordinates and sends it to pointing kernel.
- replies back for the originator of the MoveToNamedPos MoveToAltAzPos.
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ MoveToNamedPos()
| void hlcc::telifsim::ActionsSimCmds::MoveToNamedPos |
( |
scxml4cpp::Context * |
c | ) |
|
Implementation of the MoveToNamedPos action. This action:
- receives the name o telescope position, lookup in table for coorespondent AltAz and sends it to pointing kernel.
- replies back for the originator of the MoveToNamedPos command.
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ operator=()
Disable copy constructor.
◆ SetOffsetSequence()
| void hlcc::telifsim::ActionsSimCmds::SetOffsetSequence |
( |
scxml4cpp::Context * |
c | ) |
|
Implement the SetOffsetSequence action
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ SetOffsetSequenceMode()
| void hlcc::telifsim::ActionsSimCmds::SetOffsetSequenceMode |
( |
scxml4cpp::Context * |
c | ) |
|
Implement the SetOffsetMode action
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ SetPresetSequence()
| void hlcc::telifsim::ActionsSimCmds::SetPresetSequence |
( |
scxml4cpp::Context * |
c | ) |
|
Implement the SetPresetSequence action
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ SetPresetSequenceMode()
| void hlcc::telifsim::ActionsSimCmds::SetPresetSequenceMode |
( |
scxml4cpp::Context * |
c | ) |
|
Implement the SetPresetMode action
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
◆ UpdateRousTimer()
| void hlcc::telifsim::ActionsSimCmds::UpdateRousTimer |
( |
scxml4cpp::Context * |
c | ) |
|
Implementation of the UpdateRousTimer action. This action:
- receives the new time to update the Rou timer.
- replies back for the originator with success of operation.
- Parameters
-
| [in] | c | Context containing the last event received by the State Machine. |
The documentation for this class was generated from the following files: