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