CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdDbHatchWatcherPE Class Reference

#include <DbEvalWatchers.h>

Inheritance diagram for OdDbHatchWatcherPE:
OdDbEvalWatcherPE OdRxObject

Public Member Functions

virtual void modified (OdDbObject *pObj, const OdDbObject *pAssocObj)
 
virtual void modifiedItself (OdDbHatch *pHatch)
 
virtual void evaluate (OdDbHatch *pHatch, const OdDbObjectIdArray &assocObjIds)
 
virtual void getLoopFromIds (const OdDbHatch *pHatch, OdUInt32 &loopType, OdDbObjectIdArray &objectIds, EdgeArray &edges)
 
- Public Member Functions inherited from OdDbEvalWatcherPE
 ODRX_DECLARE_MEMBERS (OdDbEvalWatcherPE)
 
virtual void openedForModify (OdDbObject *pObj, const OdDbObject *pAssocObj)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is the Protocol Extension class for updating OdDbHatch objects.

See also
TD_Db
Remarks
This protocol extension is added to the OdDbHatch class by Teigha while initializing.

<group OdDb_Classes>

Definition at line 84 of file DbEvalWatchers.h.

Member Function Documentation

◆ evaluate()

virtual void OdDbHatchWatcherPE::evaluate ( OdDbHatch pHatch,
const OdDbObjectIdArray assocObjIds 
)
virtual

Updates the boundary of an OdDbHatch object.

Parameters
pHatch[in] Pointer to the hatch object.
assocObjIds[in] Array of modified associated OdDbEntity object IDs.

◆ getLoopFromIds()

virtual void OdDbHatchWatcherPE::getLoopFromIds ( const OdDbHatch pHatch,
OdUInt32 loopType,
OdDbObjectIdArray objectIds,
EdgeArray edges 
)
virtual

Returns a loop from the specified OdDbEntity object IDs for the specified OdDbHatch entity.

Parameters
pHatch[in] The OdDbHatch object.
loopType[in/out] Type of loop being updated.
objectIds[in] Array of OdDbEntity object IDs that comprise the loop.
edges[in/out] Array of edges that comprise the loop.

◆ modified()

virtual void OdDbHatchWatcherPE::modified ( OdDbObject pObj,
const OdDbObject pAssocObj 
)
virtual

Notification function called whenever an object receives a modified notification from an associated object.

Parameters
pObj[in] Pointer to the object that received the notification.
pAssocObj[in] Pointer to the associated object.
Remarks
This function is called whenever the associated object is being closed after being modified.

The default implementation of this function does nothing. This function can be overridden in custom classes.

Implements OdDbEvalWatcherPE.

◆ modifiedItself()

virtual void OdDbHatchWatcherPE::modifiedItself ( OdDbHatch pHatch)
virtual

Notification function called whenever an OdDbHatch object is modified.

Parameters
pHatch[in] Pointer to the hatch object.
Remarks
This function is called whenever the hatch object is being closed after being modified.
This protocol extension is added to the OdDbHatch class by Teigha during initialization.

The default implementation of this function does nothing. This function can be overridden in custom classes.


The documentation for this class was generated from the following file: