#include <MutexUtils.h>
Public Types | |
typedef M | Mutex |
Public Member Functions | |
lockSentry (M &im) | |
operator typename M::scoped_lock & () | |
M::scoped_lock & | operator() () |
~lockSentry () | |
Private Attributes | |
M::scoped_lock | m |
Definition at line 50 of file MutexUtils.h.
typedef M lockSentry< M >::Mutex |
Definition at line 52 of file MutexUtils.h.
lockSentry< M >::lockSentry | ( | M & | im | ) | [inline, explicit] |
Definition at line 54 of file MutexUtils.h.
:m(im) {}
lockSentry< M >::~lockSentry | ( | ) | [inline] |
Definition at line 55 of file MutexUtils.h.
{}
lockSentry< M >::operator typename M::scoped_lock & | ( | ) | [inline] |
M::scoped_lock& lockSentry< M >::operator() | ( | ) | [inline] |
M::scoped_lock lockSentry< M >::m [private] |
Definition at line 61 of file MutexUtils.h.
Referenced by lockSentry< M >::operator typename M::scoped_lock &(), and lockSentry< M >::operator()().