CFx SDK Documentation  2020SP3
DbEvalWatchers.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 #ifndef _ODDB_EVALWATCHERS_H_
26 #define _ODDB_EVALWATCHERS_H_
27 
28 #include "RxObject.h"
29 #include "RxModule.h"
30 #include "DbEntity.h"
31 #include "DbHatch.h"
32 
46 {
47 public:
49 
63  virtual void modified(OdDbObject* pObj, const OdDbObject* pAssocObj) = 0;
64  virtual void openedForModify(OdDbObject* pObj, const OdDbObject* pAssocObj);
65 };
66 
71 
72 
85 {
86 public:
87  virtual void modified(OdDbObject* pObj, const OdDbObject* pAssocObj);
88 
103  virtual void modifiedItself(OdDbHatch* pHatch);
104 
111  virtual void evaluate(OdDbHatch* pHatch, const OdDbObjectIdArray& assocObjIds);
112 
121  virtual void getLoopFromIds(const OdDbHatch* pHatch,
122  OdUInt32& loopType,
123  OdDbObjectIdArray& objectIds,
124  EdgeArray& edges);
125 };
126 
131 
132 
145 {
146 public:
147  virtual void modified(OdDbObject* pObj, const OdDbObject* pAssocObj);
148 };
149 
154 
155 
169 {
170 public:
171  virtual void modified(OdDbObject* pObj, const OdDbObject* pDimStyle);
172 };
173 
178 
192 {
193 public:
194  virtual void modified(OdDbObject* pObj, const OdDbObject* pEnt);
195  virtual void erased(OdDbObject* pObj, const OdDbObject* pEnt, bool bErasing);
196 };
197 
202 
216 {
217 public:
218  virtual void modified(OdDbObject* pObj, const OdDbObject* pDimStyle);
219 };
220 
225 
239 {
240 public:
241  virtual void copied(OdDbObject *pObj, const OdDbObject *pAssocObj, const OdDbObject *pNewObj) = 0;
242  virtual void erased(OdDbObject *pObj, const OdDbObject *pAssocObj, bool erasing = true) = 0;
243 };
244 
249 
263 {
264 public:
265  virtual void modified(OdDbObject* pObj, const OdDbObject* pTableStyle);
266 };
271 
272 
273 #endif // _ODDB_EVALWATCHERS_H_
OdDbHatchWatcherPE::evaluate
virtual void evaluate(OdDbHatch *pHatch, const OdDbObjectIdArray &assocObjIds)
OdDbEvalWatcherPE::modified
virtual void modified(OdDbObject *pObj, const OdDbObject *pAssocObj)=0
RxModule.h
OdRxObject
Definition: RxObject.h:564
OdDbEvalWatcherPE::openedForModify
virtual void openedForModify(OdDbObject *pObj, const OdDbObject *pAssocObj)
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
OdDbHatchWatcherPE::modifiedItself
virtual void modifiedItself(OdDbHatch *pHatch)
OdDbDimAssocWatcherPEPtr
OdSmartPtr< OdDbDimAssocWatcherPE > OdDbDimAssocWatcherPEPtr
Definition: DbEvalWatchers.h:248
RxObject.h
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbFcfWatcherPE::modified
virtual void modified(OdDbObject *pObj, const OdDbObject *pDimStyle)
OdDbEvalWatcherPEPtr
OdSmartPtr< OdDbEvalWatcherPE > OdDbEvalWatcherPEPtr
Definition: DbEvalWatchers.h:70
DbHatch.h
OdSmartPtr
Definition: SmartPtr.h:58
OdDbBreakDataWatcherPE
Definition: DbEvalWatchers.h:192
DbEntity.h
OdDbBreakDataWatcherPEPtr
OdSmartPtr< OdDbBreakDataWatcherPE > OdDbBreakDataWatcherPEPtr
Definition: DbEvalWatchers.h:201
OdDbTableWatcherPEPtr
OdSmartPtr< OdDbTableWatcherPE > OdDbTableWatcherPEPtr
Definition: DbEvalWatchers.h:270
OdDbHatchWatcherPE::modified
virtual void modified(OdDbObject *pObj, const OdDbObject *pAssocObj)
OdDbDimAssocWatcherPE
Definition: DbEvalWatchers.h:239
OdDbHatchWatcherPE
Definition: DbEvalWatchers.h:85
OdDbLeaderWatcherPE
Definition: DbEvalWatchers.h:145
OdDbDimensionWatcherPE
Definition: DbEvalWatchers.h:169
OdDbTableWatcherPE
Definition: DbEvalWatchers.h:263
OdDbEvalWatcherPE
Definition: DbEvalWatchers.h:46
OdDbDimensionWatcherPEPtr
OdSmartPtr< OdDbDimensionWatcherPE > OdDbDimensionWatcherPEPtr
Definition: DbEvalWatchers.h:177
OdDbEvalWatcherPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbEvalWatcherPE)
OdDbHatchWatcherPE::getLoopFromIds
virtual void getLoopFromIds(const OdDbHatch *pHatch, OdUInt32 &loopType, OdDbObjectIdArray &objectIds, EdgeArray &edges)
OdDbHatch
Definition: DbHatch.h:67
OdDbDimAssocWatcherPE::copied
virtual void copied(OdDbObject *pObj, const OdDbObject *pAssocObj, const OdDbObject *pNewObj)=0
OdDbTableWatcherPE::modified
virtual void modified(OdDbObject *pObj, const OdDbObject *pTableStyle)
OdDbBreakDataWatcherPE::modified
virtual void modified(OdDbObject *pObj, const OdDbObject *pEnt)
OdDbDimAssocWatcherPE::erased
virtual void erased(OdDbObject *pObj, const OdDbObject *pAssocObj, bool erasing=true)=0
OdDbLeaderWatcherPE::modified
virtual void modified(OdDbObject *pObj, const OdDbObject *pAssocObj)
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbLeaderWatcherPEPtr
OdSmartPtr< OdDbLeaderWatcherPE > OdDbLeaderWatcherPEPtr
Definition: DbEvalWatchers.h:153
OdDbHatchWatcherPEPtr
OdSmartPtr< OdDbHatchWatcherPE > OdDbHatchWatcherPEPtr
Definition: DbEvalWatchers.h:130
OdDbFcfWatcherPE
Definition: DbEvalWatchers.h:216
OdDbDimensionWatcherPE::modified
virtual void modified(OdDbObject *pObj, const OdDbObject *pDimStyle)
OdDbDFcfWatcherPEPtr
OdSmartPtr< OdDbFcfWatcherPE > OdDbDFcfWatcherPEPtr
Definition: DbEvalWatchers.h:224
OdDbBreakDataWatcherPE::erased
virtual void erased(OdDbObject *pObj, const OdDbObject *pEnt, bool bErasing)
OdDbObject
Definition: DbObject.h:211