Returns a reference to the last item in the queue. It is invalid to call this if empty() is true. It is safe to call this without synchronization primitives only from the writing thread: the thread that calls push_back(). Definition at line 178 of file circBuffer.I.
template<class Thing , int max_size>
Returns a reference to the last item in the queue. It is invalid to call this if empty() is true. It is safe to call this without synchronization primitives only from the writing thread: the thread that calls push_back(). Definition at line 194 of file circBuffer.I.
template<class Thing , int max_size>
Removes all items from the queue. Definition at line 224 of file circBuffer.I.
template<class Thing , int max_size>
Returns true if the buffer is empty. It is safe to call this without synchronization primitives from either the reader or the writer thread, but the result may vary without warning after the call. Definition at line 66 of file circBuffer.I.
template<class Thing , int max_size>
Returns a reference to the first item in the queue. It is invalid to call this if empty() is true. It is safe to call this without synchronization only from the reading thread: the thread that calls pop_front(). Definition at line 96 of file circBuffer.I.
template<class Thing , int max_size>
Returns a reference to the first item in the queue. It is invalid to call this if empty() is true. It is safe to call this without synchronization only from the reading thread: the thread that calls pop_front(). Definition at line 111 of file circBuffer.I.
template<class Thing , int max_size>
Returns true if the buffer is full; if this is true, push_back() will fail. It is safe to call this without synchronization primitives from either the reader or the writer thread, but the result may vary without warning after the call. Definition at line 81 of file circBuffer.I.
template<class Thing , int max_size>
Returns the nth element in the buffer. It is safe to call this without synchronization only from the reading thread: the thread that calls pop_front(). Definition at line 125 of file circBuffer.I.
template<class Thing , int max_size>
Returns the nth element in the buffer. It is safe to call this without synchronization only from the reading thread: the thread that calls pop_front(). Definition at line 139 of file circBuffer.I.
template<class Thing , int max_size>
Removes the first item from the buffer. Definition at line 152 of file circBuffer.I.
template<class Thing, int max_size>
Adds an item to the end of the buffer. This may fail if full() is true. Definition at line 207 of file circBuffer.I.
template<class Thing , int max_size>
Returns the number of items currently in the buffer. This can safely be called without synchronization from either the reader or the writer thread, but the size may of course vary without warning after the call. Definition at line 51 of file circBuffer.I. The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||