APM:Libraries
|
#include <RingBuffer.h>
Public Member Functions | |
ObjectBuffer (uint32_t _size) | |
~ObjectBuffer (void) | |
void | clear (void) |
uint32_t | available (void) const |
uint32_t | space (void) const |
bool | empty (void) const |
bool | push (const T &object) |
bool | push (const T *object, uint32_t n) |
bool | pop (void) |
bool | pop (T &object) |
bool | push_force (const T &object) |
bool | push_force (const T *object, uint32_t n) |
bool | peek (T &object) |
bool | update (const T &object) |
Private Attributes | |
ByteBuffer * | buffer = nullptr |
Definition at line 98 of file RingBuffer.h.
|
inline |
Definition at line 100 of file RingBuffer.h.
|
inline |
Definition at line 103 of file RingBuffer.h.
|
inline |
Definition at line 114 of file RingBuffer.h.
Referenced by ChibiOS::SoftSigReaderInt::read().
|
inline |
Definition at line 108 of file RingBuffer.h.
|
inline |
Definition at line 124 of file RingBuffer.h.
|
inline |
Definition at line 187 of file RingBuffer.h.
|
inline |
Definition at line 147 of file RingBuffer.h.
Referenced by ChibiOS::SoftSigReader::read(), and ChibiOS::SoftSigReaderInt::read().
|
inline |
Definition at line 154 of file RingBuffer.h.
|
inline |
Definition at line 129 of file RingBuffer.h.
Referenced by ChibiOS::SoftSigReader::_irq_handler(), and ChibiOS::SoftSigReaderInt::_irq_handler().
|
inline |
Definition at line 137 of file RingBuffer.h.
|
inline |
Definition at line 166 of file RingBuffer.h.
|
inline |
Definition at line 176 of file RingBuffer.h.
|
inline |
Definition at line 119 of file RingBuffer.h.
|
inline |
Definition at line 193 of file RingBuffer.h.
|
private |
Definition at line 198 of file RingBuffer.h.