37 uint32_t*
next_fragment (std::fstream& fs, uint32_t* addr=0,
size_t size=0);
61 size_t find_rods (
const uint32_t* block_start,
size_t block_size,
62 const uint32_t** rod=0, uint32_t* rod_size=0,
81 template <
class TPo
inter>
83 TPointer block_start,
size_t block_size,
84 TPointer* frag=0,
size_t max_count=0);
98 size_t get_robs (
const uint32_t* fragment,
const uint32_t** rob,
107#define HEX(m) "0x" << std::hex << (int)m << std::dec << " (" << (int)m << ")"
110template <
class TPo
inter>
112 TPointer block_start,
size_t block_size,
113 TPointer* frag,
size_t max_count)
115 uint32_t counter = 0;
116 TPointer next = block_start;
117 TPointer endp = block_start;
119 while (next < endp) {
121 if (frag && counter < max_count) frag[counter] = next;
Defines the wrong-marker exception, to be used when the wrong marker is found on the event stream.
#define EFORMAT_WRONG_MARKER(current, expected)