openMSX
|
#include <CircularBuffer.hh>
Public Member Functions | |
constexpr | CircularBuffer ()=default |
constexpr void | addFront (const T &element) |
constexpr void | addFront (T &&element) |
constexpr void | addBack (const T &element) |
constexpr void | addBack (T &&element) |
constexpr T & | removeFront () |
constexpr T & | removeBack () |
constexpr T & | operator[] (size_t pos) |
constexpr const T & | operator[] (size_t pos) const |
constexpr bool | isEmpty () const |
constexpr bool | isFull () const |
constexpr size_t | size () const |
void | clear () |
Definition at line 12 of file CircularBuffer.hh.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 27 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::isFull().
Referenced by TEST_CASE().
|
inlineconstexpr |
Definition at line 32 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::isFull().
|
inlineconstexpr |
Definition at line 17 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::isFull().
Referenced by openmsx::Display::Display(), openmsx::Display::repaintImpl(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 22 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::isFull().
|
inline |
Definition at line 73 of file CircularBuffer.hh.
|
inlineconstexpr |
Definition at line 59 of file CircularBuffer.hh.
Referenced by openmsx::CircularBuffer< T, MAXSIZE >::removeBack(), openmsx::CircularBuffer< T, MAXSIZE >::removeFront(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 62 of file CircularBuffer.hh.
Referenced by openmsx::CircularBuffer< T, MAXSIZE >::addBack(), openmsx::CircularBuffer< T, MAXSIZE >::addBack(), openmsx::CircularBuffer< T, MAXSIZE >::addFront(), openmsx::CircularBuffer< T, MAXSIZE >::addFront(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 48 of file CircularBuffer.hh.
|
inlineconstexpr |
Definition at line 56 of file CircularBuffer.hh.
|
inlineconstexpr |
Definition at line 43 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::isEmpty().
Referenced by openmsx::Display::repaintImpl(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 37 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::isEmpty().
Referenced by TEST_CASE().
|
inlineconstexpr |
Definition at line 65 of file CircularBuffer.hh.
Referenced by TEST_CASE().