The C++ framework for developing highly scalable, high performance servers on Windows platforms.

ILockableObject Class Reference
[Win32 Synchronization primitivesInterfaces]

Inheritance diagram for ILockableObject:

List of all members.


Detailed Description

An interface onto objects that can be locked.

Public Types

typedef
TLockableObjectOwner
< ILockableObject
Owner
typedef
TLockableObjectConditionalOwner
< ILockableObject
ConditionalOwner
typedef
TLockableObjectPotentialOwner
< ILockableObject
PotentialOwner

Public Member Functions

virtual bool TryLock ()=0
 Try to lock the lockable object, returns true if successful and false if the lock is already locked.
virtual void Lock ()=0
 Lock the lockable object.
virtual void Unlock ()=0
 Unlock the lockable object.
virtual ~ILockableObject ()
 Instances of this interface can be deleted by their users.

Member Typedef Documentation


Constructor & Destructor Documentation

virtual ~ILockableObject (  )  [virtual]

Instances of this interface can be deleted by their users.


Member Function Documentation


Generated on Sun Sep 12 19:08:30 2021 for The Server Framework - v7.4 by doxygen 1.5.3