CFx SDK Documentation  2022 SP0
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_
OdSmartPtr< OdDbTableWatcherPE > OdDbTableWatcherPEPtr
OdSmartPtr< OdDbBreakDataWatcherPE > OdDbBreakDataWatcherPEPtr
OdSmartPtr< OdDbDimensionWatcherPE > OdDbDimensionWatcherPEPtr
OdSmartPtr< OdDbDimAssocWatcherPE > OdDbDimAssocWatcherPEPtr
OdSmartPtr< OdDbLeaderWatcherPE > OdDbLeaderWatcherPEPtr
OdSmartPtr< OdDbFcfWatcherPE > OdDbDFcfWatcherPEPtr
OdSmartPtr< OdDbEvalWatcherPE > OdDbEvalWatcherPEPtr
OdSmartPtr< OdDbHatchWatcherPE > OdDbHatchWatcherPEPtr
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
unsigned int OdUInt32
virtual void modified(OdDbObject *pObj, const OdDbObject *pEnt)
virtual void erased(OdDbObject *pObj, const OdDbObject *pEnt, bool bErasing)
virtual void copied(OdDbObject *pObj, const OdDbObject *pAssocObj, const OdDbObject *pNewObj)=0
virtual void erased(OdDbObject *pObj, const OdDbObject *pAssocObj, bool erasing=true)=0
virtual void modified(OdDbObject *pObj, const OdDbObject *pDimStyle)
ODRX_DECLARE_MEMBERS(OdDbEvalWatcherPE)
virtual void openedForModify(OdDbObject *pObj, const OdDbObject *pAssocObj)
virtual void modified(OdDbObject *pObj, const OdDbObject *pAssocObj)=0
virtual void modified(OdDbObject *pObj, const OdDbObject *pDimStyle)
virtual void getLoopFromIds(const OdDbHatch *pHatch, OdUInt32 &loopType, OdDbObjectIdArray &objectIds, EdgeArray &edges)
virtual void modified(OdDbObject *pObj, const OdDbObject *pAssocObj)
virtual void evaluate(OdDbHatch *pHatch, const OdDbObjectIdArray &assocObjIds)
virtual void modifiedItself(OdDbHatch *pHatch)
virtual void modified(OdDbObject *pObj, const OdDbObject *pAssocObj)
virtual void modified(OdDbObject *pObj, const OdDbObject *pTableStyle)