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