00001 #ifndef _ots_DataDecoderConsumer_h_
00002 #define _ots_DataDecoderConsumer_h_
00003
00004 #include "otsdaq-core/Configurable/Configurable.h"
00005 #include "otsdaq-core/DataDecoders/DataDecoder.h"
00006 #include "otsdaq-core/DataManager/DataConsumer.h"
00007
00008 namespace ots
00009 {
00010 class DataDecoderConsumer : public DataDecoder, public DataConsumer, public Configurable
00011 {
00012 public:
00013 DataDecoderConsumer(std::string supervisorApplicationUID,
00014 std::string bufferUID,
00015 std::string processorUID,
00016 const ConfigurationTree& theXDAQContextConfigTree,
00017 const std::string& configurationPath);
00018 virtual ~DataDecoderConsumer(void);
00019
00020 protected:
00021 bool workLoopThread(toolbox::task::WorkLoop* workLoop);
00022 };
00023
00024 }
00025
00026 #endif