#include <bt_circular_buffer.h>
Public Member Functions | |
bt_circular_buffer () | |
T & | pop (void) |
void | push (T const &data) |
std::vector< T > | read_all () |
int | size_max () |
int | size_used () |
~bt_circular_buffer () | |
Private Member Functions | |
int | increase_pos (int pos) |
Private Attributes | |
int | begin_pos_ |
int | current_pos_ |
T * | data_ |
size_t | size_ |
Static Private Attributes | |
static const int | BUFFER_SIZE = 132000 |
Definition at line 8 of file bt_circular_buffer.h.
bt_circular_buffer< T >::bt_circular_buffer | ( | ) | [inline] |
Definition at line 12 of file bt_circular_buffer.h.
bt_circular_buffer< T >::~bt_circular_buffer | ( | ) | [inline] |
Definition at line 25 of file bt_circular_buffer.h.
int bt_circular_buffer< T >::increase_pos | ( | int | pos | ) | [inline, private] |
Definition at line 109 of file bt_circular_buffer.h.
T& bt_circular_buffer< T >::pop | ( | void | ) | [inline] |
Definition at line 69 of file bt_circular_buffer.h.
void bt_circular_buffer< T >::push | ( | T const & | data | ) | [inline] |
Definition at line 30 of file bt_circular_buffer.h.
std::vector<T> bt_circular_buffer< T >::read_all | ( | ) | [inline] |
Definition at line 46 of file bt_circular_buffer.h.
int bt_circular_buffer< T >::size_max | ( | ) | [inline] |
Definition at line 81 of file bt_circular_buffer.h.
int bt_circular_buffer< T >::size_used | ( | ) | [inline] |
Definition at line 86 of file bt_circular_buffer.h.
int bt_circular_buffer< T >::begin_pos_ [private] |
Definition at line 107 of file bt_circular_buffer.h.
const int bt_circular_buffer< T >::BUFFER_SIZE = 132000 [static, private] |
Definition at line 101 of file bt_circular_buffer.h.
int bt_circular_buffer< T >::current_pos_ [private] |
Definition at line 104 of file bt_circular_buffer.h.
T* bt_circular_buffer< T >::data_ [private] |
Definition at line 103 of file bt_circular_buffer.h.
size_t bt_circular_buffer< T >::size_ [private] |
Definition at line 106 of file bt_circular_buffer.h.