orbconf.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file     orbconf.h
00006  *
00007  *  $Id: orbconf.h 81663 2008-05-09 12:43:47Z johnnyw $
00008  *
00009  *  Build configuration file.
00010  *
00011  *  @author  Copyright 1995 by Sun Microsystems, Inc.
00012  *  @author  Chris Cleeland
00013  *  @author  Douglas C. Schmidt
00014  */
00015 //=============================================================================
00016 
00017 #ifndef TAO_ORBCONF_H
00018 #define TAO_ORBCONF_H
00019 
00020 #include /**/ "ace/pre.h"
00021 
00022 #include "ace/Basic_Types.h"
00023 #include "ace/Global_Macros.h"
00024 #include "ace/Synch_Traits.h"
00025 
00026 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00027 # pragma once
00028 #endif /* ACE_LACKS_PRAGMA_ONCE */
00029 
00030 #include /**/ "tao/Versioned_Namespace.h"
00031 
00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00033 
00034 #define TAO_INVALID_PRIORITY -1
00035 
00036 #if !defined (TAO_REACTOR)
00037 #define TAO_REACTOR ACE_Select_Reactor
00038 #endif /* TAO_REACTOR */
00039 
00040 #if !defined (TAO_NULL_LOCK_REACTOR)
00041 #define TAO_NULL_LOCK_REACTOR ACE_Select_Reactor_T< ACE_Reactor_Token_T<ACE_Noop_Token> >
00042 #endif /* TAO_NULL_LOCK_REACTOR */
00043 
00044 //FUZZ: disable check_for_ACE_SYNCH_MUTEX
00045 // Define this to modify the default mutex type used throughout TAO.
00046 #if !defined (TAO_SYNCH_MUTEX)
00047 #define TAO_SYNCH_MUTEX ACE_SYNCH_MUTEX
00048 #endif /* TAO_SYNCH_MUTEX */
00049 //FUZZ: enable check_for_ACE_SYNCH_MUTEX
00050 
00051 #if !defined (TAO_SYNCH_RECURSIVE_MUTEX)
00052 #define TAO_SYNCH_RECURSIVE_MUTEX ACE_SYNCH_RECURSIVE_MUTEX
00053 #endif /* TAO_SYNCH_RECURSIVE_MUTEX */
00054 
00055 #if !defined (TAO_SYNCH_RW_MUTEX)
00056 #define TAO_SYNCH_RW_MUTEX ACE_SYNCH_RW_MUTEX
00057 #endif /* TAO_SYNCH_RW_MUTEX */
00058 
00059 #if !defined (TAO_SYNCH_CONDITION)
00060 #define TAO_SYNCH_CONDITION ACE_SYNCH_CONDITION
00061 #endif /* TAO_SYNCH_CONDITION */
00062 
00063 // Define this if you don't want POA timestamps in the IOR.  Remember,
00064 // without timestamps, transient and persistent POA cannot be
00065 // distinguished.
00066 #if !defined (POA_NO_TIMESTAMP)
00067 # define POA_NO_TIMESTAMP 0
00068 #endif /* POA_NO_TIMESTAMP */
00069 
00070 // If set the ORB will use dotted decimal addresses in the IIOP IORs
00071 // it exports.  This is useful for platforms or environments that
00072 // cannot depend on a DNS being available.  This macro only affects
00073 // the server side of a TAO-based CORBA application. If we are on Win32
00074 // the DNS is perenially broken. Set it to 1 regardless.
00075 #if !defined (TAO_USE_DOTTED_DECIMAL_ADDRESSES) && defined (ACE_WIN32)
00076 # define TAO_USE_DOTTED_DECIMAL_ADDRESSES 1
00077 #endif /*TAO_USE_DOTTED_DECIMAL_ADDRESSES*/
00078 
00079 #if !defined (TAO_USE_DOTTED_DECIMAL_ADDRESSES)
00080 # define TAO_USE_DOTTED_DECIMAL_ADDRESSES 0
00081 #endif /* TAO_USE_DOTTED_DECIMAL_ADDRESSES */
00082 
00083 // If set the ORB will use codeset negotiation. This means adding a
00084 // Codeset component to each profile in an IOR, and a codeset context
00085 // to the first request. The use of codeset negotiation also causes
00086 // libTAO_Codeset to be linked in.
00087 #if !defined (TAO_NEGOTIATE_CODESETS)
00088 # define TAO_NEGOTIATE_CODESETS 1
00089 #endif /*TAO_NEGOTIATE_CODESETS*/
00090 
00091 // The default size of TAO's ORB table, i.e. the one used as the
00092 // underlying implementation for the CORBA::ORB_init() function.
00093 #if !defined (TAO_DEFAULT_ORB_TABLE_SIZE)
00094 const size_t TAO_DEFAULT_ORB_TABLE_SIZE = 16;
00095 #endif  /* !TAO_DEFAULT_ORB_TABLE_SIZE */
00096 
00097 // The default size of TAO's adapter registry.
00098 #if !defined (TAO_DEFAULT_ADAPTER_REGISTRY_SIZE)
00099 const size_t TAO_DEFAULT_ADAPTER_REGISTRY_SIZE = 16;
00100 #endif  /* !TAO_DEFAULT_ORB_TABLE_SIZE */
00101 
00102 // The default size of the reply dispatcher table, ie. if the reply
00103 // dispatcher strategy needs a table to maintain association between
00104 // request id's and reply dispatchers
00105 #if !defined (TAO_RD_TABLE_SIZE)
00106 const size_t TAO_RD_TABLE_SIZE = 16;
00107 #endif  /* !TAO_RD_TABLE_SIZE */
00108 
00109 // The default size of TAO's policy factory registry, i.e. the map
00110 // used as the underlying implementation for the
00111 // PortableInterceptor::ORBInitInfo::register_policy_factory() method.
00112 #if !defined (TAO_DEFAULT_POLICY_FACTORY_REGISTRY_SIZE)
00113 const size_t TAO_DEFAULT_POLICY_FACTORY_REGISTRY_SIZE = 64;
00114 #endif  /* !TAO_DEFAULT_ORB_TABLE_SIZE */
00115 
00116 // The default size of TAO's initial object reference table, i.e. the
00117 // one used as the underlying implementation for the
00118 // CORBA::ORB::register_initial_reference() and
00119 // PortableInterceptor::ORBInitInfo::register_initial_reference()
00120 // methods.
00121 #if !defined (TAO_DEFAULT_OBJECT_REF_TABLE_SIZE)
00122 const size_t TAO_DEFAULT_OBJECT_REF_TABLE_SIZE = 256;
00123 #endif  /* !TAO_DEFAULT_ORB_TABLE_SIZE */
00124 
00125 // The default size of TAO's ValueFactory table, i.e. the
00126 // one used as the underlying implementation for the
00127 // CORBA::ORB::register_value_factory() method.
00128 #if !defined (TAO_DEFAULT_VALUE_FACTORY_TABLE_SIZE)
00129 const size_t TAO_DEFAULT_VALUE_FACTORY_TABLE_SIZE = 128;
00130 #endif  /* !TAO_DEFAULT_ORB_TABLE_SIZE */
00131 
00132 
00133 // The default size of TAO's server active object map.
00134 #if !defined (TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE)
00135 # if defined (TAO_DEFAULT_SERVER_OBJECT_TABLE_SIZE)
00136 //
00137 // TAO_DEFAULT_SERVER_OBJECT_TABLE_SIZE is deprecated. Please use
00138 // TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE.
00139 //
00140 #  define TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE TAO_DEFAULT_SERVER_OBJECT_TABLE_SIZE
00141 # else
00142 #  define TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE 64
00143 # endif /* TAO_DEFAULT_SERVER_OBJECT_TABLE_SIZE */
00144 #endif /* ! TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE */
00145 
00146 // The default size of TAO's server poa map.
00147 #if !defined (TAO_DEFAULT_SERVER_POA_MAP_SIZE)
00148 #  define TAO_DEFAULT_SERVER_POA_MAP_SIZE 24
00149 #endif /* ! TAO_DEFAULT_SERVER_POA_MAP_SIZE */
00150 
00151 // The default timeout receiving the location request to the TAO
00152 // Naming, Trading and other servicesService.
00153 #if !defined (TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT)
00154 #define TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT 10
00155 #endif /* TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT */
00156 
00157 // The default starting port number for TAO servers.
00158 // @@ This assumes we are using one or more protocols that will all
00159 // @@ 1) know what to do with a port number and
00160 // @@ 2) use the same default port number.
00161 // @@ This should go away!
00162 #if !defined (TAO_DEFAULT_SERVER_PORT)
00163 #define TAO_DEFAULT_SERVER_PORT 0
00164 #endif /* TAO_DEFAULT_SERVER_PORT */
00165 
00166 // TAO's max buffer size
00167 #if !defined (TAO_MAXBUFSIZE)
00168 #define TAO_MAXBUFSIZE 1024
00169 #endif /* TAO_MAXBUFSIZE */
00170 
00171 #if !defined (TAO_CONNECTION_PURGING_STRATEGY)
00172 # define TAO_CONNECTION_PURGING_STRATEGY TAO_Resource_Factory::LRU
00173 #endif /* TAO_CONNECTION_PURGING_STRATEGY */
00174 
00175 #if !defined (TAO_PURGE_PERCENT)
00176 # define TAO_PURGE_PERCENT 20
00177 #endif /* TAO_PURGE_PERCENT */
00178 
00179 #if !defined (TAO_CONNECTION_CACHE_MAXIMUM)
00180 // If for some reason you configure the maximum number of handles in
00181 // your OS to some astronomical value, then you should override this
00182 // macro to be a smaller value, e.g., NOFILES or FD_SETSIZE.
00183 # define TAO_CONNECTION_CACHE_MAXIMUM (ACE::max_handles () / 2)
00184 #endif /* TAO_CONNECTION_CACHE_MAXIMUM */
00185 
00186 // This definition theoretically is not required. Just leaving it here
00187 // for backward compatibility
00188 #define TAO_NAMESPACE_STORAGE_CLASS extern TAO_EXPORT_MACRO
00189 
00190 # if defined (_MSC_VER) && defined (__ACE_INLINE__)
00191 #   define TAO_NAMESPACE_INLINE_FUNCTION inline
00192 # else
00193 #   define TAO_NAMESPACE_INLINE_FUNCTION TAO_NAMESPACE_STORAGE_CLASS
00194 # endif
00195 
00196 #if !defined(TAO_NO_COPY_OCTET_SEQUENCES)
00197 # define TAO_NO_COPY_OCTET_SEQUENCES 1
00198 #endif /* TAO_NO_COPY_OCTET_SEQUENCES */
00199 
00200 #define TAO_HAS_EXCEPTIONS
00201 
00202 // BC++ seems to have a different convention for detecting Win32 than
00203 // VC++.
00204 
00205 #if defined (__WIN32__)
00206 # if !defined(_WIN32)
00207 #   define _WIN32
00208 # endif /* !defined(_WIN32) */
00209 #endif /* __WIN32__ */
00210 
00211 // Define to `int' if <sys/types.h> doesn't define.
00212 /* #undef pid_t */
00213 
00214 // Define if your processor does not store words with the most significant
00215 // byte first.
00216 
00217 // @todo It seems to be that this definition of TAO_ENCAP_BYTE_ORDER
00218 // should be removed. We have an equivalent ACE definition in
00219 // ACE_CDR_BYTE_ORDER. Today both of them are consistent. It would be
00220 // a havoc if oneday this consistency is gone..
00221 #if defined (ACE_LITTLE_ENDIAN)
00222 #  define TAO_ENCAP_BYTE_ORDER 1  /* little endian encapsulation byte order has
00223                                      the value = 1 */
00224 #else  /* ! ACE_LITTLE_ENDIAN */
00225 #  define TAO_ENCAP_BYTE_ORDER 0  /* big endian encapsulation byte order has
00226                                      the value = 0 */
00227 #endif /* ! ACE_LITTLE_ENDIAN */
00228 
00229 // Define as the return type of signal handlers (int or void).
00230 #define RETSIGTYPE void
00231 
00232 // Define if you don't have vprintf but do have _doprnt.
00233 /* #undef HAVE_DOPRNT */
00234 
00235 // Define if you have the vprintf function.
00236 #define HAVE_VPRINTF 1
00237 
00238 // Comment out to enable only ACE monitors...
00239 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
00240 #  define TAO_HAS_MONITOR_FRAMEWORK 1
00241 #else
00242 #  define TAO_HAS_MONITOR_FRAMEWORK 0
00243 #endif /* ACE_HAS_MONITOR_FRAMEWORK*/
00244 
00245 #if !defined (TAO_HAS_MONITOR_POINTS)
00246 # define TAO_HAS_MONITOR_POINTS ACE_HAS_MONITOR_POINTS
00247 #endif
00248 
00249 // Avoid namespace pollution that's common on older UNIXes...
00250 #if defined (minor)
00251 #undef minor
00252 #endif /* minor */
00253 
00254 #if defined (major)
00255 #undef major
00256 #endif /* major*/
00257 
00258 #if !defined (TAO_EXPORT_NESTED_CLASSES) \
00259     && defined (ACE_EXPORT_NESTED_CLASSES)
00260 #define TAO_EXPORT_NESTED_CLASSES
00261 #endif /* !defined TAO_EXPORT_NESTED_CLASSES */
00262 
00263 #if !defined (TAO_EXPORT_NESTED_MACRO)
00264 #define TAO_EXPORT_NESTED_MACRO
00265 #endif /* !defined (TAO_EXPORT_NESTED_MACRO) */
00266 
00267 // Assume DOS/Windows if "configure" didn't get run.
00268 
00269 #if defined (_MSC_VER)
00270 // "C4355: 'this' : used in base member initializer list"
00271 #  pragma warning (disable:4355) /* disable C4355 warning */
00272 #endif /* defined (_MSC_VER) */
00273 
00274 // The Root POA default name.
00275 #if !defined (TAO_DEFAULT_ROOTPOA_NAME)
00276 #define TAO_DEFAULT_ROOTPOA_NAME   "RootPOA"
00277 #endif /* TAO_DEFAULT_ROOTPOA_NAME */
00278 
00279 #if !defined (TAO_DEFAULT_ROOTPOAMANAGER_NAME)
00280 #define TAO_DEFAULT_ROOTPOAMANAGER_NAME   "RootPOAManager"
00281 #endif /* TAO_DEFAULT_ROOTPOAMANAGER_NAME */
00282 
00283 // The default lane name used when storing endpoints.
00284 #if !defined (TAO_DEFAULT_LANE)
00285 #define TAO_DEFAULT_LANE "default lane"
00286 #endif /* TAO_DEFAULT_LANE */
00287 
00288 // Minimum CORBA
00289 #if !defined (TAO_HAS_MINIMUM_CORBA)
00290 # define TAO_HAS_MINIMUM_CORBA 0
00291 #endif /* TAO_HAS_MINIMUM_CORBA */
00292 
00293 /// Default IIOP settings
00294 #if !defined (TAO_HAS_IIOP)
00295 #  define TAO_HAS_IIOP 1
00296 #endif  /* !TAO_HAS_IIOP */
00297 
00298 /// Default DIOP settings
00299 #if !defined (TAO_HAS_DIOP)
00300 #  define TAO_HAS_DIOP 1
00301 #endif  /* !TAO_HAS_DIOP */
00302 
00303 /// Default SCIOP Settings
00304 /// SCIOP is disabled by default (i.e. TAO_HAS_SCIOP is undef)
00305 /// to enable SCIOP, make with sctp=openss7 option on command line.
00306 /// See $ACE_ROOT/performance-tests/SCTP/README for more info.
00307 #if !defined (TAO_HAS_SCIOP)
00308 #  if defined (ACE_HAS_SCTP)
00309 #    define TAO_HAS_SCIOP 1
00310 #    define TAO_DEF_SCIOP_MAJOR 1
00311 #    define TAO_DEF_SCIOP_MINOR 0
00312 #  else
00313 #    define TAO_HAS_SCIOP 0
00314 #  endif  /* ACE_HAS_SCTP */
00315 #endif  /* !TAO_HAS_SCIOP */
00316 
00317 // UIOP support is enabled by default if the platform supports UNIX
00318 // domain sockets, and TAO is not configured for minimum CORBA.
00319 // If TAO is configured for minimum CORBA, then UIOP will be disabled
00320 // by default.
00321 // To explicitly enable UIOP support uncomment the following
00322 // #define TAO_HAS_UIOP 1
00323 // To explicitly disable UIOP support uncomment the following
00324 // #define TAO_HAS_UIOP 0
00325 
00326 // Default UIOP settings
00327 #if !defined (TAO_HAS_UIOP)
00328 #  if defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS)
00329 #    define TAO_HAS_UIOP 0
00330 #  else
00331 #    define TAO_HAS_UIOP 1
00332 #  endif  /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */
00333 #endif  /* !TAO_HAS_UIOP */
00334 
00335 // NSKPW and NSKFS are Pluggable Protocols used on the Tandem
00336 // platform.  These are disabled by default.
00337 
00338 #if defined (TAO_HAS_NSKPW)
00339 #define TAO_DEF_NSKPW_MAJOR 1
00340 #define TAO_DEF_NSKPW_MINOR 2
00341 #endif
00342 
00343 #if defined (TAO_HAS_NSKFS)
00344 #define TAO_DEF_NSKFS_MAJOR 1
00345 #define TAO_DEF_NSKFS_MINOR 2
00346 #endif
00347 
00348 #if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1)
00349 # if !defined (TAO_HAS_SHMIOP)
00350 #   define TAO_HAS_SHMIOP 1
00351 # endif /* TAO_HAS_SHMIOP */
00352 #else
00353 # if defined (TAO_HAS_SHMIOP)
00354 #   undef TAO_HAS_SHMIOP
00355 # endif /* TAO_HAS_SHMIOP */
00356 # define TAO_HAS_SHMIOP 0
00357 #endif /* ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1 */
00358 
00359 // NAMED_RT_MUTEX support is disabled by default.
00360 // To explicitly enable NAMED_RT_MUTEX support uncomment the following
00361 // #define TAO_HAS_NAMED_RT_MUTEXES 1
00362 // To explicitly disable NAMED_RT_MUTEX support uncomment the following
00363 // #define TAO_HAS_NAMED_RT_MUTEXES 0
00364 
00365 // Default NAMED_RT_MUTEX settings
00366 #if !defined (TAO_HAS_NAMED_RT_MUTEXES)
00367 #  define TAO_HAS_NAMED_RT_MUTEXES 0
00368 #endif  /* !TAO_HAS_NAMED_RT_MUTEXES */
00369 
00370 // MINIMUM_POA support is disabled by default if TAO is not
00371 // configured for minimum CORBA.  If TAO is configured for minimum
00372 // CORBA, then MINIMUM_POA will be enabled by default.
00373 // To explicitly enable MINIMUM_POA support uncomment the following
00374 // #define TAO_HAS_MINIMUM_POA 1
00375 // To explicitly disable MINIMUM_POA support uncomment the following
00376 // #define TAO_HAS_MINIMUM_POA 0
00377 
00378 // Default MINIMUM_POA settings
00379 #if !defined (TAO_HAS_MINIMUM_POA)
00380 #  if (TAO_HAS_MINIMUM_CORBA == 1)
00381 #    define TAO_HAS_MINIMUM_POA 1
00382 #  else
00383 #    define TAO_HAS_MINIMUM_POA 0
00384 #  endif  /* TAO_HAS_MINIMUM_CORBA */
00385 #endif  /* !TAO_HAS_MINIMUM_POA */
00386 
00387 // MINIMUM_POA_MAPS support is disabled by default if TAO is not
00388 // configured for minimum POA.  If TAO is configured for minimum
00389 // POA, then MINIMUM_POA_MAPS will be enabled by default.
00390 // To explicitly enable MINIMUM_POA_MAPS support uncomment the following
00391 // #define TAO_HAS_MINIMUM_POA_MAPS 1
00392 // To explicitly disable MINIMUM_POA_MAPS support uncomment the following
00393 // #define TAO_HAS_MINIMUM_POA_MAPS 0
00394 
00395 // Default MINIMUM_POA_MAPS settings
00396 #if !defined (TAO_HAS_MINIMUM_POA_MAPS)
00397 #  if (TAO_HAS_MINIMUM_POA == 1)
00398 #    define TAO_HAS_MINIMUM_POA_MAPS 1
00399 #  else
00400 #    define TAO_HAS_MINIMUM_POA_MAPS 0
00401 #  endif  /* TAO_HAS_MINIMUM_POA */
00402 #endif  /* !TAO_HAS_MINIMUM_POA_MAPS */
00403 
00404 // CORBA_MESSAGING support is enabled by default if TAO is not
00405 // configured for minimum CORBA.  If TAO is configured for minimum
00406 // CORBA, then CORBA_MESSAGING will be disabled by default.
00407 // To explicitly enable CORBA_MESSAGING support uncomment the following
00408 // #define TAO_HAS_CORBA_MESSAGING 1
00409 // To explicitly disable CORBA_MESSAGING support uncomment the following
00410 // #define TAO_HAS_CORBA_MESSAGING 0
00411 
00412 // Default CORBA_MESSAGING settings
00413 #if !defined (TAO_HAS_CORBA_MESSAGING)
00414 #    define TAO_HAS_CORBA_MESSAGING 1
00415 #endif  /* !TAO_HAS_CORBA_MESSAGING */
00416 
00417 // For all the policies, support is enabled by default if TAO is
00418 // configured for CORBA Messaging.  If TAO is not configured for CORBA
00419 // Messaging, then policies cannot be enabled.  Default support can be
00420 // turned off by setting TAO_DISABLE_CORBA_MESSAGING_POLICIES to 1.
00421 
00422 #if !defined (TAO_DISABLE_CORBA_MESSAGING_POLICIES)
00423 # define TAO_DISABLE_CORBA_MESSAGING_POLICIES 0
00424 #endif  /* !TAO_DISABLE_CORBA_MESSAGING_POLICIES */
00425 
00426 // To explicitly disable REBIND_POLICY support uncomment the following
00427 // #define TAO_HAS_REBIND_POLICY 0
00428 
00429 // Default REBIND_POLICY settings
00430 #if !defined (TAO_HAS_REBIND_POLICY)
00431 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00432       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00433 #    define TAO_HAS_REBIND_POLICY 1
00434 #  else
00435 #    define TAO_HAS_REBIND_POLICY 0
00436 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00437              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00438 #endif  /* !TAO_HAS_REBIND_POLICY */
00439 
00440 // To explicitly disable SYNC_SCOPE_POLICY support uncomment the following
00441 // #define TAO_HAS_SYNC_SCOPE_POLICY 0
00442 
00443 // Default SYNC_SCOPE_POLICY settings
00444 #if !defined (TAO_HAS_SYNC_SCOPE_POLICY)
00445 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00446       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00447 #    define TAO_HAS_SYNC_SCOPE_POLICY 1
00448 #  else
00449 #    define TAO_HAS_SYNC_SCOPE_POLICY 0
00450 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00451              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00452 #endif  /* !TAO_HAS_SYNC_SCOPE_POLICY */
00453 
00454 // To explicitly disable PRIORITY_POLICIES support uncomment the following
00455 // #define TAO_HAS_PRIORITY_POLICIES 0
00456 
00457 // Default PRIORITY_POLICIES settings
00458 #if !defined (TAO_HAS_PRIORITY_POLICIES)
00459 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00460       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00461 #    define TAO_HAS_PRIORITY_POLICIES 1
00462 #  else
00463 #    define TAO_HAS_PRIORITY_POLICIES 0
00464 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00465              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00466 #endif  /* !TAO_HAS_PRIORITY_POLICIES */
00467 
00468 // To explicitly disable REQUEST_START_TIME_POLICY support uncomment the following
00469 // #define TAO_HAS_REQUEST_START_TIME_POLICY 0
00470 
00471 // Default REQUEST_START_TIME_POLICY settings
00472 #if !defined (TAO_HAS_REQUEST_START_TIME_POLICY)
00473 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00474       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00475 #    define TAO_HAS_REQUEST_START_TIME_POLICY 1
00476 #  else
00477 #    define TAO_HAS_REQUEST_START_TIME_POLICY 0
00478 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00479              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00480 #endif  /* !TAO_HAS_REQUEST_START_TIME_POLICY */
00481 
00482 // To explicitly disable REQUEST_END_TIME_POLICY support uncomment the following
00483 // #define TAO_HAS_REQUEST_END_TIME_POLICY 0
00484 
00485 // Default REQUEST_END_TIME_POLICY settings
00486 #if !defined (TAO_HAS_REQUEST_END_TIME_POLICY)
00487 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00488       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00489 #    define TAO_HAS_REQUEST_END_TIME_POLICY 1
00490 #  else
00491 #    define TAO_HAS_REQUEST_END_TIME_POLICY 0
00492 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00493              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00494 #endif  /* !TAO_HAS_REQUEST_END_TIME_POLICY */
00495 
00496 // To explicitly disable REPLY_START_TIME_POLICY support uncomment the following
00497 // #define TAO_HAS_REPLY_START_TIME_POLICY 0
00498 
00499 // Default REPLY_START_TIME_POLICY settings
00500 #if !defined (TAO_HAS_REPLY_START_TIME_POLICY)
00501 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00502       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00503 #    define TAO_HAS_REPLY_START_TIME_POLICY 1
00504 #  else
00505 #    define TAO_HAS_REPLY_START_TIME_POLICY 0
00506 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00507              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00508 #endif  /* !TAO_HAS_REPLY_START_TIME_POLICY */
00509 
00510 // To explicitly disable REPLY_END_TIME_POLICY support uncomment the following
00511 // #define TAO_HAS_REPLY_END_TIME_POLICY 0
00512 
00513 // Default REPLY_END_TIME_POLICY settings
00514 #if !defined (TAO_HAS_REPLY_END_TIME_POLICY)
00515 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00516       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00517 #    define TAO_HAS_REPLY_END_TIME_POLICY 1
00518 #  else
00519 #    define TAO_HAS_REPLY_END_TIME_POLICY 0
00520 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00521              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00522 #endif  /* !TAO_HAS_REPLY_END_TIME_POLICY */
00523 
00524 // To explicitly disable RELATIVE_REQUEST_TIMEOUT_POLICY support uncomment the following
00525 // #define TAO_HAS_RELATIVE_REQUEST_TIMEOUT_POLICY 0
00526 
00527 // Default RELATIVE_REQUEST_TIMEOUT_POLICY settings
00528 #if !defined (TAO_HAS_RELATIVE_REQUEST_TIMEOUT_POLICY)
00529 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00530       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00531 #    define TAO_HAS_RELATIVE_REQUEST_TIMEOUT_POLICY 1
00532 #  else
00533 #    define TAO_HAS_RELATIVE_REQUEST_TIMEOUT_POLICY 0
00534 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00535              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00536 #endif  /* !TAO_HAS_RELATIVE_REQUEST_TIMEOUT_POLICY */
00537 
00538 // To explicitly disable RELATIVE_ROUNDTRIP_TIMEOUT_POLICY support uncomment the following
00539 // #define TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY 0
00540 
00541 // Default RELATIVE_ROUNDTRIP_TIMEOUT_POLICY settings
00542 #if !defined (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY)
00543 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00544       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00545 #    define TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY 1
00546 #  else
00547 #    define TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY 0
00548 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00549              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00550 #endif  /* !TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY */
00551 
00552 // Default CONNECTION_TIMEOUT_POLICY settings. This is a proprietary
00553 // TAO policy.
00554 #if !defined (TAO_HAS_CONNECTION_TIMEOUT_POLICY)
00555 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00556       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00557 #    define TAO_HAS_CONNECTION_TIMEOUT_POLICY 1
00558 #  else
00559 #    define TAO_HAS_CONNECTION_TIMEOUT_POLICY 0
00560 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00561              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00562 #endif  /* !TAO_HAS_CONNECTION_TIMEOUT_POLICY */
00563 
00564 
00565 // To explicitly disable ROUTING_POLICY support uncomment the following
00566 // #define TAO_HAS_ROUTING_POLICY 0
00567 
00568 // Default ROUTING_POLICY settings
00569 #if !defined (TAO_HAS_ROUTING_POLICY)
00570 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00571       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00572 #    define TAO_HAS_ROUTING_POLICY 1
00573 #  else
00574 #    define TAO_HAS_ROUTING_POLICY 0
00575 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00576              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00577 #endif  /* !TAO_HAS_ROUTING_POLICY */
00578 
00579 // To explicitly disable MAX_HOPS_POLICY support uncomment the following
00580 // #define TAO_HAS_MAX_HOPS_POLICY 0
00581 
00582 // Default MAX_HOPS_POLICY settings
00583 #if !defined (TAO_HAS_MAX_HOPS_POLICY)
00584 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00585       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00586 #    define TAO_HAS_MAX_HOPS_POLICY 1
00587 #  else
00588 #    define TAO_HAS_MAX_HOPS_POLICY 0
00589 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00590              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00591 #endif  /* !TAO_HAS_MAX_HOPS_POLICY */
00592 
00593 // To explicitly disable QUEUE_ORDER_POLICY support uncomment the following
00594 // #define TAO_HAS_QUEUE_ORDER_POLICY 0
00595 
00596 // Default QUEUE_ORDER_POLICY settings
00597 #if !defined (TAO_HAS_QUEUE_ORDER_POLICY)
00598 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00599       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00600 #    define TAO_HAS_QUEUE_ORDER_POLICY 1
00601 #  else
00602 #    define TAO_HAS_QUEUE_ORDER_POLICY 0
00603 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00604              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00605 #endif  /* !TAO_HAS_QUEUE_ORDER_POLICY */
00606 
00607 // To explicitly disable BUFFERING_CONSTRAINT_POLICY support uncomment the following
00608 // #define TAO_HAS_BUFFERING_CONSTRAINT_POLICY 0
00609 
00610 // Default BUFFERING_CONSTRAINT_POLICY settings
00611 #if !defined (TAO_HAS_BUFFERING_CONSTRAINT_POLICY)
00612 #  if (TAO_HAS_CORBA_MESSAGING == 1) && \
00613       (TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0)
00614 #    define TAO_HAS_BUFFERING_CONSTRAINT_POLICY 1
00615 #  else
00616 #    define TAO_HAS_BUFFERING_CONSTRAINT_POLICY 0
00617 #  endif  /* TAO_HAS_CORBA_MESSAGING == 1 &&
00618              TAO_DISABLE_CORBA_MESSAGING_POLICIES == 0 */
00619 #endif  /* !TAO_HAS_BUFFERING_CONSTRAINT_POLICY */
00620 
00621 // AMI support is enabled by default, unless TAO is compiled with
00622 // Minimum CORBA.  In that case AMI is disabled by default.
00623 // If disabled you can also disable the CORBA MESSAGING support.
00624 // To explicitly enable AMI support uncomment the following
00625 // #define TAO_HAS_AMI 1
00626 // To explicitly disable AMI support uncomment the following
00627 // #define TAO_HAS_AMI 0
00628 
00629 // Default AMI settings
00630 #if !defined (TAO_HAS_AMI)
00631 #  if (TAO_HAS_MINIMUM_CORBA == 1)
00632 #    define TAO_HAS_AMI 0
00633 #  else
00634 #    define TAO_HAS_AMI 1
00635 #  endif  /* TAO_HAS_MINIMUM_CORBA */
00636 #else
00637 #  if (TAO_HAS_AMI == 1) && \
00638       (TAO_HAS_CORBA_MESSAGING == 0)
00639 #  error "tao/orbconf.h: You need CORBA_MESSAGING for AMI support"
00640 #  endif /* TAO_HAS_AMI == 1 &&
00641             TAO_HAS_CORBA_MESSAGING == 0 */
00642 #endif  /* !TAO_HAS_AMI */
00643 
00644 // We dont have AMI_POLLER support in TAO. Just prevent anyone from
00645 // using it.
00646 
00647 /***********************************************************/
00648 // All these are for future use. Commenting it..
00649 
00650 // #if !defined (TAO_HAS_AMI_POLLER)
00651 // #  if (TAO_HAS_AMI == 1)
00652 // #    define TAO_HAS_AMI_POLLER 1
00653 // #  else
00654 // #    define TAO_HAS_AMI_POLLER 0
00655 // #  endif  /* TAO_HAS_AMI == 1 */
00656 // #else
00657 // #  if (TAO_HAS_AMI_POLLER == 1) && (TAO_HAS_CORBA_MESSAGING == 0)
00658 // #  error "tao/orbconf.h: You need CORBA_MESSAGING for AMI support"
00659 // #  endif /* TAO_HAS_AMI_POLLER == 1 &&
00660 //             TAO_HAS_CORBA_MESSAGING == 0 */
00661 // #endif  /* !TAO_HAS_AMI_POLLER */
00662 /***********************************************************/
00663 
00664 // AMI_CALLBACK support is disabled by default if TAO is not
00665 // configured for AMI.  If TAO is configured for AMI, then
00666 // AMI_CALLBACK will be enabled by default. If enabled, it requires
00667 // CORBA_MESSAGING support.
00668 // To explicitly enable AMI_CALLBACK support uncomment the following
00669 // #define TAO_HAS_AMI_CALLBACK 1
00670 // To explicitly disable AMI_CALLBACK support uncomment the following
00671 // #define TAO_HAS_AMI_CALLBACK 0
00672 
00673 // Default AMI_CALLBACK settings
00674 #if !defined (TAO_HAS_AMI_CALLBACK)
00675 #  if (TAO_HAS_AMI == 1)
00676 #    define TAO_HAS_AMI_CALLBACK 1
00677 #  else
00678 #    define TAO_HAS_AMI_CALLBACK 0
00679 #  endif  /* TAO_HAS_AMI == 1 */
00680 #else
00681 #  if (TAO_HAS_AMI_CALLBACK == 1) && \
00682       (TAO_HAS_CORBA_MESSAGING == 0)
00683 #  error "tao/orbconf.h: You need CORBA_MESSAGING for AMI support"
00684 #  endif /* TAO_HAS_AMI_CALLBACK == 1 &&
00685             TAO_HAS_CORBA_MESSAGING == 0 */
00686 #endif  /* !TAO_HAS_AMI_CALLBACK */
00687 
00688 // Interceptors is supported by default if we are not building for
00689 // MinimumCORBA.
00690 #if !defined (TAO_HAS_INTERCEPTORS)
00691 # if (TAO_HAS_MINIMUM_CORBA == 1) || defined (CORBA_E_COMPACT) || defined (CORBA_E_MICRO)
00692 #   define TAO_HAS_INTERCEPTORS 0
00693 # else
00694 #   define TAO_HAS_INTERCEPTORS 1
00695 # endif /* TAO_HAS_MINIMUM_CORBA */
00696 #endif
00697 
00698 // At the moment we have sendfile support in ACE we enabled this also by
00699 // default for TAO, but we can suppress it also explicitly by set
00700 // TAO_HAS_SENDFILE to 0.
00701 #if !defined (TAO_HAS_SENDFILE)
00702 # if defined ACE_HAS_SENDFILE
00703 #  define TAO_HAS_SENDFILE 1
00704 # else
00705 #  define TAO_HAS_SENDFILE 0
00706 # endif /* ACE_HAS_SENDFILE */
00707 #endif /* !TAO_HAS_SENDFILE */
00708 
00709 // Proprietary FT interception-point support is disabled by default.
00710 #ifndef TAO_HAS_EXTENDED_FT_INTERCEPTORS
00711 # define TAO_HAS_EXTENDED_FT_INTERCEPTORS 0
00712 #endif  /* !TAO_HAS_EXTENEDED_FT_INTERCEPTORS */
00713 
00714 // This is needed for a check in the Policy Set; Should really not be
00715 // here though; We should find a different way to handle the check in
00716 // the Policy Set.
00717 #define TAO_RT_SERVER_PROTOCOL_POLICY_TYPE 42
00718 
00719 /// Policies that are accessed on the critical path and need to be
00720 /// incur minimal retrieval overhead.
00721 enum TAO_Cached_Policy_Type
00722 {
00723   TAO_CACHED_POLICY_UNCACHED = -1,
00724   TAO_CACHED_POLICY_PRIORITY_MODEL = 0,
00725   TAO_CACHED_POLICY_THREADPOOL,
00726   TAO_CACHED_POLICY_RT_SERVER_PROTOCOL,
00727   TAO_CACHED_POLICY_RT_CLIENT_PROTOCOL,
00728   TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION,
00729   TAO_CACHED_POLICY_RT_PRIORITY_BANDED_CONNECTION,
00730 
00731   TAO_CACHED_POLICY_LIFESPAN,
00732   TAO_CACHED_POLICY_ID_UNIQUENESS,
00733   TAO_CACHED_POLICY_ID_ASSIGNMENT,
00734 
00735 #if (TAO_HAS_MINIMUM_POA == 0)
00736   TAO_CACHED_POLICY_THREAD,
00737   TAO_CACHED_POLICY_IMPLICIT_ACTIVATION,
00738   TAO_CACHED_POLICY_SERVANT_RETENTION,
00739   TAO_CACHED_POLICY_REQUEST_PROCESSING,
00740 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00741 
00742 #if (TAO_HAS_SYNC_SCOPE_POLICY == 1)
00743   TAO_CACHED_POLICY_SYNC_SCOPE,
00744 #endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */
00745 
00746 #if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1)
00747   TAO_CACHED_POLICY_RELATIVE_ROUNDTRIP_TIMEOUT,
00748 #endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */
00749 
00750 #if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
00751   TAO_CACHED_POLICY_BUFFERING_CONSTRAINT,
00752 #endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
00753 
00754 #if (TAO_HAS_CONNECTION_TIMEOUT_POLICY == 1)
00755   TAO_CACHED_POLICY_CONNECTION_TIMEOUT,
00756 #endif /* TAO_HAS_CONNECTION_TIMEOUT_POLICY == 1 */
00757 
00758   TAO_CACHED_POLICY_BIDIRECTIONAL_GIOP,
00759 
00760   TAO_CACHED_POLICY_SERVER_NETWORK_PRIORITY,
00761 
00762   TAO_CACHED_POLICY_CLIENT_NETWORK_PRIORITY,
00763 
00764   TAO_CACHED_POLICY_NETWORK_PRIORITY,
00765 
00766   TAO_CACHED_POLICY_ENDPOINT,
00767 
00768   /// NOTE: The "TAO_CACHED_POLICY_MAX_CACHED" should always be the last.
00769   ///       This value is used as the cached_policies_ array size in TAO_Policy_Set,
00770   ///       Any policy type defined after "TAO_CACHED_POLICY_MAX_CACHED" will cause
00771   ///       the policy access beyond bound problem.
00772   TAO_CACHED_POLICY_MAX_CACHED
00773 };
00774 
00775 // This enum provides a mask that represent the scope at which a given
00776 // policy can be applied
00777 enum TAO_Policy_Scope
00778 {
00779   TAO_POLICY_OBJECT_SCOPE   = 0x01,
00780   TAO_POLICY_THREAD_SCOPE   = 0x02,
00781   TAO_POLICY_ORB_SCOPE      = 0x04,
00782   TAO_POLICY_POA_SCOPE      = 0x08,
00783   TAO_POLICY_CLIENT_EXPOSED = 0x10
00784 };
00785 
00786 #define TAO_POLICY_DEFAULT_SCOPE \
00787   (static_cast<TAO_Policy_Scope> ( \
00788                    TAO_POLICY_OBJECT_SCOPE | \
00789                    TAO_POLICY_THREAD_SCOPE | \
00790                    TAO_POLICY_ORB_SCOPE | \
00791                    TAO_POLICY_POA_SCOPE))
00792 
00793 // Control the default version of GIOP used by TAO.
00794 // The ORB is always able to communicate with 1.0, 1.1 and 1.2
00795 // servers, and it creates 1.2 endpoints (and profiles).  If you need
00796 // to talk to old clients that only understand 1.0 or 1.1 (and do not
00797 // attempt to use 1.0 or 1.1 with 1.2 servers), then change the values
00798 // below.
00799 #if !defined (TAO_DEF_GIOP_MAJOR)
00800 #define TAO_DEF_GIOP_MAJOR 1
00801 #endif /* TAO_DEF_GIOP_MAJOR */
00802 #if !defined (TAO_DEF_GIOP_MINOR)
00803 #define TAO_DEF_GIOP_MINOR 2
00804 #endif /* TAO_DEF_GIOP_MINOR */
00805 
00806 // Control the minimum required IIOP version for IPv6 support
00807 #if defined (ACE_HAS_IPV6)
00808 # if !defined (TAO_MIN_IPV6_IIOP_MAJOR)
00809 #   define TAO_MIN_IPV6_IIOP_MAJOR 1
00810 # endif /* TAO_MIN_IPV6_IIOP_MAJOR */
00811 # if !defined (TAO_MIN_IPV6_IIOP_MINOR)
00812 #   define TAO_MIN_IPV6_IIOP_MINOR 2
00813 # endif /* TAO_MIN_IPV6_IIOP_MINOR */
00814 #endif /* ACE_HAS_IPV6 */
00815 
00816 // @todo this needs to be deprecated. Use TAO_MAXBUFSIZE instead.
00817 #if !defined (TAO_CONNECTION_HANDLER_STACK_BUF_SIZE)
00818 #   define TAO_CONNECTION_HANDLER_STACK_BUF_SIZE 1024
00819 #endif /*TAO_CONNECTION_HANDLER_STACK_BUF_SIZE */
00820 
00821 // By default TAO generate the OMG standard profile components
00822 // (ORB_TYPE and CODE_SETS)
00823 #define TAO_STD_PROFILE_COMPONENTS
00824 
00825 #if !defined (TAO_DEFAULT_IOR_SIZE)
00826 // This is the default size of the buffer used for processing IORs.
00827 #define TAO_DEFAULT_IOR_SIZE 1024
00828 #endif /* TAO_DEFAULT_IOR_SIZE */
00829 
00830 #if !defined (TAO_DEFAULT_THREAD_PER_CONNECTION_TIMEOUT)
00831 // The default timeout value for the thread-per-connection model, in
00832 // milliseconds. The "INFINITE" value is magic and means blocking forever.
00833 #define TAO_DEFAULT_THREAD_PER_CONNECTION_TIMEOUT "5000"
00834 #endif /* TAO_DEFAULT_THREAD_PER_CONNECTION_TIMEOUT */
00835 
00836 /// By default we use Muxed Transports
00837 #if !defined (TAO_USE_MUXED_TRANSPORT_MUX_STRATEGY)
00838 #  define TAO_USE_MUXED_TRANSPORT_MUX_STRATEGY 1
00839 #endif /* TAO_USE_MUXED_TRANSPORT_MUX_STRATEGY */
00840 
00841 /// By default we use multicast lookup
00842 #if !defined(TAO_DEFAULT_INIT_REFERENCE_INITIALIZER)
00843 #  define TAO_DEFAULT_INIT_REFERENCE_INITIALIZER "mcast://:::"
00844 #endif /* TAO_DEFAULT_INIT_REFERENCE_INITIALIZER */
00845 
00846 /// By default we dont use lazy strategy
00847 #if !defined (TAO_USE_LAZY_RESOURCE_USAGE_STRATEGY)
00848 #  define TAO_USE_LAZY_RESOURCE_USAGE_STRATEGY 0
00849 #endif /* TAO_USE_LAZY_RESOURCE_USAGE_STRATEGY*/
00850 
00851 #if !defined (TAO_USE_LOCAL_MEMORY_POOL)
00852 #  define TAO_USE_LOCAL_MEMORY_POOL 1
00853 #endif /* TAO_USE_LOCAL_MEMORY_POOL */
00854 
00855 #if !defined (TAO_USE_OUTPUT_CDR_MMAP_MEMORY_POOL)
00856 #  define TAO_USE_OUTPUT_CDR_MMAP_MEMORY_POOL 0
00857 #endif /* TAO_USE_LOCAL_MEMORY_POOL */
00858 
00859 // Enable TransportCurrent by default
00860 #if !defined (TAO_HAS_TRANSPORT_CURRENT)
00861 #    define TAO_HAS_TRANSPORT_CURRENT 1
00862 #endif  /* ! TAO_HAS_TRANSPORT_CURRENT */
00863 
00864 #if !defined (TAO_HAS_DDL_PARSER)
00865 # define TAO_HAS_DDL_PARSER 1
00866 #endif
00867 
00868 #if !defined (TAO_HAS_FILE_PARSER)
00869 # define TAO_HAS_FILE_PARSER 1
00870 #endif
00871 
00872 #if !defined (TAO_HAS_CORBALOC_PARSER)
00873 # define TAO_HAS_CORBALOC_PARSER 1
00874 #endif
00875 
00876 #if !defined (TAO_HAS_CORBANAME_PARSER)
00877 # define TAO_HAS_CORBANAME_PARSER 1
00878 #endif
00879 
00880 #if !defined (TAO_HAS_HTTP_PARSER)
00881 # define TAO_HAS_HTTP_PARSER 1
00882 #endif
00883 
00884 #if !defined (TAO_HAS_MCAST_PARSER)
00885 # if defined ACE_HAS_IP_MULTICAST
00886 #  define TAO_HAS_MCAST_PARSER 1
00887 # else
00888 #  define TAO_HAS_MCAST_PARSER 0
00889 # endif
00890 #endif
00891 
00892 TAO_END_VERSIONED_NAMESPACE_DECL
00893 
00894 #include /**/ "ace/post.h"
00895 
00896 #endif  /* TAO_ORBCONF_H */

Generated on Tue Feb 2 17:37:52 2010 for TAO by  doxygen 1.4.7