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,
16 std::string bufferUID,
17 std::string processorUID,
18 unsigned int bufferSize)
20 ,
DataProducerBase(supervisorApplicationUID, bufferUID, processorUID, bufferSize)
22 __GEN_COUT__ <<
"Constructed." << __E__;
26 DataProducer::~DataProducer(
void) { __GEN_COUT__ <<
"Destructed." << __E__; }
29 void DataProducer::startProcessingData(std::string )
31 __GEN_COUT__ <<
"startWorkLoop..." << std::endl;
32 WorkLoop::startWorkLoop();
36 void DataProducer::stopProcessingData(
void)
38 __GEN_COUT__ <<
"stopWorkLoop..." << std::endl;
39 WorkLoop::stopWorkLoop();