CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbObjectReactor.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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
46{
47protected:
49public:
51
55 virtual void cancelled(
56 const OdDbObject* pObject);
57
68 virtual void copied(
69 const OdDbObject* pObject,
70 const OdDbObject* pNewObject);
71
82 virtual void erased(
83 const OdDbObject* pObject,
84 bool erasing = true);
85
95 virtual void goodbye(
96 const OdDbObject* pObject);
97
107 virtual void openedForModify(
108 const OdDbObject* pObject);
109
121 virtual void modified(
122 const OdDbObject* pObject);
123
149 virtual void modifiedGraphics(
150 const OdDbObject* pObject);
151
169 virtual void subObjModified(
170 const OdDbObject* pObject,
171 const OdDbObject* pSubObj);
185 virtual void modifyUndone(
186 const OdDbObject* pObject);
187
202 virtual void modifiedXData(
203 const OdDbObject* pObject);
204
218 virtual void unappended(
219 const OdDbObject* pObject);
220
232 virtual void reappended(
233 const OdDbObject* pObject);
234
244 virtual void objectClosed(
245 const OdDbObjectId& objectId);
246
255 const OdDbObject* pObject,
256 const OdRxClass* pKeyClass);
257};
266
267#include "TD_PackPop.h"
268
269#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)
static OdDbObjectReactor * findReactor(const OdDbObject *pObject, const OdRxClass *pKeyClass)
virtual void reappended(const OdDbObject *pObject)
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)