FastLED 3.9.15
Loading...
Searching...
No Matches
fl::StaticCircularBuffer< T, N > Class Template Reference

Detailed Description

template<typename T, fl::size N>
class fl::StaticCircularBuffer< T, N >

Definition at line 15 of file circular_buffer.h.

#include <circular_buffer.h>

Public Member Functions

 StaticCircularBuffer ()
 
constexpr fl::size capacity () const
 
void clear ()
 
bool empty () const
 
bool full () const
 
bool pop (T &value)
 
void push (const T &value)
 
fl::size size () const
 

Private Attributes

mBuffer [N+1]
 
fl::size mHead
 
fl::size mTail
 

The documentation for this class was generated from the following file: