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 22 of file circular_buffer.h.

22 {
23 if (full()) {
24 mTail = increment(mTail); // Overwrite the oldest element
25 }
28 return true;
29 }
fl::scoped_array< T > mBuffer
size_t increment(size_t index) const

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

+ Here is the call graph for this function: