otsdaq  v2_05_02_indev
DataProcessor.cc
1 #include "otsdaq/DataManager/DataProcessor.h"
2 
3 using namespace ots;
4 
5 #undef __MF_SUBJECT__
6 #define __MF_SUBJECT__ "Processor"
7 #define mfSubject_ (std::string("Processor:") + DataProcessor::processorUID_)
8 
9 //==============================================================================
10 DataProcessor::DataProcessor(std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID)
11  : supervisorApplicationUID_(supervisorApplicationUID), bufferUID_(bufferUID), processorUID_(processorUID), theCircularBuffer_(nullptr)
12 {
13  __GEN_COUT__ << "Constructor." << __E__;
14  __GEN_COUTV__(supervisorApplicationUID_);
15  __GEN_COUTV__(bufferUID_);
16  __GEN_COUTV__(processorUID_);
17 
18  __GEN_COUT__ << "Constructed." << __E__;
19 }
20 
21 //==============================================================================
22 DataProcessor::~DataProcessor(void) { __GEN_COUT__ << "Destructed." << __E__; }
23 
24 //==============================================================================
25 void DataProcessor::setCircularBuffer(CircularBufferBase* circularBuffer) { theCircularBuffer_ = circularBuffer; }