14template <
typename T, fl::size N>
19 void push(
const T &value) {
37 constexpr fl::size
capacity()
const {
return N; }
bool pop_front(T *dst=nullptr)
DynamicCircularBuffer & operator=(const DynamicCircularBuffer &)=delete
DynamicCircularBuffer(const DynamicCircularBuffer &)=delete
bool pop_back(T *dst=nullptr)
fl::size increment(fl::size index) const
bool push_back(const T &value)
fl::size decrement(fl::size index) const
bool push_front(const T &value)
fl::size capacity() const
T & operator[](fl::size index)
DynamicCircularBuffer(fl::size capacity)
const T & operator[](fl::size index) const
fl::scoped_array< T > mBuffer
constexpr fl::size capacity() const
void push(const T &value)
Implements the FastLED namespace macros.
DynamicCircularBuffer< T > CircularBuffer