A template interface for a ring buffer.
More...
#include <RingBuffer.hpp>
◆ getCurrentHead()
template<typename value_type_new , uint64_t size>
- Returns
- a pointer to the current head position.
Definition at line 99 of file RingBuffer.hpp.
◆ getCurrentTail()
template<typename value_type_new , uint64_t size>
- Returns
- a pointer to the current tail position.
Definition at line 93 of file RingBuffer.hpp.
◆ getUsedSpace()
template<typename value_type_new , uint64_t size>
- Returns
- the used space in the buffer.
Definition at line 87 of file RingBuffer.hpp.
◆ isItEmpty()
template<typename value_type_new , uint64_t size>
- Returns
- true if the buffer is empty, otherwise false.
Definition at line 105 of file RingBuffer.hpp.
◆ isItFull()
template<typename value_type_new , uint64_t size>
- Returns
- true if the buffer is full, otherwise false.
Definition at line 111 of file RingBuffer.hpp.
◆ modifyReadOrWritePosition()
template<typename value_type_new , uint64_t size>
- Parameters
-
type | the access type (read or write). |
sizeNew | the size by which to modify the position. |
Definition at line 77 of file RingBuffer.hpp.
The documentation for this class was generated from the following file: