CFx SDK Documentation  2022 SP0
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__
#define ODRX_ABSTRACT
#define ODRX_DECLARE_MEMBERS(ClassName)
Definition: RxObject.h:112
#define TFCORE_EXPORT
Definition: TfExport.h:34
OdSmartPtr< OdTfObjectReactor > OdTfObjectReactorPtr
OdArray< OdTfObjectReactor * > OdTfObjectReactorArray
OdSmartPtr< OdTfPersistentReactor > OdTfPersistentReactorPtr
OdArray< OdTfPersistentReactor * > OdTfPersistentReactorArray
virtual void modifiedGraphics(const OdTfObject *pElement)=0
virtual void subElementModified(const OdTfObject *pElement, const OdTfObject *pSubElm)=0
virtual void copied(const OdTfObject *pElement, const OdTfObject *pNewElement)=0
virtual void modifyUndone(const OdTfObject *pElement)=0
virtual void openedForModify(const OdTfObject *pElement)=0
virtual void modifiedLinkages(const OdTfObject *pElement)=0
virtual void reappended(const OdTfObject *pElement)=0
virtual void erased(const OdTfObject *pElement, bool erasing=true)=0
virtual void goodbye(const OdTfObject *pElement)=0
virtual void closed(OdDbStub *elementId)=0
virtual void unappended(const OdTfObject *pElement)=0
virtual void modified(const OdTfObject *pElement)=0
virtual void recvPropagateModify(const OdTfObject *pSubElm)=0
virtual void xmitPropagateModify() const =0