#include <SyncObjects.h>
Public Member Functions | |
CSingleLock (CSyncObject &Object) | |
Constructor that locks the given object. | |
~CSingleLock () | |
Destructor that unlocks the locked object. | |
BOOL | IsLocked () |
See if the lock was acquired. | |
void | Lock () |
Lock the locked object. | |
void | Unlock () |
Unlock the locked object. |