BoardReaderApp is an artdaq::Commandable derived class which controls the BoardReaderCore state machine. More...
#include <artdaq/Application/BoardReaderApp.hh>
Public Member Functions | |
BoardReaderApp () | |
BoardReaderApp Constructor. | |
BoardReaderApp (BoardReaderApp const &) | |
Copy Constructor is deleted. | |
virtual | ~BoardReaderApp () |
Default Destructor. | |
BoardReaderApp & | operator= (BoardReaderApp const &) |
Copy Assignment Operator is deleted. | |
bool | do_initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override |
Initialize the BoardReaderCore. | |
bool | do_start (art::RunID id, uint64_t timeout, uint64_t timestamp) override |
Start the BoardReaderCore. | |
bool | do_stop (uint64_t timeout, uint64_t timestamp) override |
Stop the BoardReaderCore. | |
bool | do_pause (uint64_t timeout, uint64_t timestamp) override |
Pause the BoardReaderCore. | |
bool | do_resume (uint64_t timeout, uint64_t timestamp) override |
Resume the BoardReaderCore. | |
bool | do_shutdown (uint64_t timeout) override |
Shutdown the BoardReaderCore. | |
bool | do_soft_initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override |
Soft-Initialize the BoardReaderCore. | |
bool | do_reinitialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override |
Reinitialize the BoardReaderCore. | |
void | BootedEnter () override |
Action taken upon entering the "Booted" state. | |
bool | do_meta_command (std::string const &command, std::string const &arg) override |
Perform a user-defined command (passed to CommandableFragmentGenerator). | |
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 BoardReaderCore. |
BoardReaderApp is an artdaq::Commandable derived class which controls the BoardReaderCore state machine.
Definition at line 17 of file BoardReaderApp.hh.
void artdaq::BoardReaderApp::BootedEnter | ( | ) | [override, virtual] |
Action taken upon entering the "Booted" state.
This resets the BoardReaderCore pointer
Reimplemented from artdaq::Commandable.
Definition at line 163 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_initialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Initialize the BoardReaderCore.
pset | ParameterSet used to configure the BoardReaderCore | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 14 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_meta_command | ( | std::string const & | command, | |
std::string const & | arg | |||
) | [override, virtual] |
Perform a user-defined command (passed to CommandableFragmentGenerator).
command | Name of the command | |
arg | Argument for the command |
Reimplemented from artdaq::Commandable.
Definition at line 174 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_pause | ( | uint64_t | timeout, | |
uint64_t | timestamp | |||
) | [override, virtual] |
Pause the BoardReaderCore.
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 87 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_reinitialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Reinitialize the BoardReaderCore.
pset | ParameterSet used to configure the BoardReaderCore | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 151 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_resume | ( | uint64_t | timeout, | |
uint64_t | timestamp | |||
) | [override, virtual] |
Resume the BoardReaderCore.
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 105 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_shutdown | ( | uint64_t | timeout | ) | [override, virtual] |
Shutdown the BoardReaderCore.
timeout | Timeout for transition |
Reimplemented from artdaq::Commandable.
Definition at line 126 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_soft_initialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Soft-Initialize the BoardReaderCore.
pset | ParameterSet used to configure the BoardReaderCore | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 138 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_start | ( | art::RunID | id, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Start the BoardReaderCore.
id | Run ID of new run | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 40 of file BoardReaderApp.cc.
bool artdaq::BoardReaderApp::do_stop | ( | uint64_t | timeout, | |
uint64_t | timestamp | |||
) | [override, virtual] |
Stop the BoardReaderCore.
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 68 of file BoardReaderApp.cc.
BoardReaderApp& artdaq::BoardReaderApp::operator= | ( | BoardReaderApp const & | ) |
Copy Assignment Operator is deleted.
Reimplemented from artdaq::Commandable.
std::string artdaq::BoardReaderApp::report | ( | std::string const & | which | ) | const [override, virtual] |
If which is "transition_status", report the status of the last transition. Otherwise pass through to BoardReaderCore.
which | What to report on |
Reimplemented from artdaq::Commandable.
Definition at line 186 of file BoardReaderApp.cc.