Simple class that unlocks the mutex when it goes out of scope.
Definition at line 75 of file kfbxmutex.h.
#include <kfbxmutex.h>
Public Member Functions |
|
KFbxMutexHelper (KFbxMutex &pMutex) | |
~KFbxMutexHelper () |
KFbxMutexHelper | ( | KFbxMutex & | pMutex | ) | [inline] |
Definition at line 78 of file kfbxmutex.h.
: mMutex(pMutex) { mMutex.Acquire(); }
~KFbxMutexHelper | ( | ) | [inline] |
Definition at line 79 of file kfbxmutex.h.
{ mMutex.Release(); }