Jpp
17.2.1-pre0
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
DataQueue
DFInterface
DFInterface.hh
Go to the documentation of this file.
1
#ifndef DFINTERFACE_HH
2
#define DFINTERFACE_HH
3
4
#include <boost/atomic.hpp>
5
#include "
recipients_handler.hh
"
6
#include <
FrameFactory/frame_farm.hh
>
7
8
/**
9
* \author cpellegrino
10
*/
11
12
class
DFInterface
13
{
14
boost::atomic<bool>
status
;
15
16
RecipientsHandler
&
m_recipients
;
17
18
FrameFarm
&
m_farm
;
19
20
public
:
21
22
DFInterface
(
FrameFarm
& FF,
RecipientsHandler
& recipients)
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
RecipientsHandler
Definition:
recipients_handler.hh:17
DFInterface::isRunning
bool isRunning()
Definition:
DFInterface.hh:37
DFInterface::m_recipients
RecipientsHandler & m_recipients
Definition:
DFInterface.hh:16
DFInterface::status
boost::atomic< bool > status
Definition:
DFInterface.hh:14
DFInterface::operator()
void operator()()
Definition:
DFInterface.cc:8
recipients_handler.hh
DFInterface
Definition:
DFInterface.hh:12
DFInterface::DFInterface
DFInterface(FrameFarm &FF, RecipientsHandler &recipients)
Definition:
DFInterface.hh:22
FrameFarm
Definition:
frame_farm.hh:23
DFInterface::stop
void stop()
Definition:
DFInterface.hh:32
frame_farm.hh
DFInterface::m_farm
FrameFarm & m_farm
Definition:
DFInterface.hh:18
Generated by
1.8.5