CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGsModelReactor Class Reference

#include <GsModel.h>

Inheritance diagram for OdGsModelReactor:
OdGsBaseModelReactor

Public Member Functions

 OdGsModelReactor ()
 
virtual ~OdGsModelReactor ()
 
virtual bool onAdded (OdGsModel *pModel, OdGiDrawable *pAdded, OdGiDrawable *pParent)
 
virtual bool onAdded (OdGsModel *pModel, OdGiDrawable *pAdded, OdDbStub *parentID)
 
virtual bool onErased (OdGsModel *pModel, OdGiDrawable *pErased, OdGiDrawable *pParent)
 
virtual bool onErased (OdGsModel *pModel, OdGiDrawable *pErased, OdDbStub *parentID)
 
virtual bool onModified (OdGsModel *pModel, OdGiDrawable *pModified, OdGiDrawable *pParent)
 
virtual bool onModified (OdGsModel *pModel, OdGiDrawable *pModified, OdDbStub *parentID)
 
virtual bool onUnerased (OdGsModel *pModel, OdGiDrawable *pUnerased, OdGiDrawable *pParent)
 
virtual bool onUnerased (OdGsModel *pModel, OdGiDrawable *pUnerased, OdDbStub *parentID)
 

Detailed Description

GsModel reactor.

Corresponding C++ library: TD_Gs <group OdGs_Classes>

Definition at line 574 of file GsModel.h.

Constructor & Destructor Documentation

◆ OdGsModelReactor()

OdGsModelReactor::OdGsModelReactor ( )
inline

Default constructor for the OdGsModelReactor class.

Definition at line 580 of file GsModel.h.

◆ ~OdGsModelReactor()

virtual OdGsModelReactor::~OdGsModelReactor ( )
inlinevirtual

Destructor for the OdGsModelReactor class.

Definition at line 585 of file GsModel.h.

Member Function Documentation

◆ onAdded() [1/2]

virtual bool OdGsModelReactor::onAdded ( OdGsModel * pModel,
OdGiDrawable * pAdded,
OdDbStub * parentID )
inlinevirtual

Notification function called whenever a drawable object is added to the Model object. Does nothing in current implementation.

Parameters
pModel[in] Pointer to the model.
pAdded[in] Pointer to the added Drawable object.
parentID[in] Object ID of the parent of the added Drawable object.
Returns
true

Definition at line 610 of file GsModel.h.

◆ onAdded() [2/2]

virtual bool OdGsModelReactor::onAdded ( OdGsModel * pModel,
OdGiDrawable * pAdded,
OdGiDrawable * pParent )
inlinevirtual

Notification function called whenever a drawable object is added to the Model object. Does nothing in current implementation.

Parameters
pModel[in] Pointer to the model.
pAdded[in] Pointer to the added Drawable object.
pParent[in] Pointer to the parent of the added Drawable object.
Returns
true

Definition at line 599 of file GsModel.h.

◆ onErased() [1/2]

virtual bool OdGsModelReactor::onErased ( OdGsModel * pModel,
OdGiDrawable * pErased,
OdDbStub * parentID )
inlinevirtual

Notification function called whenever a drawable object is erased from the Model object.

Parameters
pModel[in] Pointer to the model.
pErased[in] Pointer to the erased Drawable object.
parentID[in] Object ID of the parent of the erased Drawable object.
Returns
true

Definition at line 632 of file GsModel.h.

◆ onErased() [2/2]

virtual bool OdGsModelReactor::onErased ( OdGsModel * pModel,
OdGiDrawable * pErased,
OdGiDrawable * pParent )
inlinevirtual

Notification function called whenever a drawable object is erased from the Model object.

Parameters
pModel[in] Pointer to the model.
pErased[in] Pointer to the erased Drawable object.
pParent[in] Pointer to the parent of the erased Drawable object.
Returns
true

Definition at line 621 of file GsModel.h.

◆ onModified() [1/2]

virtual bool OdGsModelReactor::onModified ( OdGsModel * pModel,
OdGiDrawable * pModified,
OdDbStub * parentID )
inlinevirtual

Notification function called whenever a drawable object is modified in the Model object. Does nothing in current implementation.

Parameters
pModel[in] Pointer to the model.
pModified[in] Pointer to the modified Drawable object.
parentID[in] Object ID of the parent of the modified Drawable object.
Returns
true

Definition at line 654 of file GsModel.h.

◆ onModified() [2/2]

virtual bool OdGsModelReactor::onModified ( OdGsModel * pModel,
OdGiDrawable * pModified,
OdGiDrawable * pParent )
inlinevirtual

Notification function called whenever a drawable object is modified in the Model object. Does nothing in current implementation.

Parameters
pModel[in] Pointer to the model.
pModified[in] Pointer to the modified Drawable object.
pParent[in] Pointer to the parent of the modified Drawable object.
Returns
true

Definition at line 643 of file GsModel.h.

◆ onUnerased() [1/2]

virtual bool OdGsModelReactor::onUnerased ( OdGsModel * pModel,
OdGiDrawable * pUnerased,
OdDbStub * parentID )
inlinevirtual

Notification function called whenever a drawable object is unerased in the Model object.

Parameters
pModel[in] Pointer to the model.
pUnerased[in] Pointer to the unerased Drawable object.
pParent[in] Object ID of the parent of the modified Drawable object.

Definition at line 672 of file GsModel.h.

◆ onUnerased() [2/2]

virtual bool OdGsModelReactor::onUnerased ( OdGsModel * pModel,
OdGiDrawable * pUnerased,
OdGiDrawable * pParent )
inlinevirtual

Notification function called whenever a drawable object is unerased in the Model object.

Parameters
pModel[in] Pointer to the model.
pUnerased[in] Pointer to the unerased Drawable object.
pParent[in] Pointer to the parent of the unerased Drawable object.

Definition at line 663 of file GsModel.h.


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