| 
    logog
    
   logger optimized for games 
   | 
 
#include <mutex.hpp>
 Inheritance diagram for ScopedLock:Public Member Functions | |
| ScopedLock (Mutex &mutex) | |
| ~ScopedLock () | |
  Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () | 
| void * | operator new (size_t nSize) | 
| void * | operator new[] (size_t nSize) | 
| void | operator delete (void *ptr) | 
| void | operator delete[] (void *ptr) | 
Protected Attributes | |
| Mutex * | m_pMutex | 
Additional Inherited Members | |
  Static Public Member Functions inherited from Object | |
| static void * | Allocate (size_t nSize) | 
| static void | Deallocate (void *ptr) | 
Asserts a lock while this object exists and is in scope. A ScopedLock should be declared in "auto" format, typically on the stack.
| ScopedLock | ( | Mutex & | mutex | ) | 
Instances and locks a ScopedLock.
| mutex | The mutex to attempt to lock. Program execution halts at this point until the lock can be obtained. | 
| ~ScopedLock | ( | ) | 
      
  | 
  protected | 
A pointer to the lockable mutex.