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;
49 bool do_initialize(fhicl::ParameterSet
const& pset, uint64_t, uint64_t)
override;
56 bool do_start(art::RunID
id, uint64_t, uint64_t)
override;
62 bool do_stop(uint64_t, uint64_t)
override;
68 bool do_pause(uint64_t, uint64_t)
override;
74 bool do_resume(uint64_t, uint64_t)
override;
94 bool do_reinitialize(fhicl::ParameterSet
const& pset, uint64_t, uint64_t)
override;
109 std::string
report(std::string
const& which)
const override;
114 std::unique_ptr<artdaq::EventBuilderCore> event_builder_ptr_;
115 std::future<size_t> event_building_future_;
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(int rank, std::string name)
EventBuilderApp Constructor.
EventBuilderApp & operator=(EventBuilderApp const &)=delete
Copy Assignment Operator is deleted.
bool do_initialize(fhicl::ParameterSet const &pset, uint64_t, uint64_t) override
Initialize the EventBuilderCore.
bool do_start(art::RunID id, uint64_t, uint64_t) override
Start the EventBuilderCore.
bool do_stop(uint64_t, uint64_t) override
Stop the EventBuilderCore.