00001 #ifndef _ots_DataProducer_h_
00002 #define _ots_DataProducer_h_
00003
00004 #include "otsdaq-core/DataManager/DataProducerBase.h"
00005 #include "otsdaq-core/WorkLoopManager/WorkLoop.h"
00006
00007 namespace ots
00008 {
00009
00010
00011
00012 class DataProducer : public DataProducerBase, public virtual WorkLoop
00013 {
00014 public:
00015 DataProducer(std::string supervisorApplicationUID,
00016 std::string bufferUID,
00017 std::string processorUID,
00018 unsigned int bufferSize = 100);
00019 virtual ~DataProducer(void);
00020
00021 virtual void startProcessingData(std::string runNumber);
00022 virtual void stopProcessingData(void);
00023 };
00024
00025 }
00026
00027 #endif