#include <TMutexLock.h>
Definition at line 8 of file TMutexLock.h.
◆ TMutexLock() [1/4]
TMutexLock::TMutexLock |
( |
| ) |
|
|
inline |
◆ TMutexLock() [2/4]
TMutexLock::TMutexLock |
( |
TMutex & | mutex | ) |
|
|
inline |
Definition at line 16 of file TMutexLock.h.
17 {
19 }
void Create(TMutex *mutex)
◆ TMutexLock() [3/4]
TMutexLock::TMutexLock |
( |
TMutex * | mutex | ) |
|
|
inline |
◆ TMutexLock() [4/4]
TMutexLock::TMutexLock |
( |
const TMutexLock & | other | ) |
|
|
inline |
Definition at line 26 of file TMutexLock.h.
27 {
28 m_Mutex = other.m_Mutex;
29 }
◆ ~TMutexLock()
TMutexLock::~TMutexLock |
( |
| ) |
|
|
inline |
◆ Create()
void TMutexLock::Create |
( |
TMutex * | mutex | ) |
|
|
inline |
Definition at line 37 of file TMutexLock.h.
38 {
39 m_Mutex = mutex;
41 }
TBOOL Lock(FLAG a_eFlags=FLAG_NONE)
◆ Destroy()
void TMutexLock::Destroy |
( |
| ) |
|
|
inline |
Definition at line 44 of file TMutexLock.h.
45 {
46 if ( m_Mutex )
47 {
48 m_Mutex->Unlock();
50 }
51 }
◆ operator=()
Definition at line 54 of file TMutexLock.h.
55 {
56 m_Mutex = mutexLock.m_Mutex;
57 return *this;
58 }
The documentation for this class was generated from the following file:
- D:/_dev/OpenBarnyard/Source/Toshi/Source/Thread/TMutexLock.h