CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdTfPersistentReactor Class Referenceabstract

#include <TfObjectReactor.h>

Inheritance diagram for OdTfPersistentReactor:
OdTfObjectReactor OdRxObject

Public Member Functions

virtual void recvPropagateModify (const OdTfObject *pSubElm)=0
 
virtual void xmitPropagateModify () const =0
 
- Public Member Functions inherited from OdTfObjectReactor
virtual void copied (const OdTfObject *pElement, const OdTfObject *pNewElement)=0
 
virtual void erased (const OdTfObject *pElement, bool erasing=true)=0
 
virtual void goodbye (const OdTfObject *pElement)=0
 
virtual void openedForModify (const OdTfObject *pElement)=0
 
virtual void modified (const OdTfObject *pElement)=0
 
virtual void modifiedGraphics (const OdTfObject *pElement)=0
 
virtual void modifiedLinkages (const OdTfObject *pElement)=0
 
virtual void subElementModified (const OdTfObject *pElement, const OdTfObject *pSubElm)=0
 
virtual void modifyUndone (const OdTfObject *pElement)=0
 
virtual void unappended (const OdTfObject *pElement)=0
 
virtual void reappended (const OdTfObject *pElement)=0
 
virtual void closed (OdDbStub *elementId)=0
 
- 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

<group OdTf_Classes>

Definition at line 255 of file TfObjectReactor.h.

Member Function Documentation

◆ recvPropagateModify()

virtual void OdTfPersistentReactor::recvPropagateModify ( const OdTfObject pSubElm)
pure virtual

Allows a subelement of a complex element to notify its root element that it has been changed.

Parameters
pSubElm[in] Pointer to the modified subelement.
Remarks
Here's how it's supposed to work:

1) The subelement class's close() calls its triggers a "modified" notification which calls its xmitPropagateModify(). 2) The subelement class calls the its parent's recvPropagateModify() its element's pointer. 3) The owner's class's recvPropagateModify() sends a "modified" notification to the top of its class.

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

◆ xmitPropagateModify()

virtual void OdTfPersistentReactor::xmitPropagateModify ( ) const
pure virtual

Allows a subelement of a complex element to notify its root element that it has been changed.

Remarks
The default implementation of this function inform the database in which the owner resides has been modified; triggering reactors attached to it. This function can be overridden in custom classes.

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