otsdaq_components  v2_02_00
OtsUDPFirmwareDataGen.h
1 #ifndef _ots_OtsUDPFirmwareDataGen_h_
2 #define _ots_OtsUDPFirmwareDataGen_h_
3 
4 #include <string>
5 
6 #include "otsdaq-components/DAQHardware/OtsUDPFirmwareCore.h"
7 
8 namespace ots
9 {
10 
12 {
13  //===============================================
14  //OtsUDPFirmwareDataGen
15  //
16  // The intent of this class is to be the "Data Gen" project firmware user functionality.
17  // This should handle everything in the user block 0x0 of the address space.
18  //
19 
20 public:
21  OtsUDPFirmwareDataGen (unsigned int version);
22  virtual ~OtsUDPFirmwareDataGen(void);
23  virtual void init(void);
24 
25 protected:
26 
27 
28  void setNumberOfBurstWords (std::string& buffer, uint64_t numberOfWords);
29  void setBurstWordsRate (std::string& buffer, uint64_t interval);
30 
31 
32 };
33 
34 }
35 
36 #endif