FastLED 3.9.15
Loading...
Searching...
No Matches

◆ push_back()

template<typename T>
bool fl::CircularBuffer< T >::push_back ( const T & value)
inline

Definition at line 24 of file circular_buffer.h.

24 {
25 if (full()) {
26 mTail = increment(mTail); // Overwrite the oldest element
27 }
30 return true;
31 }
fl::size increment(fl::size index) const
fl::scoped_array< T > mBuffer

References full(), increment(), mBuffer, mHead, and mTail.

+ Here is the call graph for this function: