otsdaq  v2_05_02_indev
FESlowControlsWorkLoop.h
1 #ifndef _ots_FESlowControlsWorkLoop_h_
2 #define _ots_FESlowControlsWorkLoop_h_
3 
4 #include "otsdaq/WorkLoopManager/WorkLoop.h"
5 
6 #include <iostream>
7 #include <string>
8 
9 namespace ots
10 {
11 class FEVInterface;
12 
14 {
15  public:
16  FESlowControlsWorkLoop(const std::string& name, FEVInterface* interface) : WorkLoop(name), interface_(interface) {}
17  ~FESlowControlsWorkLoop() { ; } // do not own interface_, so do not delete
18 
19  bool workLoopThread(toolbox::task::WorkLoop* workLoop);
20 
21  bool getContinueWorkLoop() { return continueWorkLoop_; }
22 
23  private:
24  FEVInterface* interface_;
25 };
26 
27 } // namespace ots
28 
29 #endif