Read iterator for HADAQ events/subevents.
More...
#include <hadaq/Iterator.h>
Read iterator for HADAQ events/subevents.
Definition at line 39 of file Iterator.h.
◆ ReadIterator() [1/3]
hadaq::ReadIterator::ReadIterator |
( |
| ) |
|
◆ ReadIterator() [2/3]
hadaq::ReadIterator::ReadIterator |
( |
const dabc::Buffer & |
buf | ) |
|
◆ ReadIterator() [3/3]
hadaq::ReadIterator::ReadIterator |
( |
const ReadIterator & |
src | ) |
|
◆ ~ReadIterator()
hadaq::ReadIterator::~ReadIterator |
( |
| ) |
|
|
inline |
◆ operator=()
◆ Reset() [1/2]
Initialize iterator on the beginning of the buffer, buffer instance should exists until end of iterator usage.
Definition at line 59 of file Iterator.cxx.
◆ Reset() [2/2]
bool hadaq::ReadIterator::Reset |
( |
| ) |
|
|
inline |
Reset iterator - forget pointer on buffer.
Definition at line 63 of file Iterator.h.
◆ Close()
void hadaq::ReadIterator::Close |
( |
| ) |
|
◆ IsData()
bool hadaq::ReadIterator::IsData |
( |
| ) |
const |
|
inline |
◆ NextHadTu()
bool hadaq::ReadIterator::NextHadTu |
( |
| ) |
|
Used for raw data from TRBs.
Definition at line 88 of file Iterator.cxx.
◆ NextEvent()
bool hadaq::ReadIterator::NextEvent |
( |
| ) |
|
◆ NextSubeventsBlock()
bool hadaq::ReadIterator::NextSubeventsBlock |
( |
| ) |
|
◆ NextSubEvent()
bool hadaq::ReadIterator::NextSubEvent |
( |
| ) |
|
Used for sub-events iteration inside current block.
Definition at line 199 of file Iterator.cxx.
◆ evnt()
◆ evntsize()
unsigned hadaq::ReadIterator::evntsize |
( |
| ) |
const |
|
inline |
◆ remained_size()
unsigned hadaq::ReadIterator::remained_size |
( |
| ) |
const |
|
inline |
Returns size used by current event plus rest.
Definition at line 85 of file Iterator.h.
◆ hadtu()
◆ AssignEventPointer()
bool hadaq::ReadIterator::AssignEventPointer |
( |
dabc::Pointer & |
ptr | ) |
|
◆ subevnt()
◆ rawdata()
void* hadaq::ReadIterator::rawdata |
( |
| ) |
const |
|
inline |
◆ rawdatasize()
uint32_t hadaq::ReadIterator::rawdatasize |
( |
| ) |
const |
|
inline |
◆ rawdata_maxsize()
unsigned hadaq::ReadIterator::rawdata_maxsize |
( |
| ) |
const |
Try to define maximal length for the raw data.
Definition at line 252 of file Iterator.cxx.
◆ NumEvents()
unsigned hadaq::ReadIterator::NumEvents |
( |
const dabc::Buffer & |
buf | ) |
|
|
static |
◆ fFirstEvent
bool hadaq::ReadIterator::fFirstEvent |
|
protected |
◆ fEvPtr
◆ fSubPtr
◆ fRawPtr
◆ fBufType
unsigned hadaq::ReadIterator::fBufType |
|
protected |
The documentation for this class was generated from the following files: