#include <TfObjectReactor.h>
This class is the base class for custom classes that receive notification of OdTfObject events.
Corresponding C++ library: Od_Tf
<group OdTf_Classes>
Definition at line 47 of file TfObjectReactor.h.
◆ closed()
virtual void OdTfObjectReactor::closed |
( |
OdDbStub * |
elementId | ) |
|
|
pure virtual |
Notification function called immediately before an element is closed.
- Parameters
-
elementId | [in] Element ID 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] Pointer to the notifying element. |
pNewElement | [in] 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] Pointer to the element that was erased/unerased. |
erasing | [in] True if and only if this element is being erased. |
◆ goodbye()
virtual void OdTfObjectReactor::goodbye |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called just before an element is deleted from memory.
- Parameters
-
pElement | [in] Pointer to the element that is being deleted. |
◆ modified()
virtual void OdTfObjectReactor::modified |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever an element is opened OdDg::kForWrite, a function has been called that could modify the contents of this element, and this element is now being closed.
- Parameters
-
pElement | [in] 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 OdDgGraphicsElement is modified.
- Parameters
-
pElement | [in] Pointer to the modified element. |
This function is called whenever the following has occurred.
1) The calling element is opened OdDg::kForWrite.
2) One of its member functions either
a Calls its assertWriteEnabled with recordModified == true.
b Calls its recordGraphicsModified(true).
3) The calling element is being closed.
This function is called whenever the element as been modified. It therefore indicates only that the graphics for it may have changed.
◆ modifiedLinkages()
virtual void OdTfObjectReactor::modifiedLinkages |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever the attribute linkages has been written to the notifying element.
- Parameters
-
pElement | [in] Pointer to the notifying element. |
The notifying element is open OdDg::kForRead.
The default implementation of this function does nothing. This function can be overridden in custom classes.
◆ modifyUndone()
virtual void OdTfObjectReactor::modifyUndone |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever the notifying element is in the midst an Undo operation that is undoing modifications.
- Parameters
-
pElement | [in] Pointer to the notifying element. |
The default implementation of this function does nothing. This function can be overridden in custom classes.
◆ openedForModify()
virtual void OdTfObjectReactor::openedForModify |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever an element is opened for modify OdDg::kForWrite.
- Parameters
-
pElement | [in] 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 processes the reappending of the notifying element to the database.
- Parameters
-
pElement | [in] Pointer to the notifying element. |
The default implementation of this function does nothing. This function can be overridden in custom classes.
◆ subElementModified()
Notification function called whenever a method of the specified subelement has called assertWriteEnabled()
- Parameters
-
pElement | [in] Pointer to the notifying element. |
pSubElm | [in] A pointer to the subelement owned by pElement. |
◆ unappended()
virtual void OdTfObjectReactor::unappended |
( |
const OdTfObject * |
pElement | ) |
|
|
pure virtual |
Notification function called whenever the Undo process processes the appending of the notifying element to the database.
- Parameters
-
pElement | [in] Pointer to the notifying element. |
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: