Rebel Fork Framework
Urho3D::MutexLock< T > Class Template Reference

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

#include <Urho3D/Core/Mutex.h>

Inheritance diagram for Urho3D::MutexLock< T >:
Urho3D::NonCopyable

Public Member Functions

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

Private Attributes

T & mutex_
 Mutex reference.

Additional Inherited Members

Private Member Functions inherited from Urho3D::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
 NonCopyable (NonCopyable &&other)=delete
NonCopyable & operator= (const NonCopyable &other)=delete
NonCopyable & operator= (NonCopyable &&other)=delete

Detailed Description

template<typename T>
class Urho3D::MutexLock< T >

Lock that automatically acquires and releases a mutex.


The documentation for this class was generated from the following file:
  • Urho3D/Core/Mutex.h