Ardour  9.2-79-gba93f2fe52
PBD::Cond Class Reference

#include <mutex.h>

Public Member Functions

 Cond ()
 
void signal ()
 
void broadcast ()
 
void wait (Mutex &mutex)
 
bool wait_for (Mutex &mutex, std::chrono::milliseconds const &rel_time)
 

Private Member Functions

 Cond (Cond const &)=delete
 
Condoperator= (Cond const &)=delete
 

Private Attributes

std::condition_variable _cond
 

Detailed Description

Definition at line 107 of file mutex.h.

Constructor & Destructor Documentation

◆ Cond() [1/2]

PBD::Cond::Cond ( )

◆ Cond() [2/2]

PBD::Cond::Cond ( Cond const &  )
privatedelete

Member Function Documentation

◆ broadcast()

void PBD::Cond::broadcast ( )
inline

Definition at line 117 of file mutex.h.

◆ operator=()

Cond& PBD::Cond::operator= ( Cond const &  )
privatedelete

◆ signal()

void PBD::Cond::signal ( )
inline

Definition at line 112 of file mutex.h.

◆ wait()

void PBD::Cond::wait ( Mutex mutex)
inline

Definition at line 122 of file mutex.h.

◆ wait_for()

bool PBD::Cond::wait_for ( Mutex mutex,
std::chrono::milliseconds const &  rel_time 
)
inline

Definition at line 128 of file mutex.h.

Member Data Documentation

◆ _cond

std::condition_variable PBD::Cond::_cond
private

Definition at line 138 of file mutex.h.


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