Lock that automatically acquires and releases a mutex. More...

#include <Mutex.h>

Collaboration diagram for Urho3D::MutexLock:
[legend]

Public Member Functions

 MutexLock (Mutex &mutex)
 Construct and acquire the mutex.
 
 ~MutexLock ()
 Destruct. Release the mutex.
 

Private Member Functions

 MutexLock (const MutexLock &rhs)
 Prevent copy construction.
 
MutexLockoperator= (const MutexLock &rhs)
 Prevent assignment.
 

Private Attributes

Mutexmutex_
 Mutex reference.
 

Detailed Description

Lock that automatically acquires and releases a mutex.


The documentation for this class was generated from the following files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Core/Mutex.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Core/Mutex.cpp