MADARA  3.1.8
NddsTransportExport.h
Go to the documentation of this file.
1 
2 // -*- C++ -*-
3 // $Id$
4 // Definition for Win32 Export directives.
5 // This file is generated automatically by generate_export_file.pl NddsTransport
6 // ------------------------------
7 #ifndef NDDS_TRANSPORT_EXPORT_H
8 #define NDDS_TRANSPORT_EXPORT_H
9 
10 #include "ace/config-all.h"
11 
12 #if defined (ACE_AS_STATIC_LIBS) && !defined (NDDS_TRANSPORT_HAS_DLL)
13 # define NDDS_TRANSPORT_HAS_DLL 0
14 #endif /* ACE_AS_STATIC_LIBS && NDDS_TRANSPORT_HAS_DLL */
15 
16 #if !defined (NDDS_TRANSPORT_HAS_DLL)
17 # define NDDS_TRANSPORT_HAS_DLL 1
18 #endif /* ! NDDS_TRANSPORT_HAS_DLL */
19 
20 #if defined (NDDS_TRANSPORT_HAS_DLL) && (NDDS_TRANSPORT_HAS_DLL == 1)
21 # if defined (NDDS_TRANSPORT_BUILD_DLL)
22 # define NddsTransportExport ACE_Proper_Export_Flag
23 # define NDDS_TRANSPORT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
24 # define NDDS_TRANSPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
25 # else /* NDDS_TRANSPORT_BUILD_DLL */
26 # define NddsTransportExport ACE_Proper_Import_Flag
27 # define NDDS_TRANSPORT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
28 # define NDDS_TRANSPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
29 # endif /* NDDS_TRANSPORT_BUILD_DLL */
30 #else /* NDDS_TRANSPORT_HAS_DLL == 1 */
31 # define NddsTransportExport
32 # define NDDS_TRANSPORT_SINGLETON_DECLARATION(T)
33 # define NDDS_TRANSPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
34 #endif /* NDDS_TRANSPORT_HAS_DLL == 1 */
35 
36 // Set NDDS_TRANSPORT_NTRACE = 0 to turn on library specific tracing even if
37 // tracing is turned off for ACE.
38 #if !defined (NDDS_TRANSPORT_NTRACE)
39 # if (ACE_NTRACE == 1)
40 # define NDDS_TRANSPORT_NTRACE 1
41 # else /* (ACE_NTRACE == 1) */
42 # define NDDS_TRANSPORT_NTRACE 0
43 # endif /* (ACE_NTRACE == 1) */
44 #endif /* !NDDS_TRANSPORT_NTRACE */
45 
46 #if (NDDS_TRANSPORT_NTRACE == 1)
47 # define NDDS_TRANSPORT_TRACE(X)
48 #else /* (NDDS_TRANSPORT_NTRACE == 1) */
49 # if !defined (ACE_HAS_TRACE)
50 # define ACE_HAS_TRACE
51 # endif /* ACE_HAS_TRACE */
52 # define NDDS_TRANSPORT_TRACE(X) ACE_TRACE_IMPL(X)
53 # include "ace/Trace.h"
54 #endif /* (NDDS_TRANSPORT_NTRACE == 1) */
55 
56 #endif /* NDDS_TRANSPORT_EXPORT_H */
57 
58 // End of auto generated file.