Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Private Attributes | List of all members
OMutexLocker Class Reference

Class used as RAII object (Resource Acquisition Is Initialization) More...

#include <threading.h>

Public Member Functions

 OMutexLocker (QMutex &mutex)
 Constructors. More...
 
 OMutexLocker (const QMutex &mutex)
 
 ~OMutexLocker ()
 Destructor. More...
 
 OMutexLocker (QMutex &mutex)
 Constructors. More...
 
 OMutexLocker (const QMutex &mutex)
 
 ~OMutexLocker ()
 Destructor. More...
 

Private Attributes

QMutex * _mutex
 

Detailed Description

Class used as RAII object (Resource Acquisition Is Initialization)

Author
Projet_Tympan

Definition at line 92 of file threading.h.

Constructor & Destructor Documentation

◆ OMutexLocker() [1/4]

OMutexLocker::OMutexLocker ( QMutex &  mutex)
inline

Constructors.

Definition at line 106 of file threading.h.

◆ OMutexLocker() [2/4]

OMutexLocker::OMutexLocker ( const QMutex &  mutex)
inline

Definition at line 112 of file threading.h.

◆ ~OMutexLocker() [1/2]

OMutexLocker::~OMutexLocker ( )
inline

Destructor.

Definition at line 118 of file threading.h.

◆ OMutexLocker() [3/4]

OMutexLocker::OMutexLocker ( QMutex &  mutex)

Constructors.

◆ OMutexLocker() [4/4]

OMutexLocker::OMutexLocker ( const QMutex &  mutex)

◆ ~OMutexLocker() [2/2]

OMutexLocker::~OMutexLocker ( )

Destructor.

Member Data Documentation

◆ _mutex

QMutex * OMutexLocker::_mutex
private

Definition at line 103 of file threading.h.


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