1 #ifndef otsdaq_otsdaq_core_GatewaySupervisor_ARTDAQCommandable_h
2 #define otsdaq_otsdaq_core_GatewaySupervisor_ARTDAQCommandable_h
4 #include "artdaq/Application/Commandable.hh"
5 #include "artdaq/ExternalComms/CommanderInterface.hh"
6 #include "boost/thread.hpp"
9 class GatewaySupervisor;
17 void init(
int commanderId, std::string commanderType);
20 std::unique_ptr<artdaq::CommanderInterface> theCommander_;
21 boost::thread commanderThread_;
30 bool do_initialize(fhicl::ParameterSet
const&, uint64_t, uint64_t)
override;
36 bool do_start(art::RunID, uint64_t, uint64_t)
override;
42 bool do_stop(uint64_t, uint64_t)
override;
48 bool do_pause(uint64_t, uint64_t)
override;
54 bool do_resume(uint64_t, uint64_t)
override;
68 #endif //otsdaq_otsdaq_core_GatewaySupervisor_ARTDAQCommandable_h
bool do_shutdown(uint64_t) override
Perform the shutdown transition.
bool do_meta_command(std::string const &, std::string const &) override
Run a module-defined command with the given parameter string.
bool do_stop(uint64_t, uint64_t) override
Perform the stop transition.
bool do_start(art::RunID, uint64_t, uint64_t) override
Perform the start transition.
bool do_resume(uint64_t, uint64_t) override
Perform the resume transition.
bool do_initialize(fhicl::ParameterSet const &, uint64_t, uint64_t) override
Perform the initialize transition.
bool do_pause(uint64_t, uint64_t) override
Perform the pause transition.