mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
CircularBuffer< T, BufferSize, CounterType > Class Template Reference
[Platform]
Templated Circular buffer class. More...
#include <CircularBuffer.h>
Public Member Functions | |
void | push (const T &data) |
Push the transaction to the buffer. | |
bool | pop (T &data) |
Pop the transaction from the buffer. | |
bool | empty () |
Check if the buffer is empty. | |
bool | full () |
Check if the buffer is full. | |
void | reset () |
Reset the buffer. |
Detailed Description
template<typename T, uint32_t BufferSize, typename CounterType = uint32_t>
class mbed::CircularBuffer< T, BufferSize, CounterType >
Templated Circular buffer class.
Synchronization level: Interrupt safe
Definition at line 30 of file CircularBuffer.h.
Generated on Wed Jul 13 2022 02:23:50 by 1.7.2