Go to the documentation of this file.
17 #ifndef _GAZEBO_VISIBLE_HH_
18 #define _GAZEBO_VISIBLE_HH_
26 #if defined BUILDING_STATIC_LIBS
27 #define GAZEBO_VISIBLE
28 #define GZ_COMMON_VISIBLE
29 #define GZ_MATH_VISIBLE
30 #define GZ_TRANSPORT_VISIBLE
31 #define GZ_MSGS_VISIBLE
32 #define GZ_SELECTION_BUFF_VISIBLE
33 #define GZ_RENDERING_VISIBLE
34 #define GZ_UTIL_VISIBLE
35 #define GZ_PLUGIN_VISIBLE
36 #define GZ_RENDERING_DEFERRED_VISIBLE
37 #define GZ_PHYSICS_VISIBLE
38 #define GZ_PHYSICS_ODE_VISIBLE
39 #define GZ_GUI_VISIBLE
40 #define GZ_GUI_BUILDING_VISIBLE
41 #define GZ_GUI_MODEL_VISIBLE
42 #define GZ_GUI_TERRAIN_VISIBLE
43 #define GZ_GUI_VIEWERS_VISIBLE
46 #if defined _WIN32 || defined __CYGWIN__
49 #define GAZEBO_VISIBLE __attribute__ ((dllexport))
51 #define GAZEBO_VISIBLE __declspec(dllexport)
55 #define GAZEBO_VISIBLE __attribute__ ((dllimport))
57 #define GAZEBO_VISIBLE __declspec(dllimport)
63 #define GAZEBO_VISIBLE __attribute__ ((visibility ("default")))
64 #define GAZEBO_HIDDEN __attribute__ ((visibility ("hidden")))
66 #define GAZEBO_VISIBLE
71 #if defined _WIN32 || defined __CYGWIN__
72 #ifdef BUILDING_DLL_GZ_COMMON
74 #define GZ_COMMON_VISIBLE __attribute__ ((dllexport))
76 #define GZ_COMMON_VISIBLE __declspec(dllexport)
80 #define GZ_COMMON_VISIBLE __attribute__ ((dllimport))
82 #define GZ_COMMON_VISIBLE __declspec(dllimport)
85 #define GZ_COMMON_HIDDEN
88 #define GZ_COMMON_VISIBLE __attribute__ ((visibility ("default")))
89 #define GZ_COMMON_HIDDEN __attribute__ ((visibility ("hidden")))
91 #define GZ_COMMON_VISIBLE
92 #define GZ_COMMON_HIDDEN
96 #if defined _WIN32 || defined __CYGWIN__
97 #ifdef BUILDING_DLL_GZ_PLUGIN
99 #define GZ_PLUGIN_VISIBLE __attribute__ ((dllexport))
101 #define GZ_PLUGIN_VISIBLE __declspec(dllexport)
105 #define GZ_PLUGIN_VISIBLE __attribute__ ((dllimport))
107 #define GZ_PLUGIN_VISIBLE __declspec(dllimport)
110 #define GZ_PLUGIN_HIDDEN
113 #define GZ_PLUGIN_VISIBLE __attribute__ ((visibility ("default")))
114 #define GZ_PLUGIN_HIDDEN __attribute__ ((visibility ("hidden")))
116 #define GZ_PLUGIN_VISIBLE
117 #define GZ_PLUGIN_HIDDEN
121 #if defined _WIN32 || defined __CYGWIN__
122 #ifdef BUILDING_DLL_GZ_MATH
124 #define GZ_MATH_VISIBLE __attribute__ ((dllexport))
126 #define GZ_MATH_VISIBLE __declspec(dllexport)
130 #define GZ_MATH_VISIBLE __attribute__ ((dllimport))
132 #define GZ_MATH_VISIBLE __declspec(dllimport)
135 #define GZ_MATH_HIDDEN
138 #define GZ_MATH_VISIBLE __attribute__ ((visibility ("default")))
139 #define GZ_MATH_HIDDEN __attribute__ ((visibility ("hidden")))
141 #define GZ_MATH_VISIBLE
142 #define GZ_MATH_HIDDEN
146 #if defined _WIN32 || defined __CYGWIN__
147 #ifdef BUILDING_DLL_GZ_TRANSPORT
149 #define GZ_TRANSPORT_VISIBLE __attribute__ ((dllexport))
151 #define GZ_TRANSPORT_VISIBLE __declspec(dllexport)
155 #define GZ_TRANSPORT_VISIBLE __attribute__ ((dllimport))
157 #define GZ_TRANSPORT_VISIBLE __declspec(dllimport)
160 #define GZ_TRANSPORT_HIDDEN
163 #define GZ_TRANSPORT_VISIBLE __attribute__ ((visibility ("default")))
164 #define GZ_TRANSPORT_HIDDEN __attribute__ ((visibility ("hidden")))
166 #define GZ_TRANSPORT_VISIBLE
167 #define GZ_TRANSPORT_HIDDEN
171 #if defined _WIN32 || defined __CYGWIN__
172 #ifdef BUILDING_DLL_GZ_MSGS
174 #define GZ_MSGS_VISIBLE __attribute__ ((dllexport))
176 #define GZ_MSGS_VISIBLE __declspec(dllexport)
180 #define GZ_MSGS_VISIBLE __attribute__ ((dllimport))
182 #define GZ_MSGS_VISIBLE __declspec(dllimport)
185 #define GZ_MSGS_HIDDEN
188 #define GZ_MSGS_VISIBLE __attribute__ ((visibility ("default")))
189 #define GZ_MSGS_HIDDEN __attribute__ ((visibility ("hidden")))
191 #define GZ_MSGS_VISIBLE
192 #define GZ_MSGS_HIDDEN
196 #if defined _WIN32 || defined __CYGWIN__
197 #ifdef BUILDING_DLL_GZ_SELECTION_BUFF
199 #define GZ_SELECTION_BUFF_VISIBLE __attribute__ ((dllexport))
201 #define GZ_SELECTION_BUFF_VISIBLE __declspec(dllexport)
205 #define GZ_SELECTION_BUFF_VISIBLE __attribute__ ((dllimport))
207 #define GZ_SELECTION_BUFF_VISIBLE __declspec(dllimport)
210 #define GZ_SELECTION_BUFF_HIDDEN
213 #define GZ_SELECTION_BUFF_VISIBLE __attribute__ ((visibility ("default")))
214 #define GZ_SELECTION_BUFF_HIDDEN __attribute__ ((visibility ("hidden")))
216 #define GZ_SELECTION_BUFF_VISIBLE
217 #define GZ_SELECTION_BUFF_HIDDEN
221 #if defined _WIN32 || defined __CYGWIN__
222 #ifdef BUILDING_DLL_GZ_RENDERING
224 #define GZ_RENDERING_VISIBLE __attribute__ ((dllexport))
226 #define GZ_RENDERING_VISIBLE __declspec(dllexport)
230 #define GZ_RENDERING_VISIBLE __attribute__ ((dllimport))
232 #define GZ_RENDERING_VISIBLE __declspec(dllimport)
235 #define GZ_RENDERING_HIDDEN
238 #define GZ_RENDERING_VISIBLE __attribute__ ((visibility ("default")))
239 #define GZ_RENDERING_HIDDEN __attribute__ ((visibility ("hidden")))
241 #define GZ_RENDERING_VISIBLE
242 #define GZ_RENDERING_HIDDEN
246 #if defined _WIN32 || defined __CYGWIN__
247 #ifdef BUILDING_DLL_GZ_UTIL
249 #define GZ_UTIL_VISIBLE __attribute__ ((dllexport))
251 #define GZ_UTIL_VISIBLE __declspec(dllexport)
255 #define GZ_UTIL_VISIBLE __attribute__ ((dllimport))
257 #define GZ_UTIL_VISIBLE __declspec(dllimport)
260 #define GZ_UTIL_HIDDEN
263 #define GZ_UTIL_VISIBLE __attribute__ ((visibility ("default")))
264 #define GZ_UTIL_HIDDEN __attribute__ ((visibility ("hidden")))
266 #define GZ_UTIL_VISIBLE
267 #define GZ_UTIL_HIDDEN
271 #if defined _WIN32 || defined __CYGWIN__
272 #ifdef BUILDING_DLL_GZ_RENDERING_DEFERRED
274 #define GZ_RENDERING_DEFERRED_VISIBLE __attribute__ ((dllexport))
276 #define GZ_RENDERING_DEFERRED_VISIBLE __declspec(dllexport)
280 #define GZ_RENDERING_DEFERRED_VISIBLE __attribute__ ((dllimport))
282 #define GZ_RENDERING_DEFERRED_VISIBLE __declspec(dllimport)
285 #define GZ_RENDERING_DEFERRED_HIDDEN
288 #define GZ_RENDERING_DEFERRED_VISIBLE __attribute__ ((visibility (\
290 #define GZ_RENDERING_DEFERRED_HIDDEN __attribute__ ((visibility (\
293 #define GZ_RENDERING_DEFERRED_VISIBLE
294 #define GZ_RENDERING_DEFERRED_HIDDEN
298 #if defined _WIN32 || defined __CYGWIN__
299 #ifdef BUILDING_DLL_GZ_PHYSICS
301 #define GZ_PHYSICS_VISIBLE __attribute__ ((dllexport))
303 #define GZ_PHYSICS_VISIBLE __declspec(dllexport)
307 #define GZ_PHYSICS_VISIBLE __attribute__ ((dllimport))
309 #define GZ_PHYSICS_VISIBLE __declspec(dllimport)
312 #define GZ_PHYSICS_HIDDEN
315 #define GZ_PHYSICS_VISIBLE __attribute__ ((visibility ("default")))
316 #define GZ_PHYSICS_HIDDEN __attribute__ ((visibility ("hidden")))
318 #define GZ_PHYSICS_VISIBLE
319 #define GZ_PHYSICS_HIDDEN
323 #if defined _WIN32 || defined __CYGWIN__
324 #ifdef BUILDING_DLL_GZ_PHYSICS_ODE
326 #define GZ_PHYSICS_ODE_VISIBLE __attribute__ ((dllexport))
328 #define GZ_PHYSICS_ODE_VISIBLE __declspec(dllexport)
332 #define GZ_PHYSICS_ODE_VISIBLE __attribute__ ((dllimport))
334 #define GZ_PHYSICS_ODE_VISIBLE __declspec(dllimport)
337 #define GZ_PHYSICS_ODE_HIDDEN
340 #define GZ_PHYSICS_ODE_VISIBLE __attribute__ ((visibility ("default")))
341 #define GZ_PHYSICS_ODE_HIDDEN __attribute__ ((visibility ("hidden")))
343 #define GZ_PHYSICS_ODE_VISIBLE
344 #define GZ_PHYSICS_ODE_HIDDEN
348 #if defined _WIN32 || defined __CYGWIN__
349 #ifdef BUILDING_DLL_GZ_GUI
351 #define GZ_GUI_VISIBLE __attribute__ ((dllexport))
353 #define GZ_GUI_VISIBLE __declspec(dllexport)
357 #define GZ_GUI_VISIBLE __attribute__ ((dllimport))
359 #define GZ_GUI_VISIBLE __declspec(dllimport)
362 #define GZ_GUI_HIDDEN
365 #define GZ_GUI_VISIBLE __attribute__ ((visibility ("default")))
366 #define GZ_GUI_HIDDEN __attribute__ ((visibility ("hidden")))
368 #define GZ_GUI_VISIBLE
369 #define GZ_GUI_HIDDEN
373 #if defined _WIN32 || defined __CYGWIN__
374 #ifdef BUILDING_DLL_GZ_GUI_BUILDING
376 #define GZ_GUI_BUILDING_VISIBLE __attribute__ ((dllexport))
378 #define GZ_GUI_BUILDING_VISIBLE __declspec(dllexport)
382 #define GZ_GUI_BUILDING_VISIBLE __attribute__ ((dllimport))
384 #define GZ_GUI_BUILDING_VISIBLE __declspec(dllimport)
387 #define GZ_GUI_BUILDING_HIDDEN
390 #define GZ_GUI_BUILDING_VISIBLE __attribute__ ((visibility ("default")))
391 #define GZ_GUI_BUILDING_HIDDEN __attribute__ ((visibility ("hidden")))
393 #define GZ_GUI_BUILDING_VISIBLE
394 #define GZ_GUI_BUILDING_HIDDEN
398 #if defined _WIN32 || defined __CYGWIN__
399 #ifdef BUILDING_DLL_GZ_GUI_MODEL
401 #define GZ_GUI_MODEL_VISIBLE __attribute__ ((dllexport))
403 #define GZ_GUI_MODEL_VISIBLE __declspec(dllexport)
407 #define GZ_GUI_MODEL_VISIBLE __attribute__ ((dllimport))
409 #define GZ_GUI_MODEL_VISIBLE __declspec(dllimport)
412 #define GZ_GUI_MODEL_HIDDEN
415 #define GZ_GUI_MODEL_VISIBLE __attribute__ ((visibility ("default")))
416 #define GZ_GUI_MODEL_HIDDEN __attribute__ ((visibility ("hidden")))
418 #define GZ_GUI_MODEL_VISIBLE
419 #define GZ_GUI_MODEL_HIDDEN
423 #if defined _WIN32 || defined __CYGWIN__
424 #ifdef BUILDING_DLL_GZ_GUI_TERRAIN
426 #define GZ_GUI_TERRAIN_VISIBLE __attribute__ ((dllexport))
428 #define GZ_GUI_TERRAIN_VISIBLE __declspec(dllexport)
432 #define GZ_GUI_TERRAIN_VISIBLE __attribute__ ((dllimport))
434 #define GZ_GUI_TERRAIN_VISIBLE __declspec(dllimport)
437 #define GZ_GUI_TERRAIN_HIDDEN
440 #define GZ_GUI_TERRAIN_VISIBLE __attribute__ ((visibility ("default")))
441 #define GZ_GUI_TERRAIN_HIDDEN __attribute__ ((visibility ("hidden")))
443 #define GZ_GUI_TERRAIN_VISIBLE
444 #define GZ_GUI_TERRAIN_HIDDEN
448 #if defined _WIN32 || defined __CYGWIN__
449 #ifdef BUILDING_DLL_GZ_GUI_VIEWERS
451 #define GZ_GUI_VIEWERS_VISIBLE __attribute__ ((dllexport))
453 #define GZ_GUI_VIEWERS_VISIBLE __declspec(dllexport)
457 #define GZ_GUI_VIEWERS_VISIBLE __attribute__ ((dllimport))
459 #define GZ_GUI_VIEWERS_VISIBLE __declspec(dllimport)
462 #define GZ_GUI_VIEWERS_HIDDEN
465 #define GZ_GUI_VIEWERS_VISIBLE __attribute__ ((visibility ("default")))
466 #define GZ_GUI_VIEWERS_HIDDEN __attribute__ ((visibility ("hidden")))
468 #define GZ_GUI_VIEWERS_VISIBLE
469 #define GZ_GUI_VIEWERS_HIDDEN