1 #include "otsdaq-core/DataManager/DataProducer.h"
2 #include "otsdaq-core/ConfigurationInterface/ConfigurationManager.h"
3 #include "otsdaq-core/DataManager/DataManager.h"
4 #include "otsdaq-core/DataManager/DataManagerSingleton.h"
11 #define __MF_SUBJECT__ "producer-" << bufferUID_ << "-" << processorUID_
14 DataProducer::DataProducer(std::string supervisorApplicationUID,
15 std::string bufferUID,
16 std::string processorUID,
17 unsigned int bufferSize)
19 ,
DataProducerBase(supervisorApplicationUID, bufferUID, processorUID, bufferSize)
21 __COUT__ <<
"Constructed." << __E__;
25 DataProducer::~DataProducer(
void) { __COUT__ <<
"Destructed." << __E__; }
28 void DataProducer::startProcessingData(std::string runNumber)
30 __COUT__ <<
"startWorkLoop..." << std::endl;
31 WorkLoop::startWorkLoop();
35 void DataProducer::stopProcessingData(
void)
37 __COUT__ <<
"stopWorkLoop..." << std::endl;
38 WorkLoop::stopWorkLoop();