Main Page
|
Namespace List
|
Class Hierarchy
|
Class List
|
Directories
|
File List
|
Class Members
|
File Members
PSafeLockReadOnly Class Reference
#include <
safecoll.h
>
List of all members.
Public Member Functions
PSafeLockReadOnly
(const
PSafeObject
&object)
~PSafeLockReadOnly
()
BOOL
Lock
()
void
Unlock
()
BOOL
IsLocked
() const
bool
operator!
() const
Protected Attributes
PSafeObject
&
safeObject
BOOL
locked
Detailed Description
Lock a
PSafeObject
for read only and automatically unlock it when go out of scope.
Constructor & Destructor Documentation
PSafeLockReadOnly::PSafeLockReadOnly
(
const
PSafeObject
&
object
)
PSafeLockReadOnly::~PSafeLockReadOnly
(
)
Member Function Documentation
BOOL PSafeLockReadOnly::IsLocked
(
)
const
[inline]
BOOL PSafeLockReadOnly::Lock
(
)
bool PSafeLockReadOnly::operator!
(
)
const
[inline]
void PSafeLockReadOnly::Unlock
(
)
Member Data Documentation
BOOL
PSafeLockReadOnly::locked
[protected]
PSafeObject
&
PSafeLockReadOnly::safeObject
[protected]
The documentation for this class was generated from the following file:
safecoll.h
Generated on Wed Sep 28 10:27:37 2005 for PWLib by
1.4.4