Jpp  18.4.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
frame_generator.hh
Go to the documentation of this file.
1 #ifndef __FRAME_GENERATOR_HH
2 #define __FRAME_GENERATOR_HH
3 
5 
6 #include <vector>
7 #include <sys/time.h>
8 
9 /**
10  * \author cpellegrino
11  */
12 
14 
16 
18 {
19  unsigned int m_max_seqnumber;
20  unsigned int m_delta_ts;
21  unsigned int m_payload_size;
22  unsigned int m_selected;
23  timeval m_tv;
25 
26  public:
27 
29  const DOMRange_t& dom_range,
30  unsigned int time_slice_duration,
31  unsigned int run_number,
32  unsigned int MTU,
33  unsigned int hitR
34  );
35 
36  void getNext(raw_data_t& target);
37 
38 };
39 #endif
unsigned int m_selected
unsigned int m_delta_ts
unsigned int m_payload_size
std::vector< char > raw_data_t
std::vector< CLBCommonHeader > m_headers
std::vector< unsigned int > DOMRange_t
FrameGenerator(const DOMRange_t &dom_range, unsigned int time_slice_duration, unsigned int run_number, unsigned int MTU, unsigned int hitR)
void getNext(raw_data_t &target)
unsigned int m_max_seqnumber