Ardour
9.0-pre0-582-g084a23a80d
|
#include <ringbufferNPT.h>
Classes | |
struct | rw_vector |
Public Member Functions | |
RingBufferNPT (size_t sz) | |
virtual | ~RingBufferNPT () |
void | reset () |
void | set (size_t r, size_t w) |
size_t | read (T *dest, size_t cnt) |
size_t | write (const T *src, size_t cnt) |
size_t | write_one (const T src) |
void | get_read_vector (rw_vector *) |
void | get_write_vector (rw_vector *) |
void | decrement_read_ptr (size_t cnt) |
void | increment_read_ptr (size_t cnt) |
void | increment_write_ptr (size_t cnt) |
size_t | write_space () |
size_t | read_space () |
T * | buffer () |
size_t | get_write_ptr () const |
size_t | get_read_ptr () const |
size_t | bufsize () const |
Protected Attributes | |
T * | buf |
size_t | size |
std::atomic< int > | write_ptr |
std::atomic< int > | read_ptr |
Private Member Functions | |
RingBufferNPT (RingBufferNPT const &) | |
Definition at line 36 of file ringbufferNPT.h.
|
inline |
Definition at line 39 of file ringbufferNPT.h.
|
inlinevirtual |
Definition at line 45 of file ringbufferNPT.h.
|
private |
|
inline |
Definition at line 113 of file ringbufferNPT.h.
|
inline |
Definition at line 116 of file ringbufferNPT.h.
|
inline |
Definition at line 73 of file ringbufferNPT.h.
|
inline |
Definition at line 115 of file ringbufferNPT.h.
void PBD::RingBufferNPT< T >::get_read_vector | ( | rw_vector * | ) |
Definition at line 213 of file ringbufferNPT.h.
|
inline |
Definition at line 114 of file ringbufferNPT.h.
void PBD::RingBufferNPT< T >::get_write_vector | ( | rw_vector * | ) |
Definition at line 253 of file ringbufferNPT.h.
|
inline |
Definition at line 77 of file ringbufferNPT.h.
|
inline |
Definition at line 81 of file ringbufferNPT.h.
size_t PBD::RingBufferNPT< T >::read | ( | T * | dest, |
size_t | cnt | ||
) |
Definition at line 129 of file ringbufferNPT.h.
|
inline |
Definition at line 100 of file ringbufferNPT.h.
|
inline |
Definition at line 49 of file ringbufferNPT.h.
|
inline |
Definition at line 55 of file ringbufferNPT.h.
size_t PBD::RingBufferNPT< T >::write | ( | const T * | src, |
size_t | cnt | ||
) |
Definition at line 168 of file ringbufferNPT.h.
size_t PBD::RingBufferNPT< T >::write_one | ( | const T | src | ) |
Definition at line 207 of file ringbufferNPT.h.
|
inline |
Definition at line 85 of file ringbufferNPT.h.
|
protected |
Definition at line 119 of file ringbufferNPT.h.
|
mutableprotected |
Definition at line 122 of file ringbufferNPT.h.
|
protected |
Definition at line 120 of file ringbufferNPT.h.
|
mutableprotected |
Definition at line 121 of file ringbufferNPT.h.