DispatcherApp is an artdaq::Commandable derived class which controls the DispatcherCore. More...
#include <artdaq/Application/DispatcherApp.hh>
Public Member Functions | |
DispatcherApp () | |
DispatcherApp Constructor. | |
DispatcherApp (DispatcherApp const &) | |
Copy Constructor is Deleted. | |
virtual | ~DispatcherApp () |
Default virtual destructor. | |
DispatcherApp & | operator= (DispatcherApp const &) |
Copy Assignment operator is Deleted. | |
bool | do_initialize (fhicl::ParameterSet const &pset, uint64_t, uint64_t) override |
Initialize the DispatcherCore. | |
bool | do_start (art::RunID id, uint64_t, uint64_t) override |
Start the DispatcherCore. | |
bool | do_stop (uint64_t, uint64_t) override |
Stop the DispatcherCore. | |
bool | do_pause (uint64_t, uint64_t) override |
Pause the DispatcherCore. | |
bool | do_resume (uint64_t, uint64_t) override |
Resume the DispatcherCore. | |
bool | do_shutdown (uint64_t) override |
Shutdown the DispatcherCore. | |
bool | do_soft_initialize (fhicl::ParameterSet const &, uint64_t, uint64_t) override |
Soft-initialize the DispatcherCore. No-Op. | |
bool | do_reinitialize (fhicl::ParameterSet const &, uint64_t, uint64_t) override |
Reinitialize the DispatcherCore. 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 DispatcherCore. | |
std::string | register_monitor (fhicl::ParameterSet const &info) override |
Register an art Online Monitor to the DispatcherCore. | |
std::string | unregister_monitor (std::string const &label) override |
Remove an art Online Monitor from the DispatcherCore. |
DispatcherApp is an artdaq::Commandable derived class which controls the DispatcherCore.
Definition at line 17 of file DispatcherApp.hh.
bool artdaq::DispatcherApp::do_initialize | ( | fhicl::ParameterSet const & | pset, | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Initialize the DispatcherCore.
pset | ParameterSet used to initialize the DispatcherCore |
Reimplemented from artdaq::Commandable.
Definition at line 17 of file DispatcherApp.cc.
bool artdaq::DispatcherApp::do_pause | ( | uint64_t | , | |
uint64_t | ||||
) | [override, virtual] |
Pause the DispatcherCore.
Reimplemented from artdaq::Commandable.
Definition at line 66 of file DispatcherApp.cc.
bool artdaq::DispatcherApp::do_reinitialize | ( | fhicl::ParameterSet const & | , | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Reinitialize the DispatcherCore. No-Op.
Reimplemented from artdaq::Commandable.
Definition at line 109 of file DispatcherApp.cc.
bool artdaq::DispatcherApp::do_resume | ( | uint64_t | , | |
uint64_t | ||||
) | [override, virtual] |
Resume the DispatcherCore.
Reimplemented from artdaq::Commandable.
Definition at line 78 of file DispatcherApp.cc.
bool artdaq::DispatcherApp::do_shutdown | ( | uint64_t | ) | [override, virtual] |
Shutdown the DispatcherCore.
Reimplemented from artdaq::Commandable.
Definition at line 91 of file DispatcherApp.cc.
bool artdaq::DispatcherApp::do_soft_initialize | ( | fhicl::ParameterSet const & | , | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Soft-initialize the DispatcherCore. No-Op.
Reimplemented from artdaq::Commandable.
Definition at line 104 of file DispatcherApp.cc.
bool artdaq::DispatcherApp::do_start | ( | art::RunID | id, | |
uint64_t | , | |||
uint64_t | ||||
) | [override, virtual] |
Start the DispatcherCore.
id | Run number of the new run |
Reimplemented from artdaq::Commandable.
Definition at line 37 of file DispatcherApp.cc.
bool artdaq::DispatcherApp::do_stop | ( | uint64_t | , | |
uint64_t | ||||
) | [override, virtual] |
Stop the DispatcherCore.
Reimplemented from artdaq::Commandable.
Definition at line 53 of file DispatcherApp.cc.
DispatcherApp& artdaq::DispatcherApp::operator= | ( | DispatcherApp const & | ) |
Copy Assignment operator is Deleted.
Reimplemented from artdaq::Commandable.
std::string artdaq::DispatcherApp::register_monitor | ( | fhicl::ParameterSet const & | info | ) | [override, virtual] |
Register an art Online Monitor to the DispatcherCore.
info | ParameterSet containing information about the monitor |
Reimplemented from artdaq::Commandable.
Definition at line 147 of file DispatcherApp.cc.
std::string artdaq::DispatcherApp::report | ( | std::string const & | which | ) | const [override, virtual] |
If which is "transition_status", report the status of the last transition. Otherwise pass through to DispatcherCore.
which | What to report on |
Reimplemented from artdaq::Commandable.
Definition at line 114 of file DispatcherApp.cc.
std::string artdaq::DispatcherApp::unregister_monitor | ( | std::string const & | label | ) | [override, virtual] |
Remove an art Online Monitor from the DispatcherCore.
label | Name of the monitor to remove |
Reimplemented from artdaq::Commandable.
Definition at line 172 of file DispatcherApp.cc.