CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECAppStaticModules.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a
16// license agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 __AECAPPSTATICMODULES_H__
25#define __AECAPPSTATICMODULES_H__
26
27/* static link ODA Architecture
28 AecGeometry.lib AecArchBase.lib AECArchDACHBase.lib AECAreaCalculationBase.lib AECBase.lib AECSchedule.lib AECScheduleData.lib AECStructureBase.lib AECUIArchBase.lib AECUIBase.lib AECUISchedule.lib AECUIStructureBase.lib
29 AecGeometry.lib;AecArchBase.lib;AECArchDACHBase.lib;AECAreaCalculationBase.lib;AECBase.lib;AECSchedule.lib;AECScheduleData.lib;AECStructureBase.lib;AECUIArchBase.lib;AECUIBase.lib;AECUISchedule.lib;AECUIStructureBase.lib
30*/
31
32
33
34// Declares Architecture modules for static linking in host application sources to support Architecture objects and commands
35// before static module map definition ( ODRX_BEGIN_STATIC_MODULE_MAP() ... ODRX_END_STATIC_MODULE_MAP() )
36#define ODRX_DECLARE_ARCH_STATIC_MODULES_ENTRY_POINTS() \
37 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(OdRecomputeDimBlockModule);\
38 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase);\
39 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase40);\
40 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase50);\
41 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase60);\
42 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase70);\
43 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchBase80);\
44 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase);\
45 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase40);\
46 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase50);\
47 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase60);\
48 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase70);\
49 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECArchDACHBase80);\
50 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase);\
51 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase40);\
52 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase50);\
53 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase60);\
54 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase70);\
55 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECAreaCalculationBase80);\
56 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase);\
57 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase40);\
58 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase50);\
59 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase60);\
60 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase70);\
61 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECBase80);\
62 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule);\
63 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule40);\
64 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule50);\
65 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule60);\
66 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule70);\
67 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECSchedule80);\
68 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData);\
69 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData40);\
70 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData50);\
71 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData60);\
72 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData70);\
73 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECScheduleData80);\
74 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase);\
75 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase40);\
76 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase50);\
77 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase60);\
78 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase70);\
79 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECStructureBase80);\
80// last line of the macros
81
82
83
84#define ODRX_DECLARE_ARCH_UI_STATIC_MODULES_ENTRY_POINTS() \
85 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUIBase);\
86 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUIArchBase);\
87 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUISchedule);\
88 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(AECUIStructureBase);\
89// last line of the macros
90
91
92
93#if defined(_WIN32)
94#define ODRX_DECLARE_RENDERING_STATIC_MODULES_ENTRY_POINTS() \
95 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(WinOpenGLModule);\
96 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(WinGDIModule);\
97 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(WinDirectXModule);\
98 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ExRasterModule);\
99 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(BitmapModule);\
100 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ModelerModule);\
101 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(OdOleItemHandlerModuleImpl);
102#else
103#define ODRX_DECLARE_RENDERING_STATIC_MODULES_ENTRY_POINTS() \
104 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ExRasterModule);\
105 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(BitmapModule);\
106 ODRX_DECLARE_STATIC_MODULE_ENTRY_POINT(ModelerModule);
107#endif
108
109
110
111// Defines Architecture modules for static linking in host application sources to support Architecture objects and commands
112// in static module map definition ( ODRX_BEGIN_STATIC_MODULE_MAP() ... ODRX_END_STATIC_MODULE_MAP() )
113#define ODRX_DEFINE_ARCH_STATIC_APPMODULES() \
114 ODRX_DEFINE_STATIC_APPMODULE(OdRecomputeDimBlockModuleName, OdRecomputeDimBlockModule)\
115 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase", AECArchBase)\
116 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase40", AECArchBase40)\
117 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase50", AECArchBase50)\
118 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase60", AECArchBase60)\
119 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase70", AECArchBase70)\
120 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchBase80", AECArchBase80)\
121 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase", AECArchDACHBase)\
122 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase40", AECArchDACHBase40)\
123 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase50", AECArchDACHBase50)\
124 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase60", AECArchDACHBase60)\
125 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase70", AECArchDACHBase70)\
126 ODRX_DEFINE_STATIC_APPLICATION(L"AecArchDACHBase80", AECArchDACHBase80)\
127 ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase", AECAreaCalculationBase)\
128 ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase40", AECAreaCalculationBase40)\
129 ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase50", AECAreaCalculationBase50)\
130 ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase60", AECAreaCalculationBase60)\
131 ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase70", AECAreaCalculationBase70)\
132 ODRX_DEFINE_STATIC_APPLICATION(L"AecAreaCalculationBase80", AECAreaCalculationBase80)\
133 ODRX_DEFINE_STATIC_APPLICATION(L"AecBase", AECBase)\
134 ODRX_DEFINE_STATIC_APPLICATION(L"AecBase40", AECBase40)\
135 ODRX_DEFINE_STATIC_APPLICATION(L"AecBase50", AECBase50)\
136 ODRX_DEFINE_STATIC_APPLICATION(L"AecBase60", AECBase60)\
137 ODRX_DEFINE_STATIC_APPLICATION(L"AecBase70", AECBase70)\
138 ODRX_DEFINE_STATIC_APPLICATION(L"AecBase80", AECBase80)\
139 ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule", AECSchedule)\
140 ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule40", AECSchedule40)\
141 ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule50", AECSchedule50)\
142 ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule60", AECSchedule60)\
143 ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule70", AECSchedule70)\
144 ODRX_DEFINE_STATIC_APPLICATION(L"AecSchedule80", AECSchedule80)\
145 ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData", AECScheduleData)\
146 ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData40", AECScheduleData40)\
147 ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData50", AECScheduleData50)\
148 ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData60", AECScheduleData60)\
149 ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData70", AECScheduleData70)\
150 ODRX_DEFINE_STATIC_APPLICATION(L"AecScheduleData80", AECScheduleData80)\
151 ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase", AECStructureBase)\
152 ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase40", AECStructureBase40)\
153 ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase50", AECStructureBase50)\
154 ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase60", AECStructureBase60)\
155 ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase70", AECStructureBase70)\
156 ODRX_DEFINE_STATIC_APPLICATION(L"AecStructureBase80", AECStructureBase80)\
157 //ODRX_DEFINE_STATIC_APPMODULE(L"TATestsTxModuleName", TATestsTx)\
158// last line of the macros
159
160
161
162#define ODRX_DEFINE_ARCH_UI_STATIC_APPMODULES() \
163 ODRX_DEFINE_STATIC_APPLICATION(L"AecUIBase", AECUIBase)\
164 ODRX_DEFINE_STATIC_APPLICATION(L"AecUIArchBase", AECUIArchBase)\
165 ODRX_DEFINE_STATIC_APPLICATION(L"AecUISchedule", AECUISchedule)\
166 ODRX_DEFINE_STATIC_APPLICATION(L"AecUIStructureBase", AECUIStructureBase)\
167// last line of the macros
168
169
170
171#if defined(_WIN32)
172
173#if defined(ODOLEITEMHANDLER_ENABLED)
174#define ODRX_DEFINE_STATIC_APPMODULE_OLEMODULE ODRX_DEFINE_STATIC_APPMODULE(OdOleItemHandlerModuleName, OdOleItemHandlerModuleImpl)
175#else
176#define ODRX_DEFINE_STATIC_APPMODULE_OLEMODULE
177#endif
178
179#if !defined(WINDIRECTX_DISABLED)
180#define ODRX_DEFINE_STATIC_APPMODULE_DIRECTX_MODULE ODRX_DEFINE_STATIC_APPMODULE (OdWinDirectXModuleName, WinDirectXModule)
181#else
182#define ODRX_DEFINE_STATIC_APPMODULE_DIRECTX_MODULE
183#endif
184
185#define ODRX_DEFINE_RENDERING_STATIC_APPMODULES() \
186 ODRX_DEFINE_STATIC_APPMODULE (OdWinOpenGLModuleName, WinOpenGLModule)\
187 ODRX_DEFINE_STATIC_APPMODULE (OdWinGDIModuleName, WinGDIModule)\
188 ODRX_DEFINE_STATIC_APPMODULE_DIRECTX_MODULE \
189 ODRX_DEFINE_STATIC_APPLICATION (RX_RASTER_SERVICES_APPNAME, ExRasterModule)\
190 ODRX_DEFINE_STATIC_APPMODULE (OdWinBitmapModuleName, BitmapModule)\
191 ODRX_DEFINE_STATIC_APPMODULE (OdModelerGeometryModuleName, ModelerModule)\
192 ODRX_DEFINE_STATIC_APPMODULE_OLEMODULE
193#else
194
195#define ODRX_DEFINE_RENDERING_STATIC_APPMODULES() \
196 ODRX_DEFINE_STATIC_APPLICATION (RX_RASTER_SERVICES_APPNAME, ExRasterModule)\
197 ODRX_DEFINE_STATIC_APPMODULE (OdWinBitmapModuleName, BitmapModule)\
198 ODRX_DEFINE_STATIC_APPMODULE (OdModelerGeometryModuleName, ModelerModule)
199#endif
200
201
202
203#endif //__AECAPPSTATICMODULES_H__