Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSemaphoreReleaser Class Reference

#include <qsemaphore.h>

Collaboration diagram for QSemaphoreReleaser:

Public Member Functions

Q_NODISCARD_CTOR QSemaphoreReleaser ()=default
Q_NODISCARD_CTOR QSemaphoreReleaser (QSemaphore &sem, int n=1) noexcept
Q_NODISCARD_CTOR QSemaphoreReleaser (QSemaphore *sem, int n=1) noexcept
Q_NODISCARD_CTOR QSemaphoreReleaser (QSemaphoreReleaser &&other) noexcept
 ~QSemaphoreReleaser ()
void swap (QSemaphoreReleaser &other) noexcept
QSemaphoresemaphore () const noexcept
QSemaphorecancel () noexcept

Detailed Description

Definition at line 65 of file qsemaphore.h.

Constructor & Destructor Documentation

◆ QSemaphoreReleaser() [1/4]

Q_NODISCARD_CTOR QSemaphoreReleaser::QSemaphoreReleaser ( )
default

◆ QSemaphoreReleaser() [2/4]

Q_NODISCARD_CTOR QSemaphoreReleaser::QSemaphoreReleaser ( QSemaphore & sem,
int n = 1 )
inlineexplicitnoexcept

Definition at line 71 of file qsemaphore.h.

◆ QSemaphoreReleaser() [3/4]

Q_NODISCARD_CTOR QSemaphoreReleaser::QSemaphoreReleaser ( QSemaphore * sem,
int n = 1 )
inlineexplicitnoexcept

Definition at line 74 of file qsemaphore.h.

◆ QSemaphoreReleaser() [4/4]

Q_NODISCARD_CTOR QSemaphoreReleaser::QSemaphoreReleaser ( QSemaphoreReleaser && other)
inlinenoexcept

Definition at line 77 of file qsemaphore.h.

◆ ~QSemaphoreReleaser()

QSemaphoreReleaser::~QSemaphoreReleaser ( )
inline

Definition at line 81 of file qsemaphore.h.

Member Function Documentation

◆ cancel()

QSemaphore * QSemaphoreReleaser::cancel ( )
inlinenoexcept

Definition at line 96 of file qsemaphore.h.

◆ semaphore()

QSemaphore * QSemaphoreReleaser::semaphore ( ) const
inlinenoexcept

Definition at line 93 of file qsemaphore.h.

◆ swap()

void QSemaphoreReleaser::swap ( QSemaphoreReleaser & other)
inlinenoexcept

Definition at line 87 of file qsemaphore.h.


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