Ardour  9.0-pre0-582-g084a23a80d
PBD::FileArchive::MemPipe Struct Reference

#include <file_archive.h>

Public Member Functions

 MemPipe (Progress *p)
 
 ~MemPipe ()
 
void reset ()
 
void lock ()
 
void unlock ()
 
void signal ()
 
void wait ()
 

Public Attributes

uint8_t buf [8192]
 
uint8_t * data
 
size_t size
 
bool done
 
size_t processed
 
size_t length
 
bool query_length
 
Progressprogress
 

Private Attributes

pthread_mutex_t _lock
 
pthread_cond_t _ready
 

Detailed Description

Definition at line 61 of file file_archive.h.

Constructor & Destructor Documentation

◆ MemPipe()

PBD::FileArchive::MemPipe::MemPipe ( Progress p)
inline

Definition at line 63 of file file_archive.h.

◆ ~MemPipe()

PBD::FileArchive::MemPipe::~MemPipe ( )
inline

Definition at line 73 of file file_archive.h.

Member Function Documentation

◆ lock()

void PBD::FileArchive::MemPipe::lock ( )
inline

Definition at line 95 of file file_archive.h.

◆ reset()

void PBD::FileArchive::MemPipe::reset ( )
inline

Definition at line 83 of file file_archive.h.

◆ signal()

void PBD::FileArchive::MemPipe::signal ( )
inline

Definition at line 97 of file file_archive.h.

◆ unlock()

void PBD::FileArchive::MemPipe::unlock ( )
inline

Definition at line 96 of file file_archive.h.

◆ wait()

void PBD::FileArchive::MemPipe::wait ( )
inline

Definition at line 98 of file file_archive.h.

Member Data Documentation

◆ _lock

pthread_mutex_t PBD::FileArchive::MemPipe::_lock
private

Definition at line 112 of file file_archive.h.

◆ _ready

pthread_cond_t PBD::FileArchive::MemPipe::_ready
private

Definition at line 113 of file file_archive.h.

◆ buf

uint8_t PBD::FileArchive::MemPipe::buf[8192]

Definition at line 100 of file file_archive.h.

◆ data

uint8_t* PBD::FileArchive::MemPipe::data

Definition at line 101 of file file_archive.h.

◆ done

bool PBD::FileArchive::MemPipe::done

Definition at line 103 of file file_archive.h.

◆ length

size_t PBD::FileArchive::MemPipe::length

Definition at line 106 of file file_archive.h.

◆ processed

size_t PBD::FileArchive::MemPipe::processed

Definition at line 105 of file file_archive.h.

◆ progress

Progress* PBD::FileArchive::MemPipe::progress

Definition at line 109 of file file_archive.h.

◆ query_length

bool PBD::FileArchive::MemPipe::query_length

Definition at line 107 of file file_archive.h.

◆ size

size_t PBD::FileArchive::MemPipe::size

Definition at line 102 of file file_archive.h.


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