CFx SDK Documentation  2023 SP0
AECEvReactor.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 #ifndef __AECEVREACTOR_H__
25 #define __AECEVREACTOR_H__
26 
27 #include "Relations/AECEv.h"
28 
33 class AECBASE_API AECEvReactor : public OdRxObject
34 {
36 
37  public:
41  virtual void DatabaseAppended( const OdDbDatabase* pDb );
42 
46  virtual void DatabaseRemoved( const OdDbDatabase* pDb );
47 
51  virtual void DatabaseLoaded( const OdDbDatabase* pDb );
52 
56  virtual void ObjectAppended( const OdDbDatabase* pDb,
57  const OdDbObject* pDbObj );
58 
62  virtual void ObjectModified( const OdDbDatabase* pDb,
63  const OdDbObject* pDbObj, bool bOnlyGraphics );
64 
68  virtual void ObjectRemoved( const OdDbDatabase* pDb,
69  const OdDbObject* pDbObj );
70 
74  virtual void TransactionProcessingStarted( const OdDbDatabase* pDb );
75 
79  virtual void TransactionProcessingFinished( const OdDbDatabase* pDb );
80 };
82 
83 namespace AECEv
84 {
85 
89 AECBASE_API void addReactor( AECEvReactor* pReactor );
90 
94 AECBASE_API void removeReactor( AECEvReactor* pReactor );
95 
96 }
97 
98 #endif // __AECEVREACTOR_H__
OdSmartPtr< AECEvReactor > AECEvReactorPtr
Definition: AECEvReactor.h:81
#define ODRX_DECLARE_MEMBERS(ClassName)
Definition: RxObject.h:131
virtual void ObjectRemoved(const OdDbDatabase *pDb, const OdDbObject *pDbObj)
virtual void TransactionProcessingFinished(const OdDbDatabase *pDb)
virtual void TransactionProcessingStarted(const OdDbDatabase *pDb)
virtual void ObjectAppended(const OdDbDatabase *pDb, const OdDbObject *pDbObj)
virtual void DatabaseRemoved(const OdDbDatabase *pDb)
virtual void DatabaseAppended(const OdDbDatabase *pDb)
virtual void DatabaseLoaded(const OdDbDatabase *pDb)
virtual void ObjectModified(const OdDbDatabase *pDb, const OdDbObject *pDbObj, bool bOnlyGraphics)
Definition: AECEv.h:34
AECBASE_API void addReactor(AECEvReactor *pReactor)
AECBASE_API void removeReactor(AECEvReactor *pReactor)