#include <TfObjectReactor.h>
This class is the base class for custom classes that receive different event notifications from an OdTfObject class instance.
Corresponding C++ library: Od_Tf
<group OdTf_Classes>
Definition at line 45 of file TfObjectReactor.h.
◆ closed()
virtual void OdTfObjectReactor::closed |
( |
OdDbStub * |
elementId | ) |
|
|
pure virtual |
Notification function called immediately before the element is closed.
- Parameters
-
elementId | [in] An identifier of the element that is being closed. |
◆ copied()
Notification function called whenever the notifying element has had its clone() member function called.
- Parameters
-
pElement | [in] A pointer to the notifying element. |
pNewElement | [in] A pointer to the element resulting from the copy. |
◆ erased()
virtual void OdTfObjectReactor::erased |
( |
const OdTfObject * |
pElement, |
|
|
bool |
erasing = true |
|
) |
| |
|
pure virtual |
Notification function called whenever an element has been erased or unerased.
- Parameters
-
pElement | [in] A pointer to the element that was erased/unerased. |
erasing | [in] An erase flag value. The flag value is equal to true if the element was erased; otherwise it is equal to false. |
◆ goodbye()
virtual void OdTfObjectReactor::goodbye |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called just before an element is deleted from the memory.
- Parameters
-
pElement | [in] A pointer to the element that is being deleted. |
◆ modified()
virtual void OdTfObjectReactor::modified |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever an element that was previously opened for modifications (OdDg::kForWrite mode) was successfully modified and now is being closed.
- Parameters
-
pElement | [in] A pointer to the element that is being closed after being modified. |
◆ modifiedGraphics()
virtual void OdTfObjectReactor::modifiedGraphics |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever an element derived from the OdDgGraphicsElement class is modified.
- Parameters
-
pElement | [in] A pointer to the modified element. |
The calling element is opened for modification (OdDg::kForWrite mode).
One of the calling element's member functions:
Calls its assertWriteEnabled() method with the recordModified parameter that is equal to true.
Calls its recordGraphicsModified() method passing to it true as a parameter value.
The calling element is being closed.
This function is called whenever the element is modified. Therefore calling this function indicates that only the graphics for the element is changed.
◆ modifiedLinkages()
virtual void OdTfObjectReactor::modifiedLinkages |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever the attribute linkages have been written to the notifying element.
- Parameters
-
pElement | [in] A pointer to the notifying element. |
◆ modifyUndone()
virtual void OdTfObjectReactor::modifyUndone |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever the notifying element is in progress of an Undo operation that is undoing modifications.
- Parameters
-
pElement | [in] A pointer to the notifying element. |
◆ openedForModify()
virtual void OdTfObjectReactor::openedForModify |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever an element is opened for modifications (OdDg::kForWrite mode).
- Parameters
-
pElement | [in] A pointer to the element that is being opened. |
◆ reappended()
virtual void OdTfObjectReactor::reappended |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever a Redo process re-appends the notifying element to the database.
- Parameters
-
pElement | [in] A pointer to the notifying element. |
◆ subElementModified()
Notification function called whenever any method of a specified sub element calls the assertWriteEnabled() method.
- Parameters
-
pElement | [in] A pointer to the notifying element. |
pSubElm | [in] A pointer to the sub element that is owned by the element specified with the pElement parameter. |
◆ unappended()
virtual void OdTfObjectReactor::unappended |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever the Undo process cancels the appending of the notifying element to the database.
- Parameters
-
pElement | [in] A pointer to the notifying element. |
The documentation for this class was generated from the following file: