Ardour  9.0-pre0-582-g084a23a80d
AbstractUI< RequestObject >::RequestBuffer Struct Reference

#include <abstract_ui.h>

Inheritance diagram for AbstractUI< RequestObject >::RequestBuffer:
[legend]

Public Member Functions

 RequestBuffer (uint32_t size)
 
- Public Member Functions inherited from PBD::RingBufferNPT< RequestObject >
 RingBufferNPT (size_t sz)
 
virtual ~RingBufferNPT ()
 
void reset ()
 
void set (size_t r, size_t w)
 
size_t read (RequestObject *dest, size_t cnt)
 
size_t write (const RequestObject *src, size_t cnt)
 
size_t write_one (const RequestObject 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 ()
 
RequestObject * buffer ()
 
size_t get_write_ptr () const
 
size_t get_read_ptr () const
 
size_t bufsize () const
 

Public Attributes

bool dead
 

Additional Inherited Members

- Protected Attributes inherited from PBD::RingBufferNPT< RequestObject >
RequestObject * buf
 
size_t size
 
std::atomic< int > write_ptr
 
std::atomic< int > read_ptr
 

Detailed Description

template<typename RequestObject>
struct AbstractUI< RequestObject >::RequestBuffer

Definition at line 68 of file abstract_ui.h.

Constructor & Destructor Documentation

◆ RequestBuffer()

template<typename RequestObject >
AbstractUI< RequestObject >::RequestBuffer::RequestBuffer ( uint32_t  size)
inline

Definition at line 70 of file abstract_ui.h.

Member Data Documentation

◆ dead

template<typename RequestObject >
bool AbstractUI< RequestObject >::RequestBuffer::dead

Definition at line 69 of file abstract_ui.h.


The documentation for this struct was generated from the following file: