CFx SDK Documentation  2020SP3
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
odgsInitialize
GS_TOOLKIT_EXPORT void odgsInitialize()
OdGsBaseModule::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGsBaseModule)
OdGsView
Definition: Gs.h:133
OdGsBaseModule::createBitmapDevice
OdGsDevicePtr createBitmapDevice()
OdGsBaseModule::removeReactor
void removeReactor(OdGsReactor *pReactor)
OdArray< OdRxObjectPtr >
TD_PackPop.h
odgsUninitialize
GS_TOOLKIT_EXPORT void odgsUninitialize()
OdGsBaseModule::fire_viewWasCreated
void fire_viewWasCreated(OdGsView *pView)
OdGsBaseModule::onFinalRelease
void onFinalRelease()
OdGsBaseModule::createBitmapView
OdSmartPtr< OdGsViewImpl > createBitmapView()
OdSmartPtr
Definition: SmartPtr.h:58
Gs.h
OdGsViewImpl
Definition: GsViewImpl.h:58
OdGsBaseModule::OdGsBaseModule
OdGsBaseModule()
OdGsBaseModule::initApp
void initApp()
OdGsBaseModule::createDevice
OdGsDevicePtr createDevice()
OdGsBaseModule::createViewObject
virtual OdSmartPtr< OdGsViewImpl > createViewObject()=0
TD_PackPush.h
GsExport.h
OdGsBaseVectorizeDevice
Definition: GsBaseVectorizeDevice.h:69
OdGsBaseModule::fire_gsToBeUnloaded
void fire_gsToBeUnloaded(OdGsModule *pModule)
OdGsModule
Definition: Gs.h:1387
OdGsBaseModule::createDeviceObject
virtual OdSmartPtr< OdGsBaseVectorizeDevice > createDeviceObject()=0
OdGsReactor
Definition: Gs.h:1351
OdGsBaseModule::fire_viewToBeDestroyed
void fire_viewToBeDestroyed(OdGsView *pView)
OdGsBaseModule::addReactor
void addReactor(OdGsReactor *pReactor)
GS_TOOLKIT_EXPORT
#define GS_TOOLKIT_EXPORT
Definition: GsExport.h:37
OdGsBaseModulePtr
OdSmartPtr< OdGsBaseModule > OdGsBaseModulePtr
Definition: GsBaseModule.h:174
OdGsBaseModule::createBitmapDeviceObject
virtual OdSmartPtr< OdGsBaseVectorizeDevice > createBitmapDeviceObject()
OdGsBaseModule::uninitApp
void uninitApp()
OdGsBaseModule
Definition: GsBaseModule.h:41
OdGsBaseModule::createBitmapViewObject
virtual OdSmartPtr< OdGsViewImpl > createBitmapViewObject()
OdGsBaseModule::createView
OdSmartPtr< OdGsViewImpl > createView()