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

◆ DynamicCircularBuffer() [1/2]

template<typename T>
fl::DynamicCircularBuffer< T >::DynamicCircularBuffer ( fl::size capacity)
inline

Definition at line 51 of file circular_buffer.h.

52 : mCapacity(capacity + 1), mHead(0),
53 mTail(0) { // Extra space for distinguishing full/empty
54 mBuffer.reset(new T[mCapacity]);
55 }
fl::scoped_array< T > mBuffer

References capacity(), mBuffer, mCapacity, mHead, and mTail.

Referenced by DynamicCircularBuffer(), and operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: