Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
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_payload_size
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)
std::vector< CLBCommonHeader > m_headers
unsigned int m_selected
unsigned int m_max_seqnumber
unsigned int m_delta_ts
std::vector< char > raw_data_t
std::vector< unsigned int > DOMRange_t