This class is used to register a writer with the queue. More...
#include "thread_queue.h"
Classes | |
class | Item |
This class is used to write items to the queue. More... | |
Public Member Functions | |
Writer (Queue< T > &queue) | |
Register a Writer object with the queue. More... | |
Writer (const Writer &W) | |
Item | placeholder () const |
This class is used to register a writer with the queue.
Items cannot be written directly onto a Thread::Queue queue. An object of this class must first be instanciated to notify the queue that a section of code will be writing to the queue. The actual process of writing items to the queue is done via the Writer::Item class.
Definition at line 375 of file thread_queue.h.
|
inline |
Register a Writer object with the queue.
The Writer object will register itself with the queue as a writer.
Definition at line 380 of file thread_queue.h.
|
inline |
Definition at line 383 of file thread_queue.h.
|
inline |
Definition at line 428 of file thread_queue.h.