artdaq
v3_06_00
|
EventBuilderApp is an artdaq::Commandable derived class which controls the EventBuilderCore. More...
#include <artdaq/Application/EventBuilderApp.hh>
Public Member Functions | |
EventBuilderApp () | |
EventBuilderApp Constructor. | |
EventBuilderApp (EventBuilderApp const &)=delete | |
Copy Constructor is deleted. | |
virtual | ~EventBuilderApp ()=default |
Default Destructor. | |
EventBuilderApp & | operator= (EventBuilderApp const &)=delete |
Copy Assignment Operator is deleted. More... | |
bool | do_initialize (fhicl::ParameterSet const &pset, uint64_t, uint64_t) override |
Initialize the EventBuilderCore. More... | |
bool | do_start (art::RunID id, uint64_t, uint64_t) override |
Start the EventBuilderCore. More... | |
bool | do_stop (uint64_t, uint64_t) override |
Stop the EventBuilderCore. More... | |
bool | do_pause (uint64_t, uint64_t) override |
Pause the EventBuilderCore. More... | |
bool | do_resume (uint64_t, uint64_t) override |
Resume the EventBuilderCore. More... | |
bool | do_shutdown (uint64_t) override |
Shutdown the EventBuilderCore. More... | |
bool | do_soft_initialize (fhicl::ParameterSet const &pset, uint64_t, uint64_t) override |
Soft-Initialize the EventBuilderCore. More... | |
bool | do_reinitialize (fhicl::ParameterSet const &pset, uint64_t, uint64_t) override |
Reinitialize the EventBuilderCore. More... | |
bool | do_rollover_subrun (uint64_t eventNum, uint32_t subrunNum) override |
Rollover the subrun after the given event. More... | |
void | BootedEnter () override |
Action taken upon entering the "Booted" state. More... | |
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 EventBuilderCore. More... | |
bool | do_add_config_archive_entry (std::string const &, std::string const &) override |
Add the specified configuration archive entry to the EventBuilderCore. More... | |
bool | do_clear_config_archive () override |
Clear the configuration archive list in the EventBuilderCore. More... | |
![]() | |
Commandable () | |
Commandable (Commandable const &)=delete | |
Copy Constructor is deleted. | |
virtual | ~Commandable ()=default |
Default Destructor. | |
Commandable & | operator= (Commandable const &)=delete |
Copy Assignment operator is deleted. More... | |
bool | initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) |
Processes the initialize request. More... | |
bool | start (art::RunID id, uint64_t timeout, uint64_t timestamp) |
Processes the start transition. More... | |
bool | stop (uint64_t timeout, uint64_t timestamp) |
Processes the stop transition. More... | |
bool | pause (uint64_t timeout, uint64_t timestamp) |
Processes the pause transition. More... | |
bool | resume (uint64_t timeout, uint64_t timestamp) |
Processes the resume transition. More... | |
bool | shutdown (uint64_t timeout) |
Processes the shutdown transition. More... | |
bool | soft_initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) |
Processes the soft-initialize request. More... | |
bool | reinitialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) |
Processes the reinitialize request. More... | |
bool | in_run_failure () |
Actions taken when the in_run_failure state is set. More... | |
std::string | status () const |
Returns the current state of the Commandable. More... | |
virtual std::string | register_monitor (fhicl::ParameterSet const &) |
Perform the register_monitor action. More... | |
virtual std::string | unregister_monitor (std::string const &) |
Perform the unregister_monitor action. More... | |
std::vector< std::string > | legal_commands () const |
Get the legal transition commands from the current state. More... | |
virtual void | badTransition (const std::string &trans) |
This function is called when an attempt is made to call an illegal transition. More... | |
virtual void | InRunExit () |
Perform actions upon leaving the InRun state. More... | |
virtual std::string | do_trace_get (std::string const &name) |
Get the TRACE mask for the given TRACE name If name is "ALL", then all TRACE masks will be printed. More... | |
virtual bool | do_trace_set (std::string const &type, std::string const &name, uint64_t mask) |
Set the given TRACE mask for the given TRACE name. More... | |
virtual bool | do_meta_command (std::string const &command, std::string const &args) |
Run a module-defined command with the given parameter string. More... | |
Additional Inherited Members | |
![]() | |
std::string | current_state () const |
Return the name of the current state. More... | |
![]() | |
CommandableContext | fsm_ |
The generated State Machine (using smc_compiler) | |
bool | external_request_status_ |
Whether the last command succeeded. | |
std::string | report_string_ |
Status information about the last command. | |
EventBuilderApp is an artdaq::Commandable derived class which controls the EventBuilderCore.
Definition at line 17 of file EventBuilderApp.hh.
|
overridevirtual |
Action taken upon entering the "Booted" state.
This is a No-Op
Reimplemented from artdaq::Commandable.
Definition at line 145 of file EventBuilderApp.cc.
|
overridevirtual |
Add the specified configuration archive entry to the EventBuilderCore.
Reimplemented from artdaq::Commandable.
Definition at line 189 of file EventBuilderApp.cc.
|
overridevirtual |
Clear the configuration archive list in the EventBuilderCore.
Reimplemented from artdaq::Commandable.
Definition at line 204 of file EventBuilderApp.cc.
|
overridevirtual |
Initialize the EventBuilderCore.
pset | ParameterSet used to configure the EventBuilderCore |
Reimplemented from artdaq::Commandable.
Definition at line 14 of file EventBuilderApp.cc.
|
overridevirtual |
Pause the EventBuilderCore.
Reimplemented from artdaq::Commandable.
Definition at line 67 of file EventBuilderApp.cc.
|
overridevirtual |
Reinitialize the EventBuilderCore.
pset | ParameterSet used to configure the EventBuilderCore |
Reimplemented from artdaq::Commandable.
Definition at line 118 of file EventBuilderApp.cc.
|
overridevirtual |
Resume the EventBuilderCore.
Reimplemented from artdaq::Commandable.
Definition at line 80 of file EventBuilderApp.cc.
|
overridevirtual |
Rollover the subrun after the given event.
eventNum | Sequence ID of boundary |
subrunNum | Number of new subrun |
Reimplemented from artdaq::Commandable.
Definition at line 131 of file EventBuilderApp.cc.
|
overridevirtual |
Shutdown the EventBuilderCore.
Reimplemented from artdaq::Commandable.
Definition at line 93 of file EventBuilderApp.cc.
|
overridevirtual |
Soft-Initialize the EventBuilderCore.
pset | ParameterSet used to configure the EventBuilderCore |
Reimplemented from artdaq::Commandable.
Definition at line 105 of file EventBuilderApp.cc.
|
overridevirtual |
Start the EventBuilderCore.
id | Run ID of new run |
Reimplemented from artdaq::Commandable.
Definition at line 39 of file EventBuilderApp.cc.
|
overridevirtual |
Stop the EventBuilderCore.
Reimplemented from artdaq::Commandable.
Definition at line 55 of file EventBuilderApp.cc.
|
delete |
Copy Assignment Operator is deleted.
|
overridevirtual |
If which is "transition_status", report the status of the last transition. Otherwise pass through to EventBuilderCore.
which | What to report on |
Reimplemented from artdaq::Commandable.
Definition at line 156 of file EventBuilderApp.cc.