CFx SDK Documentation  2022 SP0
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_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdArray< OdDbObjectReactorPtr > OdDbObjectReactorArray
OdSmartPtr< OdDbObjectReactor > OdDbObjectReactorPtr
#define ODRX_ABSTRACT
virtual void cancelled(const OdDbObject *pObject)
virtual void erased(const OdDbObject *pObject, bool erasing=true)
virtual void copied(const OdDbObject *pObject, const OdDbObject *pNewObject)
virtual void objectClosed(const OdDbObjectId &objectId)
ODRX_DECLARE_MEMBERS(OdDbObjectReactor)
virtual void reappended(const OdDbObject *pObject)
static OdDbObjectReactor * findReactor(const OdDbObject *pObject, const OdRxClass *pKeyClass)
virtual void modifyUndone(const OdDbObject *pObject)
virtual void goodbye(const OdDbObject *pObject)
virtual void modifiedXData(const OdDbObject *pObject)
virtual void modifiedGraphics(const OdDbObject *pObject)
virtual void openedForModify(const OdDbObject *pObject)
virtual void subObjModified(const OdDbObject *pObject, const OdDbObject *pSubObj)
virtual void modified(const OdDbObject *pObject)
virtual void unappended(const OdDbObject *pObject)