CFx SDK Documentation  2020SP3
TfObjectReactor.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef __TF_OBJECTREACTOR_H__
25 #define __TF_OBJECTREACTOR_H__
26 
27 #include "TD_PackPush.h"
28 
29 #include "RxObject.h"
30 #include "TfExport.h"
31 
32 class OdTfObject;
33 class OdDbStub;
34 
49 public:
62  virtual void copied(const OdTfObject* pElement,
63  const OdTfObject* pNewElement) = 0;
64 
77  virtual void erased(const OdTfObject* pElement, bool erasing = true) = 0;
78 
89  virtual void goodbye(const OdTfObject* pElement) = 0;
90 
102  virtual void openedForModify(const OdTfObject* pElement) = 0;
103 
119  virtual void modified(const OdTfObject* pElement) = 0;
120 
148  virtual void modifiedGraphics(const OdTfObject* pElement) = 0;
149 
166  virtual void modifiedLinkages(const OdTfObject* pElement) = 0;
167 
178  virtual void subElementModified(const OdTfObject* pElement,
179  const OdTfObject* pSubElm) = 0;
180 
195  virtual void modifyUndone(const OdTfObject* pElement) = 0;
196 
212  virtual void unappended(const OdTfObject* pElement) = 0;
213 
226  virtual void reappended(const OdTfObject* pElement) = 0;
227 
238  virtual void closed(OdDbStub* elementId) = 0;
239 };
240 
246 
252 
257 public:
278  virtual void recvPropagateModify(const OdTfObject* pSubElm) = 0;
279 
289  virtual void xmitPropagateModify() const = 0;
290 };
291 
297 
303 
304 #include "TD_PackPop.h"
305 
306 #endif // __TF_OBJECTREACTOR_H__
OdTfObjectReactor::copied
virtual void copied(const OdTfObject *pElement, const OdTfObject *pNewElement)=0
OdTfObjectReactor::erased
virtual void erased(const OdTfObject *pElement, bool erasing=true)=0
OdRxObject
Definition: RxObject.h:564
OdTfPersistentReactor::recvPropagateModify
virtual void recvPropagateModify(const OdTfObject *pSubElm)=0
TFCORE_EXPORT
#define TFCORE_EXPORT
Definition: TfExport.h:34
OdArray
Definition: OdArray.h:591
OdTfPersistentReactorArray
OdArray< OdTfPersistentReactor * > OdTfPersistentReactorArray
Definition: TfObjectReactor.h:302
TD_PackPop.h
OdTfObjectReactor::subElementModified
virtual void subElementModified(const OdTfObject *pElement, const OdTfObject *pSubElm)=0
RxObject.h
OdTfPersistentReactor
Definition: TfObjectReactor.h:255
OdTfPersistentReactorPtr
OdSmartPtr< OdTfPersistentReactor > OdTfPersistentReactorPtr
Definition: TfObjectReactor.h:296
OdSmartPtr
Definition: SmartPtr.h:58
OdTfObject
Definition: TfObject.h:204
OdTfObjectReactor::closed
virtual void closed(OdDbStub *elementId)=0
OdTfObjectReactor::modifiedGraphics
virtual void modifiedGraphics(const OdTfObject *pElement)=0
OdTfObjectReactor::openedForModify
virtual void openedForModify(const OdTfObject *pElement)=0
OdTfObjectReactor::reappended
virtual void reappended(const OdTfObject *pElement)=0
OdTfObjectReactor::unappended
virtual void unappended(const OdTfObject *pElement)=0
TD_PackPush.h
OdTfPersistentReactor::xmitPropagateModify
virtual void xmitPropagateModify() const =0
OdTfObjectReactor::modifyUndone
virtual void modifyUndone(const OdTfObject *pElement)=0
OdTfObjectReactor::modifiedLinkages
virtual void modifiedLinkages(const OdTfObject *pElement)=0
OdTfObjectReactor::goodbye
virtual void goodbye(const OdTfObject *pElement)=0
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition: OdPlatformSettings.h:117
TfExport.h
OdTfObjectReactor
Definition: TfObjectReactor.h:47
OdTfObjectReactor::modified
virtual void modified(const OdTfObject *pElement)=0
ODRX_DECLARE_MEMBERS
#define ODRX_DECLARE_MEMBERS(ClassName)
Definition: RxObject.h:112
OdTfObjectReactorPtr
OdSmartPtr< OdTfObjectReactor > OdTfObjectReactorPtr
Definition: TfObjectReactor.h:245
OdTfObjectReactorArray
OdArray< OdTfObjectReactor * > OdTfObjectReactorArray
Definition: TfObjectReactor.h:251