RoutingMasterApp is an artdaq::Commandable derived class which controls the RoutingMasterCore state machine. More...
#include <artdaq/Application/RoutingMasterApp.hh>
Public Member Functions | |
RoutingMasterApp () | |
RoutingMasterApp Constructor. | |
RoutingMasterApp (RoutingMasterApp const &) | |
Copy Constructor is deleted. | |
virtual | ~RoutingMasterApp () |
Default Destructor. | |
RoutingMasterApp & | operator= (RoutingMasterApp const &) |
Copy Assignment Operator is deleted. | |
bool | do_initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override |
Initialize the RoutingMasterCore. | |
bool | do_start (art::RunID id, uint64_t timeout, uint64_t timestamp) override |
Start the RoutingMasterCore. | |
bool | do_stop (uint64_t timeout, uint64_t timestamp) override |
Stop the RoutingMasterCore. | |
bool | do_pause (uint64_t timeout, uint64_t timestamp) override |
Pause the RoutingMasterCore. | |
bool | do_resume (uint64_t timeout, uint64_t timestamp) override |
Resume the RoutingMasterCore. | |
bool | do_shutdown (uint64_t timeout) override |
Shutdown the RoutingMasterCore. | |
bool | do_soft_initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override |
Soft-Initialize the RoutingMasterCore. | |
bool | do_reinitialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override |
Reinitialize the RoutingMasterCore. | |
void | BootedEnter () override |
Action taken upon entering the "Booted" state. | |
std::string | report (std::string const &) const override |
If which is "transition_status", report the status of the last transition. Otherwise pass through to AggregatorCore. |
RoutingMasterApp is an artdaq::Commandable derived class which controls the RoutingMasterCore state machine.
Definition at line 17 of file RoutingMasterApp.hh.
artdaq::RoutingMasterApp::RoutingMasterApp | ( | ) |
RoutingMasterApp Constructor.
Default constructor.
Definition at line 8 of file RoutingMasterApp.cc.
void artdaq::RoutingMasterApp::BootedEnter | ( | ) | [override, virtual] |
Action taken upon entering the "Booted" state.
This resets the RoutingMasterCore pointer
Reimplemented from artdaq::Commandable.
Definition at line 159 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_initialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Initialize the RoutingMasterCore.
pset | ParameterSet used to configure the RoutingMasterCore | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 16 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_pause | ( | uint64_t | timeout, | |
uint64_t | timestamp | |||
) | [override, virtual] |
Pause the RoutingMasterCore.
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 84 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_reinitialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Reinitialize the RoutingMasterCore.
pset | ParameterSet used to configure the RoutingMasterCore | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 147 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_resume | ( | uint64_t | timeout, | |
uint64_t | timestamp | |||
) | [override, virtual] |
Resume the RoutingMasterCore.
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 105 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_shutdown | ( | uint64_t | timeout | ) | [override, virtual] |
Shutdown the RoutingMasterCore.
timeout | Timeout for transition |
Reimplemented from artdaq::Commandable.
Definition at line 122 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_soft_initialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Soft-Initialize the RoutingMasterCore.
pset | ParameterSet used to configure the RoutingMasterCore | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 134 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_start | ( | art::RunID | id, | |
uint64_t | timeout, | |||
uint64_t | timestamp | |||
) | [override, virtual] |
Start the RoutingMasterCore.
id | Run ID of new run | |
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 38 of file RoutingMasterApp.cc.
bool artdaq::RoutingMasterApp::do_stop | ( | uint64_t | timeout, | |
uint64_t | timestamp | |||
) | [override, virtual] |
Stop the RoutingMasterCore.
timeout | Timeout for transition | |
timestamp | Timestamp of transition |
Reimplemented from artdaq::Commandable.
Definition at line 62 of file RoutingMasterApp.cc.
RoutingMasterApp& artdaq::RoutingMasterApp::operator= | ( | RoutingMasterApp const & | ) |
Copy Assignment Operator is deleted.
Reimplemented from artdaq::Commandable.
std::string artdaq::RoutingMasterApp::report | ( | std::string const & | which | ) | const [override, virtual] |
If which is "transition_status", report the status of the last transition. Otherwise pass through to AggregatorCore.
which | What to report on |
Reimplemented from artdaq::Commandable.
Definition at line 170 of file RoutingMasterApp.cc.