Primitive ring buffer class.
More...
#include <IndexedVector.h>
|
void | resize (size_t newSize) |
| Resize the underlying vector.
|
|
auto | get () const -> float |
| Get the element at the current index.
|
|
void | add (float val) |
| Add a value to the element at the current index.
|
|
void | set (float val) |
| Set the element at the current index.
|
|
void | incrementIndex () |
| Increment the index with wraparound.
|
|
void | clear () |
| Set all elements to zero.
|
|
Primitive ring buffer class.
Can be used as a simple delay line or FIFO queue.
The documentation for this class was generated from the following files: