ring / circular buffer implementation
#include <nrg_ringbuffer.h>
Classes | |
class | iterator |
Iterator class for the RingBuffer. More... | |
Public Member Functions | |
RingBuffer () | |
Default Constructor. | |
T & | next (void) |
Moves the ringbuffer up one, and returns a reference to this element. | |
iterator | begin () const |
Returns an Iterator to the beginning of the RingBuffer. | |
iterator | end () const |
Returns an Iterator to the end of the RingBuffer. | |
std::reverse_iterator< iterator > | rbegin () const |
Returns a Reverse-Iterator to the reverse-beginning of the RingBuffer. | |
std::reverse_iterator< iterator > | rend () const |
Returns a Reverse-Iterator to the reverse-end of the RingBuffer. | |