#include <actionsMetadaqCmds.hpp>
This class contains the implementation of the actions dealing with the following "Metadaq" commands:
◆ ActionsMetadaqCmds() [1/2]
| hlcc::telif::ActionsMetadaqCmds::ActionsMetadaqCmds |
( |
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. |
◆ ActionsMetadaqCmds() [2/2]
◆ 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] | c | Context containing the last event received by the State Machine. |
- Exceptions
-
| DaqException | if 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
-
| keys | Modified 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] | c | Context containing the last event received by the State Machine. |
- Exceptions
-
| DaqException | if 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=()
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] | c | Context containing the last event received by the State Machine. |
- Exceptions
-
| DaqException | if 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] | c | Context containing the last event received by the State Machine. |
- Exceptions
-
| DaqException | if 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: