otsdaq
v2_04_01
Return to top level
Main Page
Namespaces
Classes
Files
File List
DataProducer.h
1
#ifndef _ots_DataProducer_h_
2
#define _ots_DataProducer_h_
3
4
#include "otsdaq-core/DataManager/DataProducerBase.h"
5
#include "otsdaq-core/WorkLoopManager/WorkLoop.h"
6
7
namespace
ots
8
{
9
// DataProducer
10
// This class provides base class functionality for Data Producer plugin classes to
11
// receive incoming streaming data and places it in a Buffer.
12
class
DataProducer
:
public
DataProducerBase
,
public
virtual
WorkLoop
13
{
14
public
:
15
DataProducer
(std::string supervisorApplicationUID,
16
std::string bufferUID,
17
std::string processorUID,
18
unsigned
int
bufferSize = 100);
19
virtual
~
DataProducer
(
void
);
20
21
virtual
void
startProcessingData(std::string runNumber);
22
virtual
void
stopProcessingData(
void
);
23
};
24
25
}
// namespace ots
26
27
#endif
ots::DataProducerBase
Definition:
DataProducerBase.h:15
ots::WorkLoop
Definition:
WorkLoop.h:10
ots::DataProducer
Definition:
DataProducer.h:12
src
otsdaq-core
DataManager
DataProducer.h
Generated on Fri Jun 28 2019 14:42:59 for otsdaq by
1.8.5