#include <CircularBuffer.h>
◆ CircularBuffer()
template<typename E, int bufferCapacity>
◆ ~CircularBuffer()
template<typename E, int bufferCapacity>
◆ available()
template<typename E, int bufferCapacity>
if buffer has one or more stored items
◆ peek()
template<typename E, int bufferCapacity>
peek at the next item in the buffer without removing it
◆ pop()
template<typename E, int bufferCapacity>
retrieve the next item from the buffer, requires that available() is checked first.
◆ put()
template<typename E, int bufferCapacity>
store an item to the buffer - overwrite the oldest item if buffer is full never called from an interrupt context so we don't need to worry about interrupts
◆ clear()
template<typename E, int bufferCapacity>
◆ bufUse()
template<typename E, int bufferCapacity>
recalculate number of items in the buffer
◆ getNumberOfPuts()
template<typename E, int bufferCapacity = 4>
◆ getNumberOfGets()
template<typename E, int bufferCapacity = 4>
◆ getOverflows()
template<typename E, int bufferCapacity = 4>
◆ getHighWaterMark()
template<typename E, int bufferCapacity = 4>
The documentation for this class was generated from the following file: