TAO  2.4.0
Macros | Enumerations | Variables
orbconf.h File Reference
#include "ace/Basic_Types.h"
#include "ace/Global_Macros.h"
#include "ace/Condition_Thread_Mutex.h"
#include "ace/Synch_Traits.h"

Macros

#define TAO_INVALID_PRIORITY   -1
 
#define TAO_REACTOR   ACE_Select_Reactor
 
#define TAO_NULL_LOCK_REACTOR   ACE_Select_Reactor_T< ACE_Reactor_Token_T<ACE_Noop_Token> >
 
#define TAO_SYNCH_MUTEX   ACE_SYNCH_MUTEX
 
#define TAO_SYNCH_RECURSIVE_MUTEX   ACE_SYNCH_RECURSIVE_MUTEX
 
#define TAO_SYNCH_RW_MUTEX   ACE_SYNCH_RW_MUTEX
 
#define TAO_SYNCH_CONDITION   ACE_SYNCH_CONDITION
 
#define POA_NO_TIMESTAMP   0
 
#define TAO_USE_DOTTED_DECIMAL_ADDRESSES   0
 
#define TAO_NEGOTIATE_CODESETS   1
 
#define TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE   64
 
#define TAO_DEFAULT_SERVER_POA_MAP_SIZE   24
 
#define TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT   10
 
#define TAO_DEFAULT_SERVER_PORT   0
 
#define TAO_MAXBUFSIZE   1024
 
#define TAO_CONNECTION_PURGING_STRATEGY   TAO_Resource_Factory::LRU
 
#define TAO_PURGE_PERCENT   20
 
#define TAO_CONNECTION_CACHE_MAXIMUM   (ACE::max_handles () / 2)
 
#define TAO_NAMESPACE_STORAGE_CLASS   extern TAO_EXPORT_MACRO
 
#define TAO_NAMESPACE_INLINE_FUNCTION   TAO_NAMESPACE_STORAGE_CLASS
 
#define TAO_NO_COPY_OCTET_SEQUENCES   1
 
#define TAO_HAS_EXCEPTIONS
 
#define TAO_ENCAP_BYTE_ORDER
 
#define RETSIGTYPE   void
 
#define HAVE_VPRINTF   1
 
#define TAO_HAS_MONITOR_FRAMEWORK   1
 
#define TAO_HAS_MONITOR_POINTS   ACE_HAS_MONITOR_POINTS
 
#define TAO_EXPORT_NESTED_MACRO
 
#define TAO_DEFAULT_ROOTPOA_NAME   "RootPOA"
 
#define TAO_DEFAULT_ROOTPOAMANAGER_NAME   "RootPOAManager"
 
#define TAO_DEFAULT_LANE   "default lane"
 
#define TAO_HAS_MINIMUM_CORBA   0
 
#define TAO_HAS_IIOP   1
 Default IIOP settings. More...
 
#define TAO_HAS_DIOP   1
 Default DIOP settings. More...
 
#define TAO_HAS_SCIOP   0
 
#define TAO_HAS_UIOP   1
 
#define TAO_HAS_SHMIOP   1
 
#define TAO_HAS_NAMED_RT_MUTEXES   0
 
#define TAO_HAS_MINIMUM_POA   0
 
#define TAO_HAS_MINIMUM_POA_MAPS   0
 
#define TAO_HAS_CORBA_MESSAGING   1
 
#define TAO_HAS_ZIOP   1
 
#define TAO_DISABLE_CORBA_MESSAGING_POLICIES   0
 
#define TAO_HAS_TIME_POLICY   1
 
#define TAO_HAS_REBIND_POLICY   1
 
#define TAO_HAS_SYNC_SCOPE_POLICY   1
 
#define TAO_HAS_PRIORITY_POLICIES   1
 
#define TAO_HAS_REQUEST_START_TIME_POLICY   1
 
#define TAO_HAS_REQUEST_END_TIME_POLICY   1
 
#define TAO_HAS_REPLY_START_TIME_POLICY   1
 
#define TAO_HAS_REPLY_END_TIME_POLICY   1
 
#define TAO_HAS_RELATIVE_REQUEST_TIMEOUT_POLICY   1
 
#define TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY   1
 
#define TAO_HAS_CONNECTION_TIMEOUT_POLICY   1
 
#define TAO_HAS_ROUTING_POLICY   1
 
#define TAO_HAS_MAX_HOPS_POLICY   1
 
#define TAO_HAS_QUEUE_ORDER_POLICY   1
 Default QUEUE_ORDER_POLICY settings. More...
 
#define TAO_HAS_BUFFERING_CONSTRAINT_POLICY   1
 
#define TAO_HAS_AMI   1
 
#define TAO_HAS_AMI_CALLBACK   1
 Default AMI_CALLBACK settings. More...
 
#define TAO_HAS_INTERCEPTORS   1
 
#define TAO_HAS_SENDFILE   0
 
#define TAO_HAS_EXTENDED_FT_INTERCEPTORS   0
 Proprietary FT interception-point support is disabled by default. More...
 
#define TAO_RT_SERVER_PROTOCOL_POLICY_TYPE   42
 
#define TAO_POLICY_DEFAULT_SCOPE
 
#define TAO_DEF_GIOP_MAJOR   1
 
#define TAO_DEF_GIOP_MINOR   2
 
#define TAO_STD_PROFILE_COMPONENTS
 Control the minimum required IIOP version for IPv6 support. More...
 
#define TAO_DEFAULT_IOR_SIZE   1024
 This is the default size of the buffer used for processing IORs. More...
 
#define TAO_DEFAULT_THREAD_PER_CONNECTION_TIMEOUT   "5000"
 
#define TAO_USE_MUXED_TRANSPORT_MUX_STRATEGY   1
 By default we use Muxed Transports. More...
 
#define TAO_DEFAULT_INIT_REFERENCE_INITIALIZER   "mcast://:::"
 By default we use multicast lookup. More...
 
#define TAO_USE_LAZY_RESOURCE_USAGE_STRATEGY   0
 By default we dont use lazy strategy. More...
 
#define TAO_USE_LOCAL_MEMORY_POOL   1
 
#define TAO_USE_OUTPUT_CDR_MMAP_MEMORY_POOL   0
 
#define TAO_HAS_TRANSPORT_CURRENT   1
 Enable TransportCurrent by default. More...
 
#define TAO_HAS_DDL_PARSER   1
 
#define TAO_HAS_FILE_PARSER   1
 
#define TAO_HAS_CORBALOC_PARSER   1
 
#define TAO_HAS_CORBANAME_PARSER   1
 
#define TAO_HAS_HTTP_PARSER   1
 
#define TAO_HAS_MCAST_PARSER   0
 
#define TAO_HAS_SEQUENCE_ITERATORS   0
 
#define TAO_DEFAULT_COLLOCATION_STRATEGY   TAO_COLLOCATION_THRU_POA
 

Enumerations

enum  TAO_Cached_Policy_Type {
  TAO_CACHED_POLICY_UNCACHED = -1, TAO_CACHED_POLICY_PRIORITY_MODEL = 0, TAO_CACHED_POLICY_THREADPOOL, TAO_CACHED_POLICY_RT_SERVER_PROTOCOL,
  TAO_CACHED_POLICY_RT_CLIENT_PROTOCOL, TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION, TAO_CACHED_POLICY_RT_PRIORITY_BANDED_CONNECTION, TAO_CACHED_POLICY_LIFESPAN,
  TAO_CACHED_POLICY_ID_UNIQUENESS, TAO_CACHED_POLICY_ID_ASSIGNMENT, TAO_CACHED_POLICY_THREAD, TAO_CACHED_POLICY_IMPLICIT_ACTIVATION,
  TAO_CACHED_POLICY_SERVANT_RETENTION, TAO_CACHED_POLICY_REQUEST_PROCESSING, TAO_CACHED_POLICY_SYNC_SCOPE, TAO_CACHED_POLICY_RELATIVE_ROUNDTRIP_TIMEOUT,
  TAO_CACHED_POLICY_BUFFERING_CONSTRAINT, TAO_CACHED_POLICY_CONNECTION_TIMEOUT, TAO_CACHED_POLICY_BIDIRECTIONAL_GIOP, TAO_CACHED_POLICY_SERVER_NETWORK_PRIORITY,
  TAO_CACHED_POLICY_CLIENT_NETWORK_PRIORITY, TAO_CACHED_POLICY_NETWORK_PRIORITY, TAO_CACHED_POLICY_ENDPOINT, TAO_CACHED_COMPRESSION_ENABLING_POLICY,
  TAO_CACHED_COMPRESSION_LOW_VALUE_POLICY, TAO_CACHED_MIN_COMPRESSION_RATIO_POLICY, TAO_CACHED_COMPRESSION_ID_LEVEL_LIST_POLICY, TAO_CACHED_POLICY_MAX_CACHED
}
 
enum  TAO_Policy_Scope {
  TAO_POLICY_OBJECT_SCOPE = 0x01, TAO_POLICY_THREAD_SCOPE = 0x02, TAO_POLICY_ORB_SCOPE = 0x04, TAO_POLICY_POA_SCOPE = 0x08,
  TAO_POLICY_CLIENT_EXPOSED = 0x10
}
 

Variables

const size_t TAO_DEFAULT_ORB_TABLE_SIZE = 16
 
const size_t TAO_DEFAULT_ADAPTER_REGISTRY_SIZE = 16
 
const size_t TAO_RD_TABLE_SIZE = 16
 
const size_t TAO_DEFAULT_POLICY_FACTORY_REGISTRY_SIZE = 64
 
const bool TAO_USE_PARALLEL_CONNECT = false
 
const time_t TAO_ACCEPT_ERROR_DELAY = 5
 
const int TAO_SO_LINGER = -1
 
const size_t TAO_DEFAULT_OBJECT_REF_TABLE_SIZE = 256
 
const size_t TAO_DEFAULT_VALUE_FACTORY_TABLE_SIZE = 128
 

Detailed Description

Build configuration file.

Author
Copyright 1995 by Sun Microsystems, Inc.
Chris Cleeland
Douglas C. Schmidt

Macro Definition Documentation

#define HAVE_VPRINTF   1
#define POA_NO_TIMESTAMP   0
#define RETSIGTYPE   void
#define TAO_CONNECTION_CACHE_MAXIMUM   (ACE::max_handles () / 2)
#define TAO_CONNECTION_PURGING_STRATEGY   TAO_Resource_Factory::LRU
#define TAO_DEF_GIOP_MAJOR   1

Control the default version of GIOP used by TAO. The ORB is always able to communicate with 1.0, 1.1 and 1.2 servers, and it creates 1.2 endpoints (and profiles). If you need to talk to old clients that only understand 1.0 or 1.1 (and do not attempt to use 1.0 or 1.1 with 1.2 servers), then change the values below.

#define TAO_DEF_GIOP_MINOR   2
#define TAO_DEFAULT_COLLOCATION_STRATEGY   TAO_COLLOCATION_THRU_POA
#define TAO_DEFAULT_INIT_REFERENCE_INITIALIZER   "mcast://:::"

By default we use multicast lookup.

#define TAO_DEFAULT_IOR_SIZE   1024

This is the default size of the buffer used for processing IORs.

#define TAO_DEFAULT_LANE   "default lane"
#define TAO_DEFAULT_ROOTPOA_NAME   "RootPOA"
#define TAO_DEFAULT_ROOTPOAMANAGER_NAME   "RootPOAManager"
#define TAO_DEFAULT_SERVER_ACTIVE_OBJECT_MAP_SIZE   64
#define TAO_DEFAULT_SERVER_POA_MAP_SIZE   24
#define TAO_DEFAULT_SERVER_PORT   0
#define TAO_DEFAULT_SERVICE_RESOLUTION_TIMEOUT   10
#define TAO_DEFAULT_THREAD_PER_CONNECTION_TIMEOUT   "5000"
#define TAO_DISABLE_CORBA_MESSAGING_POLICIES   0
#define TAO_ENCAP_BYTE_ORDER
Value:
0 /* big endian encapsulation byte order has
the value = 0 */
#define TAO_EXPORT_NESTED_MACRO
#define TAO_HAS_AMI   1
#define TAO_HAS_AMI_CALLBACK   1

Default AMI_CALLBACK settings.

We dont have AMI_POLLER support in TAO. Just prevent anyone from using it.

#define TAO_HAS_BUFFERING_CONSTRAINT_POLICY   1
#define TAO_HAS_CONNECTION_TIMEOUT_POLICY   1
#define TAO_HAS_CORBA_MESSAGING   1
#define TAO_HAS_CORBALOC_PARSER   1
#define TAO_HAS_CORBANAME_PARSER   1
#define TAO_HAS_DDL_PARSER   1
#define TAO_HAS_DIOP   1

Default DIOP settings.

#define TAO_HAS_EXCEPTIONS
#define TAO_HAS_EXTENDED_FT_INTERCEPTORS   0

Proprietary FT interception-point support is disabled by default.

#define TAO_HAS_FILE_PARSER   1
#define TAO_HAS_HTTP_PARSER   1
#define TAO_HAS_IIOP   1

Default IIOP settings.

#define TAO_HAS_INTERCEPTORS   1

Interceptors is supported by default if we are not building for MinimumCORBA.

#define TAO_HAS_MAX_HOPS_POLICY   1
#define TAO_HAS_MCAST_PARSER   0
#define TAO_HAS_MINIMUM_CORBA   0
#define TAO_HAS_MINIMUM_POA   0
#define TAO_HAS_MINIMUM_POA_MAPS   0
#define TAO_HAS_MONITOR_FRAMEWORK   1
#define TAO_HAS_MONITOR_POINTS   ACE_HAS_MONITOR_POINTS
#define TAO_HAS_NAMED_RT_MUTEXES   0
#define TAO_HAS_PRIORITY_POLICIES   1
#define TAO_HAS_QUEUE_ORDER_POLICY   1

Default QUEUE_ORDER_POLICY settings.

#define TAO_HAS_REBIND_POLICY   1
#define TAO_HAS_RELATIVE_REQUEST_TIMEOUT_POLICY   1
#define TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY   1
#define TAO_HAS_REPLY_END_TIME_POLICY   1
#define TAO_HAS_REPLY_START_TIME_POLICY   1
#define TAO_HAS_REQUEST_END_TIME_POLICY   1
#define TAO_HAS_REQUEST_START_TIME_POLICY   1
#define TAO_HAS_ROUTING_POLICY   1
#define TAO_HAS_SCIOP   0

Default SCIOP Settings SCIOP is disabled by default (i.e. TAO_HAS_SCIOP is undef) to enable SCIOP, make with sctp=openss7 option on command line. See $ACE_ROOT/performance-tests/SCTP/README for more info.

#define TAO_HAS_SENDFILE   0

At the moment we have sendfile support in ACE we enabled this also by default for TAO, but we can suppress it also explicitly by set TAO_HAS_SENDFILE to 0.

#define TAO_HAS_SEQUENCE_ITERATORS   0
#define TAO_HAS_SHMIOP   1
#define TAO_HAS_SYNC_SCOPE_POLICY   1
#define TAO_HAS_TIME_POLICY   1
#define TAO_HAS_TRANSPORT_CURRENT   1

Enable TransportCurrent by default.

