otsdaq  v2_05_02_indev
DataDecoderConsumer.h
1 #ifndef _ots_DataDecoderConsumer_h_
2 #define _ots_DataDecoderConsumer_h_
3 
4 #include "otsdaq/Configurable/Configurable.h"
5 #include "otsdaq/DataDecoders/DataDecoder.h"
6 #include "otsdaq/DataManager/DataConsumer.h"
7 
8 namespace ots
9 {
10 class DataDecoderConsumer : public DataDecoder, public DataConsumer, public Configurable
11 {
12  public:
13  DataDecoderConsumer(std::string supervisorApplicationUID,
14  std::string bufferUID,
15  std::string processorUID,
16  const ConfigurationTree& theXDAQContextConfigTree,
17  const std::string& configurationPath);
18  virtual ~DataDecoderConsumer(void);
19 
20  protected:
21  bool workLoopThread(toolbox::task::WorkLoop* workLoop);
22 };
23 
24 } // namespace ots
25 
26 #endif