Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

ring_buffer< T, Size, S > Class Template Reference

ring_buffer< T, Size, S > Class Template Reference

The Ring Buffer Template. More...

#include <usrlib.h>


Detailed Description

template<typename T, word Size, typename S = byte>
class usr::ring_buffer< T, Size, S >

The Ring Buffer Template.

Carries out FIFO functionality for arbitrary data types

Allows to: add item to back (default), add item to front, get item at front (default), get item from back, write items from array, read items to array and some other actions

Definition at line 118 of file usrlib.h.