artdaq::SimpleQueueReader Class Reference

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>

List of all members.

Public Member Functions

 SimpleQueueReader (std::size_t expectedEventCount=0)
 Constructs a SimpleQueueReader.
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.

Exceptions:
std::string When the expectedEventCount is set and a different number of events come off the queue.


Detailed Description

SimpleQueueReader will continue to read RawEvent objects off the queue until it encounters a null pointer, at which point it stops.

Definition at line 26 of file SimpleQueueReader.hh.


Constructor & Destructor Documentation

artdaq::SimpleQueueReader::SimpleQueueReader ( std::size_t  expectedEventCount = 0  )  [explicit]

Constructs a SimpleQueueReader.

Parameters:
expectedEventCount The number of events the SimpleQueueReader should expect

Definition at line 39 of file SimpleQueueReader.cc.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator

Generated on 23 May 2017 for artdaq_core by  doxygen 1.6.1