class CVD::RingBuffer< T >
Implements a ringbuffer based on std::vector.
A ringbuffer is a circular buffer i.e. once the end of the buffer is reached, reading or writing continues from the start of the buffer. The buffer maintains a notion of a 'current' element, which is buffer, and one can access elements before this or after this (using [-n] or [n] respectively), as well as advancing the current element slot by calling advance()
|T||The data type held by the buffer |
Definition at line 38 of file ringbuffer.h.