tdaq-develop-2025-02-12
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)
17  : WorkLoop(name), interface_(interface)
18  {
19  }
21 
22  bool workLoopThread(toolbox::task::WorkLoop* workLoop);
23 
24  bool getContinueWorkLoop() { return continueWorkLoop_; }
25 
26  private:
27  FEVInterface* interface_;
28 };
29 
30 } // namespace ots
31 
32 #endif
~FESlowControlsWorkLoop()
do not own interface_, so do not delete