|
HLCC Documentation 2.2.0
|
#include <dataAcquisition.hpp>
Public Types | |
| enum | DaqCmds { DC_START , DC_STOP , DC_ABORT } |
Public Member Functions | |
| DataAcquisition (OldbInterface &oldbif, const std::string &id) | |
| virtual | ~DataAcquisition () |
| bool | ProcessCommand (DaqCmds command) |
| const std::string & | GetId () const |
| const metadaqif::DaqState & | GetState () const |
| std::string | GetStateStr () const |
| const std::string & | GetMessage () const |
| const std::vector< std::string > & | GetFiles () const |
| std::string | GetKeywords () |
| uint64_t | GetTimestamp () const |
| DataAcquisition ()=delete | |
| DataAcquisition (const DataAcquisition &)=delete | |
| Disable default constructo. | |
| DataAcquisition & | operator= (const DataAcquisition &)=delete |
| Disable copy constructor. | |
This class contains the implementation of data acquisition state machine.
| hlcc::telif::DataAcquisition::DataAcquisition | ( | OldbInterface & | oldbif, |
| const std::string & | id ) |
Constructor.
| [in] | oldbif | oldbinterface. |
| [in] | id | String identifier to start a new aquisition. |
|
virtual |
Destructor.
|
delete |
|
delete |
Disable default constructo.
| const std::vector< std::string > & hlcc::telif::DataAcquisition::GetFiles | ( | ) | const |
Files getter.
| const std::string & hlcc::telif::DataAcquisition::GetId | ( | ) | const |
Id getter.
| std::string hlcc::telif::DataAcquisition::GetKeywords | ( | ) |
Keywords getter.
| const std::string & hlcc::telif::DataAcquisition::GetMessage | ( | ) | const |
Message getter.
| const metadaqif::DaqState & hlcc::telif::DataAcquisition::GetState | ( | ) | const |
State machine getter.
| std::string hlcc::telif::DataAcquisition::GetStateStr | ( | ) | const |
State machine state text converter.
| uint64_t hlcc::telif::DataAcquisition::GetTimestamp | ( | ) | const |
Keywords getter.
|
delete |
Disable copy constructor.
| bool hlcc::telif::DataAcquisition::ProcessCommand | ( | DaqCmds | command | ) |
Receives a command to be processed Prone to cause change of state.
| [in] | command | to be processed. |