DataLoggerApp is an artdaq::Commandable derived class which controls the DataLoggerCore. More...
#include <artdaq/Application/DataLoggerApp.hh>
Public Member Functions | |
DataLoggerApp (int rank, std::string name) | |
DataLoggerApp Constructor. | |
DataLoggerApp (DataLoggerApp const &) | |
Copy Constructor is Deleted. | |
virtual | ~DataLoggerApp () |
Default virtual destructor. | |
DataLoggerApp & | operator= (DataLoggerApp const &) |
Copy Assignment operator is Deleted. | |
bool | do_initialize (fhicl::ParameterSet const &pset, uint64_t, uint64_t) override |
Initialize the DataLoggerCore. | |
bool | do_start (art::RunID id, uint64_t, uint64_t) override |
Start the DataLoggerCore. | |
bool | do_stop (uint64_t, uint64_t) override |
Stop the DataLoggerCore. | |
bool | do_pause (uint64_t, uint64_t) override |
Pause the DataLoggerCore. | |
bool | do_resume (uint64_t, uint64_t) override |
Resume the DataLoggerCore. | |
bool | do_shutdown (uint64_t) override |
Shutdown the DataLoggerCore. | |
bool | do_soft_initialize (fhicl::ParameterSet const &, uint64_t, uint64_t) override |
Soft-initialize the DataLoggerCore. No-Op. | |
bool | do_reinitialize (fhicl::ParameterSet const &, uint64_t, uint64_t) override |
Reinitialize the DataLoggerCore. No-Op. | |
std::string | report (std::string const &which) const override |
If which is "transition_status", report the status of the last transition. Otherwise pass through to DataLoggerCore. |
DataLoggerApp is an artdaq::Commandable derived class which controls the DataLoggerCore.
Definition at line 17 of file DataLoggerApp.hh.
artdaq::DataLoggerApp::DataLoggerApp | ( | int | rank, | |
std::string | name | |||
) |
DataLoggerApp Constructor.
rank | The rank of the DataLogger | |
name | The nickname of the DataLogger |
Definition at line 7 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_initialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Initialize the DataLoggerCore.
pset | ParameterSet used to initialize the DataLoggerCore |
Reimplemented from artdaq::Commandable.
Definition at line 16 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_pause | ( | uint64_t | , | |
uint64_t | ||||
) | [override, virtual] |
Pause the DataLoggerCore.
Reimplemented from artdaq::Commandable.
Definition at line 65 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_reinitialize | ( | fhicl::ParameterSet const & | , | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Reinitialize the DataLoggerCore. No-Op.
Reimplemented from artdaq::Commandable.
Definition at line 109 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_resume | ( | uint64_t | , | |
uint64_t | ||||
) | [override, virtual] |
Resume the DataLoggerCore.
Reimplemented from artdaq::Commandable.
Definition at line 78 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_shutdown | ( | uint64_t | ) | [override, virtual] |
Shutdown the DataLoggerCore.
Reimplemented from artdaq::Commandable.
Definition at line 91 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_soft_initialize | ( | fhicl::ParameterSet const & | , | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Soft-initialize the DataLoggerCore. No-Op.
Reimplemented from artdaq::Commandable.
Definition at line 104 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_start | ( | art::RunID | id, | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Start the DataLoggerCore.
id | Run number of the new run |
Reimplemented from artdaq::Commandable.
Definition at line 36 of file DataLoggerApp.cc.
bool artdaq::DataLoggerApp::do_stop | ( | uint64_t | , | |
uint64_t | ||||
) | [override, virtual] |
Stop the DataLoggerCore.
Reimplemented from artdaq::Commandable.
Definition at line 52 of file DataLoggerApp.cc.
DataLoggerApp& artdaq::DataLoggerApp::operator= | ( | DataLoggerApp const & | ) |
Copy Assignment operator is Deleted.
Reimplemented from artdaq::Commandable.
std::string artdaq::DataLoggerApp::report | ( | std::string const & | which | ) | const [override, virtual] |
If which is "transition_status", report the status of the last transition. Otherwise pass through to DataLoggerCore.
which | What to report on |
Reimplemented from artdaq::Commandable.
Definition at line 114 of file DataLoggerApp.cc.