#include <RingBuf.h>
Public Member Functions | |
bool | add (Type &obj) |
bool | isEmpty () |
bool | isFull () |
uint16_t | numElements () |
Type | peek (uint16_t num) |
bool | pull (Type *dest) |
RingBufCPP (pros::Mutex &mut) | |
Protected Member Functions | |
uint16_t | getTail () |
Protected Attributes | |
Type | _buf [MaxElements] |
uint16_t | _head |
uint16_t | _numElements |
Private Attributes | |
pros::Mutex & | rosvexMutex |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
private |