BoardReaderApp is an artdaq::Commandable derived class which controls the BoardReaderCore state machine. More...
#include <artdaq/Application/BoardReaderApp.hh>
Public Member Functions | |
BoardReaderApp (int rank, std::string name) | |
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. | |
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 18 of file BoardReaderApp.hh.
artdaq::BoardReaderApp::BoardReaderApp | ( | int | rank, | |
std::string | name | |||
) |
BoardReaderApp Constructor.
rank | Rank of this BoardReader | |
name | Friendly name of this application instance (MessageFacility Category) |
Definition at line 3 of file BoardReaderApp.cc.
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 154 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 11 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 79 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 142 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 100 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 117 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 129 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 33 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 57 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 165 of file BoardReaderApp.cc.