1 #ifndef artdaq_Application_MPI2_AggregatorApp_hh
2 #define artdaq_Application_MPI2_AggregatorApp_hh
6 #include "artdaq/Application/AggregatorCore.hh"
7 #include "artdaq/Application/Commandable.hh"
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;
92 bool do_reinitialize(fhicl::ParameterSet
const&, uint64_t, uint64_t)
override;
99 std::string
report(std::string
const& which)
const override;
118 std::unique_ptr<AggregatorCore> aggregator_ptr_;
119 std::future<size_t> aggregator_future_;
AggregatorApp is an artdaq::Commandable derived class which controls the AggregatorCore.
bool do_reinitialize(fhicl::ParameterSet const &, uint64_t, uint64_t) override
Reinitialize the AggregatorCore. No-Op.
Commandable is the base class for all artdaq components which implement the artdaq state machine...
std::string register_monitor(fhicl::ParameterSet const &info) override
Register an art Online Monitor to the AggregatorCore.
bool do_pause(uint64_t, uint64_t) override
Pause the AggregatorCore.
bool do_resume(uint64_t, uint64_t) override
Resume the AggregatorCore.
bool do_initialize(fhicl::ParameterSet const &pset, uint64_t, uint64_t) override
Initialize the AggregatorCore.
AggregatorApp(int rank, std::string name)
AggregatorApp Constructor.
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_stop(uint64_t, uint64_t) override
Stop the AggregatorCore.
AggregatorApp & operator=(AggregatorApp const &)=delete
Copy Assignment operator is Deleted.
bool do_shutdown(uint64_t) override
Shutdown the AggregatorCore.
std::string unregister_monitor(std::string const &label) override
Remove an art Online Monitor from the AggregatorCore.
bool do_start(art::RunID id, uint64_t, uint64_t) override
Start the AggregatorCore.
bool do_soft_initialize(fhicl::ParameterSet const &, uint64_t, uint64_t) override
Soft-initialize the AggregatorCore. No-Op.
virtual ~AggregatorApp()=default
Default virtual destructor.