CFx SDK Documentation  2020SP3
DbObjectReactor.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 
25 
26 
27 #ifndef _DB_OBJECT_REACTOR_INCLUDED_
28 #define _DB_OBJECT_REACTOR_INCLUDED_
29 
30 #include "TD_PackPush.h"
31 
32 #include "RxObject.h"
33 #include "OdArrayPreDef.h"
34 
48 {
49 protected:
51 public:
53 
57  virtual void cancelled(
58  const OdDbObject* pObject);
59 
70  virtual void copied(
71  const OdDbObject* pObject,
72  const OdDbObject* pNewObject);
73 
84  virtual void erased(
85  const OdDbObject* pObject,
86  bool erasing = true);
87 
97  virtual void goodbye(
98  const OdDbObject* pObject);
99 
109  virtual void openedForModify(
110  const OdDbObject* pObject);
111 
123  virtual void modified(
124  const OdDbObject* pObject);
125 
151  virtual void modifiedGraphics(
152  const OdDbObject* pObject);
153 
171  virtual void subObjModified(
172  const OdDbObject* pObject,
173  const OdDbObject* pSubObj);
187  virtual void modifyUndone(
188  const OdDbObject* pObject);
189 
204  virtual void modifiedXData(
205  const OdDbObject* pObject);
206 
220  virtual void unappended(
221  const OdDbObject* pObject);
222 
234  virtual void reappended(
235  const OdDbObject* pObject);
236 
246  virtual void objectClosed(
247  const OdDbObjectId& objectId);
248 
257  const OdDbObject* pObject,
258  const OdRxClass* pKeyClass);
259 };
268 
269 #include "TD_PackPop.h"
270 
271 #endif // _DB_OBJECT_REACTOR_INCLUDED_
OdDbObjectReactor
Definition: DbObjectReactor.h:48
OdRxObject
Definition: RxObject.h:564
OdDbObjectId
Definition: DbObjectId.h:99
OdArray
Definition: OdArray.h:591
TD_PackPop.h
OdDbObjectReactor::reappended
virtual void reappended(const OdDbObject *pObject)
OdDbObjectReactor::modifiedGraphics
virtual void modifiedGraphics(const OdDbObject *pObject)
OdDbObjectReactor::copied
virtual void copied(const OdDbObject *pObject, const OdDbObject *pNewObject)
OdDbObjectReactor::findReactor
static OdDbObjectReactor * findReactor(const OdDbObject *pObject, const OdRxClass *pKeyClass)
RxObject.h
OdDbObjectReactor::modifiedXData
virtual void modifiedXData(const OdDbObject *pObject)
OdDbObjectReactor::cancelled
virtual void cancelled(const OdDbObject *pObject)
OdArrayPreDef.h
OdRxClass
Definition: RxObject.h:865
OdDbObjectReactorArray
OdArray< OdDbObjectReactorPtr > OdDbObjectReactorArray
Definition: DbObjectReactor.h:267
OdSmartPtr
Definition: SmartPtr.h:58
OdDbObjectReactor::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbObjectReactor)
OdDbObjectReactor::erased
virtual void erased(const OdDbObject *pObject, bool erasing=true)
TD_PackPush.h
OdDbObjectReactor::objectClosed
virtual void objectClosed(const OdDbObjectId &objectId)
OdDbObjectReactor::modifyUndone
virtual void modifyUndone(const OdDbObject *pObject)
ODRX_ABSTRACT
#define ODRX_ABSTRACT
Definition: OdPlatformSettings.h:117
OdDbObjectReactor::subObjModified
virtual void subObjModified(const OdDbObject *pObject, const OdDbObject *pSubObj)
OdDbObjectReactor::unappended
virtual void unappended(const OdDbObject *pObject)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbObjectReactor::goodbye
virtual void goodbye(const OdDbObject *pObject)
OdDbObjectReactor::modified
virtual void modified(const OdDbObject *pObject)
OdDbObjectReactor::OdDbObjectReactor
OdDbObjectReactor()
Definition: DbObjectReactor.h:50
OdDbObject
Definition: DbObject.h:211
OdDbObjectReactor::openedForModify
virtual void openedForModify(const OdDbObject *pObject)
OdDbObjectReactorPtr
OdSmartPtr< OdDbObjectReactor > OdDbObjectReactorPtr
Definition: DbObjectReactor.h:263