1 #ifndef artdaq_Application_MPI2_EventBuilderApp_hh
2 #define artdaq_Application_MPI2_EventBuilderApp_hh
6 #include "artdaq/Application/Commandable.hh"
7 #include "artdaq/Application/EventBuilderCore.hh"
11 class EventBuilderApp;
47 bool do_initialize(fhicl::ParameterSet
const& pset, uint64_t, uint64_t)
override;
54 bool do_start(art::RunID
id, uint64_t, uint64_t)
override;
60 bool do_stop(uint64_t, uint64_t)
override;
66 bool do_pause(uint64_t, uint64_t)
override;
72 bool do_resume(uint64_t, uint64_t)
override;
92 bool do_reinitialize(fhicl::ParameterSet
const& pset, uint64_t, uint64_t)
override;
114 std::string
report(std::string
const& which)
const override;
129 std::unique_ptr<artdaq::EventBuilderCore> event_builder_ptr_;
Commandable is the base class for all artdaq components which implement the artdaq state machine...
bool do_resume(uint64_t, uint64_t) override
Resume the EventBuilderCore.
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 ...
bool do_reinitialize(fhicl::ParameterSet const &pset, uint64_t, uint64_t) override
Reinitialize the EventBuilderCore.
virtual ~EventBuilderApp()=default
Default Destructor.
bool do_shutdown(uint64_t) override
Shutdown the EventBuilderCore.
bool do_pause(uint64_t, uint64_t) override
Pause the EventBuilderCore.
bool do_soft_initialize(fhicl::ParameterSet const &pset, uint64_t, uint64_t) override
Soft-Initialize the EventBuilderCore.
EventBuilderApp is an artdaq::Commandable derived class which controls the EventBuilderCore.
EventBuilderApp & operator=(EventBuilderApp const &)=delete
Copy Assignment Operator is deleted.
bool do_add_config_archive_entry(std::string const &, std::string const &) override
Add the specified configuration archive entry to the EventBuilderCore.
EventBuilderApp()
EventBuilderApp Constructor.
bool do_initialize(fhicl::ParameterSet const &pset, uint64_t, uint64_t) override
Initialize the EventBuilderCore.
bool do_clear_config_archive() override
Clear the configuration archive list in the EventBuilderCore.
bool do_start(art::RunID id, uint64_t, uint64_t) override
Start the EventBuilderCore.
bool do_rollover_subrun(uint64_t eventNum) override
Rollover the subrun after the given event.
bool do_stop(uint64_t, uint64_t) override
Stop the EventBuilderCore.