DUECA/DUSIME
|
Lightweight helper object for reading an async queue. More...
#include <AsyncQueueMT.hxx>
Public Member Functions | |
AsyncQueueReader (AsyncQueueMT< T, Alloc > &q) | |
Constructor. | |
~AsyncQueueReader () | |
Destructor. | |
bool | valid () const |
Test whether data is present. | |
const T & | data () |
Access a reference to the data. | |
Lightweight helper object for reading an async queue.
Create on stack, destructor signals end of reading and passes to next data.