#define TAO_HAS_UIOP   1
#define TAO_HAS_ZIOP   1
#define TAO_INVALID_PRIORITY   -1
#define TAO_MAXBUFSIZE   1024
#define TAO_NAMESPACE_INLINE_FUNCTION   TAO_NAMESPACE_STORAGE_CLASS
#define TAO_NAMESPACE_STORAGE_CLASS   extern TAO_EXPORT_MACRO
#define TAO_NEGOTIATE_CODESETS   1
#define TAO_NO_COPY_OCTET_SEQUENCES   1
#define TAO_NULL_LOCK_REACTOR   ACE_Select_Reactor_T< ACE_Reactor_Token_T<ACE_Noop_Token> >
#define TAO_POLICY_DEFAULT_SCOPE
Value:
(static_cast<TAO_Policy_Scope> ( \
Definition: orbconf.h:787
Definition: orbconf.h:788
TAO_Policy_Scope
Definition: orbconf.h:785
Definition: orbconf.h:790
Definition: orbconf.h:789
#define TAO_PURGE_PERCENT   20
#define TAO_REACTOR   ACE_Select_Reactor
#define TAO_RT_SERVER_PROTOCOL_POLICY_TYPE   42

This is needed for a check in the Policy Set; Should really not be here though; We should find a different way to handle the check in the Policy Set.

#define TAO_STD_PROFILE_COMPONENTS

Control the minimum required IIOP version for IPv6 support.

By default TAO generate the OMG standard profile components (ORB_TYPE and CODE_SETS)

#define TAO_SYNCH_CONDITION   ACE_SYNCH_CONDITION
#define TAO_SYNCH_MUTEX   ACE_SYNCH_MUTEX
#define TAO_SYNCH_RECURSIVE_MUTEX   ACE_SYNCH_RECURSIVE_MUTEX
#define TAO_SYNCH_RW_MUTEX   ACE_SYNCH_RW_MUTEX
#define TAO_USE_DOTTED_DECIMAL_ADDRESSES   0
#define TAO_USE_LAZY_RESOURCE_USAGE_STRATEGY   0

By default we dont use lazy strategy.

#define TAO_USE_LOCAL_MEMORY_POOL   1
#define TAO_USE_MUXED_TRANSPORT_MUX_STRATEGY   1

By default we use Muxed Transports.

#define TAO_USE_OUTPUT_CDR_MMAP_MEMORY_POOL   0

Enumeration Type Documentation

Policies that are accessed on the critical path and need to be incur minimal retrieval overhead.

Enumerator
TAO_CACHED_POLICY_UNCACHED 
TAO_CACHED_POLICY_PRIORITY_MODEL 
TAO_CACHED_POLICY_THREADPOOL 
TAO_CACHED_POLICY_RT_SERVER_PROTOCOL 
TAO_CACHED_POLICY_RT_CLIENT_PROTOCOL 
TAO_CACHED_POLICY_RT_PRIVATE_CONNECTION 
TAO_CACHED_POLICY_RT_PRIORITY_BANDED_CONNECTION 
TAO_CACHED_POLICY_LIFESPAN 
TAO_CACHED_POLICY_ID_UNIQUENESS 
TAO_CACHED_POLICY_ID_ASSIGNMENT 
TAO_CACHED_POLICY_THREAD 
TAO_CACHED_POLICY_IMPLICIT_ACTIVATION 
TAO_CACHED_POLICY_SERVANT_RETENTION 
TAO_CACHED_POLICY_REQUEST_PROCESSING 
TAO_CACHED_POLICY_SYNC_SCOPE 
TAO_CACHED_POLICY_RELATIVE_ROUNDTRIP_TIMEOUT 
TAO_CACHED_POLICY_BUFFERING_CONSTRAINT 
TAO_CACHED_POLICY_CONNECTION_TIMEOUT 
TAO_CACHED_POLICY_BIDIRECTIONAL_GIOP 
TAO_CACHED_POLICY_SERVER_NETWORK_PRIORITY 
TAO_CACHED_POLICY_CLIENT_NETWORK_PRIORITY 
TAO_CACHED_POLICY_NETWORK_PRIORITY 
TAO_CACHED_POLICY_ENDPOINT 
TAO_CACHED_COMPRESSION_ENABLING_POLICY 
TAO_CACHED_COMPRESSION_LOW_VALUE_POLICY 
TAO_CACHED_MIN_COMPRESSION_RATIO_POLICY 
TAO_CACHED_COMPRESSION_ID_LEVEL_LIST_POLICY 
TAO_CACHED_POLICY_MAX_CACHED 

NOTE: The "TAO_CACHED_POLICY_MAX_CACHED" should always be the last. This value is used as the cached_policies_ array size in TAO_Policy_Set, Any policy type defined after "TAO_CACHED_POLICY_MAX_CACHED" will cause the policy access beyond bound problem.

This enum provides a mask that represent the scope at which a given policy can be applied

Enumerator
TAO_POLICY_OBJECT_SCOPE 
TAO_POLICY_THREAD_SCOPE 
TAO_POLICY_ORB_SCOPE 
TAO_POLICY_POA_SCOPE 
TAO_POLICY_CLIENT_EXPOSED 

Variable Documentation

const time_t TAO_ACCEPT_ERROR_DELAY = 5
const size_t TAO_DEFAULT_ADAPTER_REGISTRY_SIZE = 16
const size_t TAO_DEFAULT_OBJECT_REF_TABLE_SIZE = 256
const size_t TAO_DEFAULT_ORB_TABLE_SIZE = 16
const size_t TAO_DEFAULT_POLICY_FACTORY_REGISTRY_SIZE = 64
const size_t TAO_DEFAULT_VALUE_FACTORY_TABLE_SIZE = 128
const size_t TAO_RD_TABLE_SIZE = 16
const int TAO_SO_LINGER = -1
const bool TAO_USE_PARALLEL_CONNECT = false