artdaq_core
v3_04_02
|
SimpleMemoryReader 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/SimpleMemoryReader.hh>
Public Member Functions | |||
SimpleMemoryReader (uint32_t shm_key, uint32_t broadcast_key, std::size_t expectedEventCount=0) | |||
Constructs a SimpleMemoryReader. 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.
| |||
SimpleMemoryReader will continue to read RawEvent objects off the queue until it encounters a null pointer, at which point it stops.
Definition at line 25 of file SimpleMemoryReader.hh.
|
explicit |
Constructs a SimpleMemoryReader.
shm_key | Key of the shared memory segment |
broadcast_key | Key of the broadcast shared memory segment |
expectedEventCount | The number of events the SimpleMemoryReader should expect |
Definition at line 38 of file SimpleMemoryReader.cc.