#include <circular_buffer.h>
Public Member Functions | |
circular_buffer (UInt32 bufLen_I, bool doWriteBlock=true, bool doFullRead=false) | |
~circular_buffer () | |
UInt32 | n_avail_write_items () |
UInt32 | n_avail_read_items () |
UInt32 | buffer_length_items () |
bool | do_write_block () |
bool | do_full_read () |
void | reset () |
int | enqueue (T *buf, UInt32 bufLen_I) |
int | dequeue (T *buf, UInt32 *bufLen_I) |
void | abort () |
circular_buffer< T >::circular_buffer | ( | UInt32 | bufLen_I, | |
bool | doWriteBlock = true , |
|||
bool | doFullRead = false | |||
) | [inline] |
circular_buffer< T >::~circular_buffer | ( | ) | [inline] |
void circular_buffer< T >::abort | ( | ) | [inline] |
Referenced by fusb_ephandle_darwin::stop().
UInt32 circular_buffer< T >::buffer_length_items | ( | ) | [inline] |
int circular_buffer< T >::dequeue | ( | T * | buf, | |
UInt32 * | bufLen_I | |||
) | [inline] |
Referenced by fusb_ephandle_darwin::read().
bool circular_buffer< T >::do_full_read | ( | ) | [inline] |
bool circular_buffer< T >::do_write_block | ( | ) | [inline] |
int circular_buffer< T >::enqueue | ( | T * | buf, | |
UInt32 | bufLen_I | |||
) | [inline] |
UInt32 circular_buffer< T >::n_avail_read_items | ( | ) | [inline] |
UInt32 circular_buffer< T >::n_avail_write_items | ( | ) | [inline] |
void circular_buffer< T >::reset | ( | ) | [inline] |
Referenced by circular_buffer< char >::circular_buffer(), and fusb_ephandle_darwin::start().