PtObjStateLockList is a class that you can use to get information about the 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.
Look at the class description for PtObjStateLockEntry to see how to get information on each lock.
Files to include | Class declaration | Base class |
poet.hxx | ptinfo.hxx | PtObjectState |
constructor | PtObjStateLockList(); |
destructor | virtual ~PtObjStateLockList(); |
GetLockEntry | const PtObjStateLockEntry* GetLockEntry(short pos) const; |
GetNumEntries | inline short GetNumLockEntries() const; |
- PtObjStateLockList::PtObjStateLockList()
- virtual PtObjStateLockList::~PtObjStateLockList()
- const PtObjStateLockEntry* PtObjStateLockList::GetLockEntry(short pos) const
Returns a pointer to the lock entry at that position. If pos is past the end of the lock list, returns a 0.
- inline short PtObjStateLockList::GetNumLockEntries() const
Returns the number of entries in the lock list.
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.