Class CircularBuffer¶
template <typename T>
Public Types¶
| Type | Name |
|---|---|
| typedef BufferIterator< true > | const_iterator |
| typedef BufferIterator< false > | iterator |
| typedef T | value_type |
Public Functions¶
| Type | Name |
|---|---|
| CircularBuffer (size_t size) | |
| CircularBuffer (const CircularBuffer & other) | |
| CircularBuffer (CircularBuffer && other) noexcept | |
| const_reference | at (size_type index) const |
| reference | at (size_type index) |
| reference | back () |
| const_reference | back () const |
| iterator | begin () |
| const_iterator | begin () const |
| size_type | buffer_size () const |
| size_type | capacity () const |
| const_iterator | cbegin () noexcept const |
| const_iterator | cend () noexcept const |
| void | clear () |
| const_pointer | data () const |
| bool | empty () const |
| iterator | end () |
| const_iterator | end () const |
| reference | front () |
| const_reference | front () const |
| bool | full () const |
| CircularBuffer & | operator= (const CircularBuffer & other) |
| CircularBuffer & | operator= (CircularBuffer && other) noexcept |
| const_reference | operator[] (size_type index) const |
| reference | operator[] (size_type index) |
| void | pop_front () |
| void | push_back (const value_type & data) |
| void | push_back (value_type && data) noexcept |
| iterator | rbegin () noexcept |
| const_iterator | rbegin () noexcept const |
| iterator | rend () noexcept |
| const_iterator | rend () noexcept const |
| size_type | size () const |
Public Types Documentation¶
typedef const_iterator¶
typedef iterator¶
typedef value_type¶
Public Functions Documentation¶
function CircularBuffer [⅓]¶
function CircularBuffer [⅔]¶
function CircularBuffer [3/3]¶
function at [½]¶
function at [2/2]¶
function back [½]¶
function back [2/2]¶
function begin [½]¶
function begin [2/2]¶
function buffer_size¶
function capacity¶
function cbegin¶
function cend¶
function clear¶
function data¶
function empty¶
function end [½]¶
function end [2/2]¶
function front [½]¶
function front [2/2]¶
function full¶
function operator=¶
function operator=¶
function operator[]¶
function operator[]¶
function pop_front¶
function push_back [½]¶
function push_back [2/2]¶
function rbegin [½]¶
function rbegin [2/2]¶
function rend [½]¶
function rend [2/2]¶
function size¶
The documentation for this class was generated from the following file src/utils/CircularBuffer.h