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. | ||||
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.
artdaq::SimpleMemoryReader::SimpleMemoryReader | ( | uint32_t | shm_key, | |
uint32_t | broadcast_key, | |||
std::size_t | expectedEventCount = 0 | |||
) | [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.