Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
DFInterface.hh
Go to the documentation of this file.
1#ifndef DFINTERFACE_HH
2#define DFINTERFACE_HH
3
4#include <boost/atomic.hpp>
7
8/**
9 * \author cpellegrino
10 */
11
13{
14 boost::atomic<bool> status;
15
17
19
20 public:
21
23 :
24 m_recipients(recipients),
25 m_farm(FF)
26 {
27 status = true;
28 }
29
30 void operator ()();
31
32 void stop()
33 {
34 status = false;
35 }
36
37 bool isRunning()
38 {
39 return status.load();
40 }
41};
42
43#endif // DFINTERFACE_HH
FrameFarm & m_farm
boost::atomic< bool > status
bool isRunning()
void operator()()
Definition DFInterface.cc:8
DFInterface(FrameFarm &FF, RecipientsHandler &recipients)
RecipientsHandler & m_recipients