1 #ifndef _ots_DataProcessor_h_
2 #define _ots_DataProcessor_h_
5 #include "otsdaq/DataManager/CircularBuffer.h"
6 #include "otsdaq/DataManager/CircularBufferBase.h"
7 #include "otsdaq/WorkLoopManager/WorkLoop.h"
16 DataProcessor(std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID);
19 virtual void registerToBuffer(
void) = 0;
22 virtual void startProcessingData(std::string runNumber) = 0;
23 virtual void stopProcessingData(
void) = 0;
24 virtual void pauseProcessingData(
void) { stopProcessingData(); }
25 virtual void resumeProcessingData(
void) { startProcessingData(
""); }
28 const std::string& getProcessorID(
void)
const {
return processorUID_; }
33 const std::string supervisorApplicationUID_;
34 const std::string bufferUID_;
35 const std::string processorUID_;