#include <safecoll.h>
Public Member Functions | |
PSafeLockReadOnly (const PSafeObject &object) | |
~PSafeLockReadOnly () | |
BOOL | Lock () |
void | Unlock () |
BOOL | IsLocked () const |
bool | operator! () const |
Protected Attributes | |
PSafeObject & | safeObject |
BOOL | locked |
PSafeLockReadOnly::PSafeLockReadOnly | ( | const PSafeObject & | object | ) |
PSafeLockReadOnly::~PSafeLockReadOnly | ( | ) |
BOOL PSafeLockReadOnly::Lock | ( | ) |
void PSafeLockReadOnly::Unlock | ( | ) |
BOOL PSafeLockReadOnly::IsLocked | ( | ) | const [inline] |
bool PSafeLockReadOnly::operator! | ( | ) | const [inline] |
PSafeObject& PSafeLockReadOnly::safeObject [protected] |
BOOL PSafeLockReadOnly::locked [protected] |