artdaq_core
v3_05_07
|
SimpleQueueReader will continue to read RawEvent objects off the queue until it encounters a null pointer, at which point it stops. More...
#include <artdaq-core/Core/SimpleQueueReader.hh>
Public Member Functions | |||
SimpleQueueReader (std::size_t expectedEventCount=0) | |||
Constructs a SimpleQueueReader. More... | |||
void | run () | ||
Run until a null pointer is popped off of the RawEventQueue. Throws an excpetion if expectedEventCount is set and a different number of events come off the queue.
| |||
SimpleQueueReader will continue to read RawEvent objects off the queue until it encounters a null pointer, at which point it stops.
Definition at line 24 of file SimpleQueueReader.hh.
|
explicit |
Constructs a SimpleQueueReader.
expectedEventCount | The number of events the SimpleQueueReader should expect |
Definition at line 38 of file SimpleQueueReader.cc.