Main Table of Contents


Table of Contents

class PtObjStateLockEntry
PtObjStateLockEntry: class summary
PtObjStateLockEntry::GetDepth()
PtObjStateLockEntry::GetLockCount()

class PtObjStateLockEntry


Intro
PtObjStateLockEntry: class summary
PtObjStateLockEntry::GetDepth()
PtObjStateLockEntry::GetLockCount()

PtObjStateLockEntry is a class that you can use to get information about any lock that has been applied to an object. First, create a PtObjStateLockList, then pass it as a parameter to the object using PtObject::GetObjectInfo(). Once you have done this, the PtObjStateLockList contains a list of PtObjStateLockEntry items, each of which describes one active lock. PtObjStateLockEntry is derived from PtObjStateMaxLock. In addition to the lock information provided by its base class, it also reports the depth mode and the lock count for the lock.


PtObjStateLockEntry: class summary


Intro

Files to include Class declaration Base class
poet.hxx ptinfo.hxx PtObjStateMaxLock

Member functions:

constructor PtObjStateLockEntry();
destructor virtual ~PtObjStateLockEntry();
GetDepth inline PtDepthMode GetDepth() const;
GetLockCount inline PtDWord GetLockCount() const;

PtObjStateLockEntry::GetDepth()


Intro

Declaration:

inline PtDepthMode PtObjStateLockEntry::GetDepth() const

Description:

Returns the depth mode of the strongest lock that is active for the object.


PtObjStateLockEntry::GetLockCount()


Intro

Declaration:

inline PtDWord PtObjStateLockEntry::GetLockCount() const

Description:

Returns the number of active locks for the object.

Copyright (c) 1996 POET Software, Inc. All rights reserved. Reproduction in whole or in part in any form or medium without the express permission of POET Software, Inc. is prohibited.