A realtime safe circular (ring) buffer. More...
#include <realtime_circular_buffer.hpp>
Public Member Functions | |
T & | at (size_t index) |
T & | back () |
void | clear () |
bool | empty () |
T & | front () |
T & | operator[] (size_t index) |
void | push_back (const T &item) |
void | push_front (const T &item) |
RealtimeCircularBuffer (int size, const T &default_val) | |
void | set_capacity (unsigned int order, const T &value) |
unsigned int | size () |
Private Member Functions | |
RealtimeCircularBuffer () | |
Private Attributes | |
boost::circular_buffer< T > | cb_ |
unsigned int | counter_ |
A realtime safe circular (ring) buffer.
Definition at line 47 of file realtime_circular_buffer.hpp.
|
private |
|
inline |
Definition at line 53 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 97 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 87 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 82 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 96 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 86 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 98 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 62 of file realtime_circular_buffer.hpp.
|
inline |
Definition at line 75 of file realtime_circular_buffer.hpp.
void filters::RealtimeCircularBuffer< T >::set_capacity | ( | unsigned int | order, |
const T & | value | ||
) |
|
inline |
Definition at line 95 of file realtime_circular_buffer.hpp.
|
private |
Definition at line 103 of file realtime_circular_buffer.hpp.
|
private |
Definition at line 101 of file realtime_circular_buffer.hpp.