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

#include <actionsMetadaqCmds.hpp>

Inheritance diagram for hlcc::telif::ActionsMetadaqCmds:

Public Member Functions

 ActionsMetadaqCmds (rad::Application &appl, ActionMgr &action_mgr, DataContext &data)
 
void Initialize () override
 
void Configure (const std::vector< std::string > &keys) override
 
void StartDaq (scxml4cpp::Context *c)
 
void StopDaq (scxml4cpp::Context *c)
 
void AbortDaq (scxml4cpp::Context *c)
 
void GetDaqStatus (scxml4cpp::Context *c)
 
 ActionsMetadaqCmds (const ActionsMetadaqCmds &)=delete
 
ActionsMetadaqCmdsoperator= (const ActionsMetadaqCmds &)=delete
 Disable copy constructor.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ActionsMetadaqCmds() [1/2]

hlcc::telif::ActionsMetadaqCmds::ActionsMetadaqCmds ( 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.

◆ ActionsMetadaqCmds() [2/2]

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

Member Function Documentation

◆ AbortDaq()

void hlcc::telif::ActionsMetadaqCmds::AbortDaq ( scxml4cpp::Context * c)

Implementation of the AbortDaq action. This action:

  • Aborts data acquisition, identified by argument id.
  • replies back for the originator of the AbortDaq command.
Parameters
[in]cContext containing the last event received by the State Machine.
Exceptions
DaqExceptionif data acquisition with id does not already exist.
Postcondition
Data acquisition is aborted and data is discarded.
Component is ready to start a new data acquisition with StartDaq.

◆ Configure()

void hlcc::telif::ActionsMetadaqCmds::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.

◆ GetDaqStatus()

void hlcc::telif::ActionsMetadaqCmds::GetDaqStatus ( scxml4cpp::Context * c)

Implementation of the GetDaqStatus action. This action:

  • Get status of a specific data acquisition, identified by argument id.
  • replies back for the originator of the GetDaqStatus command.
Parameters
[in]cContext containing the last event received by the State Machine.
Exceptions
DaqExceptionif data acquisition with id does not exist or has been forgotten.

◆ Initialize()

void hlcc::telif::ActionsMetadaqCmds::Initialize ( )
override

This method allows to re-initialize the member attributes of this class. It is usually invoked as consequence of an Init command.

◆ operator=()

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

Disable copy constructor.

◆ StartDaq()

void hlcc::telif::ActionsMetadaqCmds::StartDaq ( scxml4cpp::Context * c)

Implementation of the StartDaq action. This action:

  • Start new data acquisition, identified by argument id.
  • replies back for the originator of the StartDaq command.
Parameters
[in]cContext containing the last event received by the State Machine.
Exceptions
DaqExceptionif data acquisition with id does not already exist.
Postcondition
Data acquisition is started.

◆ StopDaq()

void hlcc::telif::ActionsMetadaqCmds::StopDaq ( scxml4cpp::Context * c)

Implementation of the StopDaq action. This action:

  • Stops data acquisition, identified by argument id.
  • replies back for the originator of the StopDaq command.
Parameters
[in]cContext containing the last event received by the State Machine.
Exceptions
DaqExceptionif data acquisition with id does not already exist.
Postcondition
Data acquisition is stopped and output files have been written to persistent storage.
Component is ready to start a new data acquisition with StartDaq.

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