This class is used to register a reader with the queue. More...
#include "thread_queue.h"
Classes | |
class | Item |
This class is used to read items from the queue. More... | |
Public Member Functions | |
Reader (Queue< T > &queue) | |
Register a Reader object with the queue. More... | |
Reader (const Reader &reader) | |
Item | placeholder () const |
This class is used to register a reader with the queue.
Items cannot be read directly from a Thread::Queue queue. An object of this class must be instanciated to notify the queue that a section of code will be reading from the queue. The actual process of reading items from the queue is done via the Reader::Item class.
Definition at line 445 of file thread_queue.h.
|
inline |
Register a Reader object with the queue.
The Reader object will register itself with the queue as a reader.
Definition at line 450 of file thread_queue.h.
|
inline |
Definition at line 453 of file thread_queue.h.
|
inline |
Definition at line 509 of file thread_queue.h.