otsdaq  v2_05_02_indev
FEDataManagerSupervisor.h
1 #ifndef _ots_FEDataManagerSupervisor_h_
2 #define _ots_FEDataManagerSupervisor_h_
3 
4 #include "otsdaq/CoreSupervisors/FESupervisor.h"
5 
6 //#include "otsdaq/DataManager/DataProducerBase.h"
7 
8 namespace ots
9 {
10 class DataManager;
11 
13 {
14  public:
15  XDAQ_INSTANTIATOR();
16 
17  FEDataManagerSupervisor(xdaq::ApplicationStub* s, bool artdaqDataManager = false);
18  virtual ~FEDataManagerSupervisor(void);
19 
20  virtual void transitionConfiguring(toolbox::Event::Reference e) override;
21  virtual void transitionStarting(toolbox::Event::Reference e) override;
22  virtual void transitionResuming(toolbox::Event::Reference e) override;
23 
24  protected:
25  DataManager* theDataManager_;
26 
27  private:
28  DataManager* extractDataManager(); // likely, just used in constructor
29 };
30 
31 } // namespace ots
32 
33 #endif