When you call PtObject::GetObjectInfo(), you give it a PtObjectState to enable it to report information on the state of the object. The information that you get depends on the full derived type of the PtObjectState that you give it. For instance, if you specify a PtObjStateMaxLock, you will receive information on the maximum lock for this object. PtObjStateLockList reports all locks. PtObjStateWatchList reports all active watches for each watched object, and pos iterates through only the watched objects. If you specify a PtObjStateObjectInfo, you will receive all available status information on the object.
Files to include | Class declaration | Base class |
poet.hxx | ptinfo.hxx | none |
constructor | PtObjectState(); |
destructor | virtual ~PtObjectStat(); |
- PtObjectState::PtObjectState()
Constructor. Since PtObjectState is an abstract base class, you will not be able to call this constructor directly; instead, you will use the constructor for a derived class, either PtObjStateMaxLock or PtObjStateLockList
- virtual PtObjectState::~PtObjectState()
Destructor.
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.