|
DABC (Data Acquisition Backbone Core)
2.9.9
|
Write iterator for HADAQ events/subevents. More...
#include <hadaq/Iterator.h>
Public Member Functions | |
| bool | AddAllSubevents (hadaq::RawEvent *evnt) |
| bool | AddSubevent (const dabc::Pointer &source) |
| bool | AddSubevent (const void *ptr, unsigned len) |
| bool | AddSubevent (hadaq::RawSubevent *sub) |
| dabc::Buffer | Close () |
| hadaq::RawEvent * | evnt () const |
| bool | FinishEvent () |
| bool | FinishSubEvent (uint32_t rawdatasz) |
| bool | IsBuffer () const |
| bool | IsEmpty () const |
| bool | IsPlaceForEvent (uint32_t subeventsize) |
| uint32_t | maxrawdatasize () const |
| bool | NewEvent (uint32_t evtSeqNr=0, uint32_t runNr=0, uint32_t minsubeventsize=0) |
| bool | NewSubevent (uint32_t minrawsize=0, uint32_t trigger=0) |
| void * | rawdata () const |
| bool | Reset (const dabc::Buffer &buf) |
| hadaq::RawSubevent * | subevnt () const |
| WriteIterator () | |
| WriteIterator (const dabc::Buffer &buf) | |
| ~WriteIterator () | |
Protected Attributes | |
| dabc::Buffer | fBuffer |
| dabc::Pointer | fEvPtr |
| dabc::BufferSize_t | fFullSize |
| dabc::Pointer | fSubPtr |
Write iterator for HADAQ events/subevents.
Definition at line 104 of file Iterator.h.
| hadaq::WriteIterator::WriteIterator | ( | ) |
Definition at line 269 of file Iterator.cxx.
| hadaq::WriteIterator::WriteIterator | ( | const dabc::Buffer & | buf | ) |
Definition at line 277 of file Iterator.cxx.
| hadaq::WriteIterator::~WriteIterator | ( | ) |
Definition at line 286 of file Iterator.cxx.
| bool hadaq::WriteIterator::Reset | ( | const dabc::Buffer & | buf | ) |
Definition at line 291 of file Iterator.cxx.
|
inline |
Definition at line 112 of file Iterator.h.
|
inline |
Definition at line 113 of file Iterator.h.
| bool hadaq::WriteIterator::IsPlaceForEvent | ( | uint32_t | subeventsize | ) |
Definition at line 322 of file Iterator.cxx.
| bool hadaq::WriteIterator::NewEvent | ( | uint32_t | evtSeqNr = 0, |
| uint32_t | runNr = 0, |
||
| uint32_t | minsubeventsize = 0 |
||
| ) |
Definition at line 333 of file Iterator.cxx.
| bool hadaq::WriteIterator::NewSubevent | ( | uint32_t | minrawsize = 0, |
| uint32_t | trigger = 0 |
||
| ) |
Definition at line 353 of file Iterator.cxx.
| bool hadaq::WriteIterator::FinishSubEvent | ( | uint32_t | rawdatasz | ) |
Definition at line 367 of file Iterator.cxx.
| bool hadaq::WriteIterator::AddSubevent | ( | const dabc::Pointer & | source | ) |
Definition at line 380 of file Iterator.cxx.
| bool hadaq::WriteIterator::AddSubevent | ( | const void * | ptr, |
| unsigned | len | ||
| ) |
Definition at line 396 of file Iterator.cxx.
|
inline |
Definition at line 121 of file Iterator.h.
|
inline |
Definition at line 125 of file Iterator.h.
| bool hadaq::WriteIterator::FinishEvent | ( | ) |
Definition at line 413 of file Iterator.cxx.
| dabc::Buffer hadaq::WriteIterator::Close | ( | ) |
Definition at line 309 of file Iterator.cxx.
|
inline |
Definition at line 133 of file Iterator.h.
|
inline |
Definition at line 134 of file Iterator.h.
|
inline |
Definition at line 135 of file Iterator.h.
|
inline |
Definition at line 136 of file Iterator.h.
|
protected |
Definition at line 139 of file Iterator.h.
|
protected |
Definition at line 140 of file Iterator.h.
|
protected |
Definition at line 141 of file Iterator.h.
|
protected |
Definition at line 142 of file Iterator.h.