DABC (Data Acquisition Backbone Core)
2.9.9
|
Read iterator for MBS events/subevents. More...
#include <mbs/Iterator.h>
Public Member Functions | |
bool | AssignEventPointer (dabc::Pointer &ptr) |
void | Close () |
EventHeader * | evnt () const |
dabc::Pointer | GetEventPointer () |
Returns pointer, which assign on complete event, including header. More... | |
unsigned | GetEventSize () const |
dabc::Pointer | GetSubeventsPointer () |
Returns pointer, which assign only on subevents. More... | |
bool | IsData () const |
bool | IsLastEvent () const |
Returns true if it is last event in the buffer. More... | |
bool | NextEvent () |
bool | NextSubEvent () |
ReadIterator & | operator= (const ReadIterator &src) |
void * | rawdata () const |
unsigned | rawdatasize () const |
ReadIterator () | |
ReadIterator (const dabc::Buffer &buf) | |
ReadIterator (const ReadIterator &src) | |
bool | Reset () |
Reset iterator - forget pointer on buffer. More... | |
bool | Reset (const dabc::Buffer &buf) |
Initialize iterator on the beginning of the buffer, buffer instance should exists until end of iterator usage. More... | |
SubeventHeader * | subevnt () const |
~ReadIterator () | |
Static Public Member Functions | |
static unsigned | NumEvents (const dabc::Buffer &buf) |
Protected Attributes | |
dabc::Pointer | fEvPtr |
bool | fFirstEvent |
dabc::Pointer | fRawPtr |
dabc::Pointer | fSubPtr |
Read iterator for MBS events/subevents.
Definition at line 40 of file Iterator.h.
mbs::ReadIterator::ReadIterator | ( | ) |
Definition at line 20 of file Iterator.cxx.
mbs::ReadIterator::ReadIterator | ( | const dabc::Buffer & | buf | ) |
Definition at line 28 of file Iterator.cxx.
mbs::ReadIterator::ReadIterator | ( | const ReadIterator & | src | ) |
Definition at line 37 of file Iterator.cxx.
|
inline |
Definition at line 56 of file Iterator.h.
mbs::ReadIterator & mbs::ReadIterator::operator= | ( | const ReadIterator & | src | ) |
Definition at line 45 of file Iterator.cxx.
bool mbs::ReadIterator::Reset | ( | const dabc::Buffer & | buf | ) |
Initialize iterator on the beginning of the buffer, buffer instance should exists until end of iterator usage.
Definition at line 55 of file Iterator.cxx.
|
inline |
Reset iterator - forget pointer on buffer.
Definition at line 63 of file Iterator.h.
void mbs::ReadIterator::Close | ( | ) |
Definition at line 72 of file Iterator.cxx.
|
inline |
Definition at line 67 of file Iterator.h.
bool mbs::ReadIterator::IsLastEvent | ( | ) | const |
Returns true if it is last event in the buffer.
Definition at line 80 of file Iterator.cxx.
bool mbs::ReadIterator::NextEvent | ( | ) |
Definition at line 88 of file Iterator.cxx.
bool mbs::ReadIterator::NextSubEvent | ( | ) |
Definition at line 157 of file Iterator.cxx.
|
inline |
Definition at line 75 of file Iterator.h.
unsigned mbs::ReadIterator::GetEventSize | ( | ) | const |
Definition at line 122 of file Iterator.cxx.
bool mbs::ReadIterator::AssignEventPointer | ( | dabc::Pointer & | ptr | ) |
Definition at line 146 of file Iterator.cxx.
dabc::Pointer mbs::ReadIterator::GetEventPointer | ( | ) |
Returns pointer, which assign on complete event, including header.
Definition at line 130 of file Iterator.cxx.
dabc::Pointer mbs::ReadIterator::GetSubeventsPointer | ( | ) |
Returns pointer, which assign only on subevents.
Definition at line 137 of file Iterator.cxx.
|
inline |
Definition at line 86 of file Iterator.h.
|
inline |
Definition at line 87 of file Iterator.h.
|
inline |
Definition at line 88 of file Iterator.h.
|
static |
Definition at line 187 of file Iterator.cxx.
|
protected |
Definition at line 42 of file Iterator.h.
|
protected |
Definition at line 43 of file Iterator.h.
|
protected |
Definition at line 44 of file Iterator.h.
|
protected |
Definition at line 45 of file Iterator.h.