HLCC Documentation 2.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
hlcc::telif::ActionsTelifCmds Class Reference

#include <actionsTelifCmds.hpp>

Inheritance diagram for hlcc::telif::ActionsTelifCmds:

Public Member Functions

 ActionsTelifCmds (rad::Application &appl, ActionMgr &action_mgr, DataContext &data)
 
void Initialize () override
 
void Configure (const std::vector< std::string > &keys) override
 
void MoveToNamedPos (scxml4cpp::Context *c)
 
void MoveToAltAzPos (scxml4cpp::Context *c)
 
void LoadConfiguration (scxml4cpp::Context *c)
 
void SetPresetSequenceMode (scxml4cpp::Context *c)
 
void SetPresetSequence (scxml4cpp::Context *c)
 
void SetOffsetSequenceMode (scxml4cpp::Context *c)
 
void SetOffsetSequence (scxml4cpp::Context *c)
 
void SetGuideProbe (scxml4cpp::Context *c)
 
void SetGpHierarchy (scxml4cpp::Context *c)
 
void StopGuideProbe (scxml4cpp::Context *c)
 
void StopTracking (scxml4cpp::Context *c)
 
 ActionsTelifCmds (const ActionsTelifCmds &)=delete
 
ActionsTelifCmdsoperator= (const ActionsTelifCmds &)=delete
 Disable copy constructor.
 

Detailed Description

This class contains the implementation of the actions dealing with the following "Simulator" commands:

Constructor & Destructor Documentation

◆ ActionsTelifCmds() [1/2]

hlcc::telif::ActionsTelifCmds::ActionsTelifCmds ( rad::Application & appl,
ActionMgr & action_mgr,
DataContext & data )

Constructor.

Parameters
[in]applReference to the rad-app application.
[in]action_mgraction manager
[in]dataData shared within the application among actions and activities.

◆ ActionsTelifCmds() [2/2]

hlcc::telif::ActionsTelifCmds::ActionsTelifCmds ( const ActionsTelifCmds & )
delete

Member Function Documentation

◆ Configure()

void hlcc::telif::ActionsTelifCmds::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
keysModified parameters. Empty vector means all params have changed.

◆ Initialize()

void hlcc::telif::ActionsTelifCmds::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::telif::ActionsTelifCmds::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]cContext containing the last event received by the State Machine.

◆ MoveToAltAzPos()

void hlcc::telif::ActionsTelifCmds::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]cContext containing the last event received by the State Machine.

◆ MoveToNamedPos()

void hlcc::telif::ActionsTelifCmds::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]cContext containing the last event received by the State Machine.

◆ operator=()

ActionsTelifCmds & hlcc::telif::ActionsTelifCmds::operator= ( const ActionsTelifCmds & )
delete

Disable copy constructor.

◆ SetGpHierarchy()

void hlcc::telif::ActionsTelifCmds::SetGpHierarchy ( scxml4cpp::Context * c)

Implement the SetGpHierarchy action

Parameters
[in]cContext containing the last event received by the State Machine.

◆ SetGuideProbe()

void hlcc::telif::ActionsTelifCmds::SetGuideProbe ( scxml4cpp::Context * c)

Implement the SetGuideProbe action

Parameters
[in]cContext containing the last event received by the State Machine.

◆ SetOffsetSequence()

void hlcc::telif::ActionsTelifCmds::SetOffsetSequence ( scxml4cpp::Context * c)

Implement the SetOffsetSequence action

Parameters
[in]cContext containing the last event received by the State Machine.

◆ SetOffsetSequenceMode()

void hlcc::telif::ActionsTelifCmds::SetOffsetSequenceMode ( scxml4cpp::Context * c)

Implement the SetOffsetMode action

Parameters
[in]cContext containing the last event received by the State Machine.

◆ SetPresetSequence()

void hlcc::telif::ActionsTelifCmds::SetPresetSequence ( scxml4cpp::Context * c)

Implement the SetPresetSequence action

Parameters
[in]cContext containing the last event received by the State Machine.

◆ SetPresetSequenceMode()

void hlcc::telif::ActionsTelifCmds::SetPresetSequenceMode ( scxml4cpp::Context * c)

Implement the SetPresetMode action

Parameters
[in]cContext containing the last event received by the State Machine.

◆ StopGuideProbe()

void hlcc::telif::ActionsTelifCmds::StopGuideProbe ( scxml4cpp::Context * c)

Implement the StopGuideProbe action

Parameters
[in]cContext containing the last event received by the State Machine.

◆ StopTracking()

void hlcc::telif::ActionsTelifCmds::StopTracking ( scxml4cpp::Context * c)

Implement the StopTracking action

Parameters
[in]cContext containing the last event received by the State Machine.

The documentation for this class was generated from the following files: