CFx SDK Documentation  2022 SP0
GsBaseModule.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 ODGSBASEMODULE_INC
25 #define ODGSBASEMODULE_INC
26 
27 #include "TD_PackPush.h"
28 #include "Gs/GsExport.h"
29 #include "Gs/Gs.h"
30 
31 class OdGsViewImpl;
33 
41 {
42  OdRxObjectPtrArray m_reactors;
43 protected:
52 
61 
68 
75 
84 
93 
95 
100 public:
102 
111 
118 
125 
132 
139 
144  void addReactor(OdGsReactor* pReactor);
145 
150  void removeReactor(OdGsReactor* pReactor);
151 
159  void initApp();
160 
168  void uninitApp();
169 };
170 
175 
185 
195 
196 #include "TD_PackPop.h"
197 
198 #endif // ODGSBASEMODULE_INC
OdSmartPtr< OdGsBaseModule > OdGsBaseModulePtr
Definition: GsBaseModule.h:174
GS_TOOLKIT_EXPORT void odgsUninitialize()
GS_TOOLKIT_EXPORT void odgsInitialize()
#define GS_TOOLKIT_EXPORT
Definition: GsExport.h:37
virtual OdSmartPtr< OdGsBaseVectorizeDevice > createBitmapDeviceObject()
void fire_viewWasCreated(OdGsView *pView)
ODRX_DECLARE_MEMBERS(OdGsBaseModule)
void fire_gsToBeUnloaded(OdGsModule *pModule)
OdSmartPtr< OdGsViewImpl > createBitmapView()
virtual OdSmartPtr< OdGsViewImpl > createBitmapViewObject()
void onFinalRelease()
virtual OdSmartPtr< OdGsViewImpl > createViewObject()=0
void removeReactor(OdGsReactor *pReactor)
virtual OdSmartPtr< OdGsBaseVectorizeDevice > createDeviceObject()=0
OdSmartPtr< OdGsViewImpl > createView()
OdGsDevicePtr createBitmapDevice()
void addReactor(OdGsReactor *pReactor)
OdGsDevicePtr createDevice()
void fire_viewToBeDestroyed(OdGsView *pView)
Definition: Gs.h:133