LibNRG  0.0.1
Networking for Real-time Games library
 All Classes Files Functions Variables Friends
nrg::RingBuffer< T, N > Class Template Reference

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< iteratorrbegin () const
 Returns a Reverse-Iterator to the reverse-beginning of the RingBuffer.
 
std::reverse_iterator< iteratorrend () const
 Returns a Reverse-Iterator to the reverse-end of the RingBuffer.
 

The documentation for this class was generated from the following file: