Urho3D::MutexLock Class Reference
Urho3D::MutexLock Class Reference
Lock that automatically acquires and releases a mutex. More...
#include <Urho3D/Core/Mutex.h>
Collaboration diagram for Urho3D::MutexLock:
Public Member Functions | |
MutexLock (Mutex &mutex) | |
Construct and acquire the mutex. | |
~MutexLock () | |
Destruct. Release the mutex. | |
MutexLock (const MutexLock &rhs)=delete | |
Prevent copy construction. | |
MutexLock & | operator= (const MutexLock &rhs)=delete |
Prevent assignment. | |
Private Attributes | |
Mutex & | mutex_ |
Mutex reference. | |
Detailed Description
Lock that automatically acquires and releases a mutex.
The documentation for this class was generated from the following files:
- Source/Urho3D/Core/Mutex.h
- Source/Urho3D/Core/Mutex.cpp