otsdaq  v2_05_02_indev
OtsDataSaverConsumer.h
1 #ifndef _ots_OtsDataSaverConsumer_h_
2 #define _ots_OtsDataSaverConsumer_h_
3 
4 #include "otsdaq/DataManager/RawDataSaverConsumerBase.h"
5 
6 namespace ots
7 {
9 {
10  public:
11  OtsDataSaverConsumer(std::string supervisorApplicationUID,
12  std::string bufferUID,
13  std::string processorUID,
14  const ConfigurationTree& theXDAQContextConfigTree,
15  const std::string& configurationPath);
16  virtual ~OtsDataSaverConsumer(void);
17 
18  virtual void writePacketHeader(const std::string& data) override;
19 
20  protected:
21  void writeHeader(void) override;
22 
23  unsigned char lastSeqId_;
24 };
25 
26 } // namespace ots
27 
28 #endif