Argus Camera Sample
Argus Camera Sample
|
An RAII-style class for acquiring a Mutex. More...
#include <Mutex.h>
Public Member Functions | |
ScopedMutex (Mutex &mutex) | |
~ScopedMutex () | |
bool | expectLocked () const |
Private Member Functions | |
ScopedMutex () | |
Hide default/copy constructor and assignment operator. | |
ScopedMutex (ScopedMutex &other) | |
ScopedMutex & | operator= (const ScopedMutex &) |
Private Attributes | |
Mutex * | m_mutex |
bool | m_isLocked |
An RAII-style class for acquiring a Mutex.
The mutex is acquired in the constructor and released in the destructor. This class is NOT to be subclassed.
|
inlineexplicit |
|
private |
Hide default/copy constructor and assignment operator.
|
private |
|
inline |
|
private |