Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWaitCondition Class Reference

#include <qwaitcondition.h>

+ Collaboration diagram for QWaitCondition:

Public Member Functions

 QWaitCondition ()
 
 ~QWaitCondition ()
 
bool wait (QMutex *, QDeadlineTimer=QDeadlineTimer(QDeadlineTimer::Forever))
 
bool wait (QReadWriteLock *, QDeadlineTimer=QDeadlineTimer(QDeadlineTimer::Forever))
 
bool wait (QMutex *, unsigned long)
 
bool wait (QReadWriteLock *, unsigned long)
 
void wakeOne ()
 
void wakeAll ()
 
void notify_one ()
 
void notify_all ()
 

Detailed Description

Definition at line 48 of file qwaitcondition.h.

Constructor & Destructor Documentation

◆ QWaitCondition()

QWaitCondition::QWaitCondition ( )
inline

Definition at line 51 of file qwaitcondition.h.

◆ ~QWaitCondition()

QWaitCondition::~QWaitCondition ( )
inline

Definition at line 52 of file qwaitcondition.h.

Member Function Documentation

◆ notify_all()

void QWaitCondition::notify_all ( )
inline

Definition at line 65 of file qwaitcondition.h.

References wakeAll().

+ Here is the call graph for this function:

◆ notify_one()

void QWaitCondition::notify_one ( )
inline

Definition at line 64 of file qwaitcondition.h.

Referenced by QWindowsMediaDeviceReader::OnFinalize(), and QCGWindowCapture::Grabber::onNewFrame().

+ Here is the caller graph for this function:

◆ wait() [1/4]

◆ wait() [2/4]

bool QWaitCondition::wait ( QMutex * mutex,
unsigned long time )
inline

Definition at line 58 of file qwaitcondition.h.

◆ wait() [3/4]

bool QWaitCondition::wait ( QReadWriteLock * readWriteLock,
QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::Forever) )
inline

Definition at line 56 of file qwaitcondition.h.

◆ wait() [4/4]

bool QWaitCondition::wait ( QReadWriteLock * readWriteLock,
unsigned long time )
inline

Definition at line 59 of file qwaitcondition.h.

◆ wakeAll()

◆ wakeOne()


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