1 #include "otsdaq/DataManager/DataProducer.h"
2 #include "otsdaq/ConfigurationInterface/ConfigurationManager.h"
3 #include "otsdaq/DataManager/DataManager.h"
4 #include "otsdaq/DataManager/DataManagerSingleton.h"
11 #define __MF_SUBJECT__ "Producer"
12 #define mfSubject_ (std::string("Producer-") + bufferUID_ + "-" + processorUID_)
15 DataProducer::DataProducer(std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID,
unsigned int bufferSize)
18 __GEN_COUT__ <<
"Constructed." << __E__;
22 DataProducer::~DataProducer(
void) { __GEN_COUT__ <<
"Destructed." << __E__; }
25 void DataProducer::startProcessingData(std::string )
27 __GEN_COUT__ <<
"startWorkLoop..." << std::endl;
28 WorkLoop::startWorkLoop();
32 void DataProducer::stopProcessingData(
void)
34 __GEN_COUT__ <<
"stopWorkLoop..." << std::endl;
35 WorkLoop::stopWorkLoop();