Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# orbconf.h File Reference

`#include "ace/Basic_Types.h"`
`#include "ace/Global_Macros.h"`
`#include "ace/Synch_Traits.h"`

Include dependency graph for orbconf.h:

This graph shows which files directly or indirectly include this file:

## Defines

#define | TAO_INVALID_PRIORITY -1
#define | TAO_REACTOR ACE_Select_Reactor
#define | TAO_NULL_LOCK_REACTOR ACE_Select_Reactor_T< ACE_Select_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_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_MAX_TRANSPORT_REREAD_ATTEMPTS 2
#define | TAO_MAXIMUM_NATIVE_TYPE_SIZE 128
#define | TAO_CONNECTION_CACHING_STRATEGY TAO_Resource_Factory::LRU
#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_BEGIN(NS) namespace NS {
#define | TAO_NAMESPACE_END }
#define | TAO_NAMESPACE_TYPE(TYPE)
#define | TAO_NAMESPACE_DEFINE(TYPE, NAME, RHS) TYPE NAME = RHS;
#define | TAO_NAMESPACE_INLINE_FUNCTION TAO_NAMESPACE_STORAGE_CLASS
#define | TAO_NO_COPY_OCTET_SEQUENCES 1
#define | TAO_HAS_EXCEPTIONS
#define | TAO_USE_EXCEPTIONS
#define | TAO_ENV_EMIT_CODE(X) ACE_ENV_EMIT_CODE(X)
#define | TAO_ENV_EMIT_CODE2(X, Y) ACE_ENV_EMIT_CODE2(X,Y)
#define | TAO_ENV_ARG_DECL ACE_ENV_ARG_DECL
#define | TAO_ENV_ARG_DECL_WITH_DEFAULTS ACE_ENV_ARG_DECL_WITH_DEFAULTS
#define | TAO_ENV_ARG_DECL_NOT_USED ACE_ENV_ARG_DECL_NOT_USED
#define | TAO_ENV_SINGLE_ARG_DECL ACE_ENV_SINGLE_ARG_DECL
#define | TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
#define | TAO_ENV_SINGLE_ARG_DECL_NOT_USED ACE_ENV_SINGLE_ARG_DECL_NOT_USED
#define | TAO_ENV_ARG_PARAMETER ACE_ENV_ARG_PARAMETER
#define | TAO_ENV_SINGLE_ARG_PARAMETER ACE_ENV_SINGLE_ARG_PARAMETER
#define | TAO_ENV_ARG_NOT_USED ACE_ENV_ARG_NOT_USED
#define | TAO_ENV_RAISE(ex) ACE_ENV_RAISE(ex)
#define | TAO_ENV_DECLARE_NEW_ENV ACE_DECLARE_NEW_CORBA_ENV
#define | TAO_ENCAP_BYTE_ORDER 0
#define | RETSIGTYPE void
#define | HAVE_VPRINTF 1
#define | TAO_EXPORT_NESTED_MACRO
#define | TAO_DEFAULT_ROOTPOA_NAME ""
#define | TAO_HAS_DIOP 1
#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_DISABLE_CORBA_MESSAGING_POLICIES 0
#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
#define | TAO_HAS_BUFFERING_CONSTRAINT_POLICY 1
#define | TAO_HAS_AMI_CALLBACK 1
#define | TAO_CLIENT_PRIORITY_POLICY_TYPE 0x54410000
#define | TAO_BUFFERING_CONSTRAINT_POLICY_TYPE 0x54410001
#define | TAO_CONNECTION_TIMEOUT_POLICY_TYPE 0x54410008
#define | TAO_RT_PRIORITY_MODEL_POLICY_TYPE 40
#define | TAO_RT_THREADPOOL_POLICY_TYPE 41
#define | TAO_RT_SERVER_PROTOCOL_POLICY_TYPE 42
#define | TAO_RT_CLIENT_PROTOCOL_POLICY_TYPE 43
#define | TAO_RT_PRIVATE_CONNECTION_POLICY_TYPE 44
#define | TAO_RT_PRIORITY_BANDED_CONNECTION_POLICY_TYPE 45
#define | TAO_POLICY_DEFAULT_SCOPE
#define | TAO_DEF_GIOP_MAJOR 1
#define | TAO_DEF_GIOP_MINOR 2
#define | TAO_CONNECTION_HANDLER_STACK_BUF_SIZE 1024
#define | TAO_STD_PROFILE_COMPONENTS
#define | TAO_DEFAULT_IOR_SIZE 1024
#define | TAO_DEFAULT_THREAD_PER_CONNECTION_TIMEOUT "5000"
#define | TAO_USE_MUXED_TRANSPORT_MUX_STRATEGY 1
| By default we use Muxed Transports.
#define | TAO_DEFAULT_INIT_REFERENCE_INITIALIZER "mcast://:::"
| By default we use multicast lookup.
#define | TAO_USE_LAZY_RESOURCE_USAGE_STRATEGY 0
| By default we dont use lazy strategy.
#define | TAO_USE_LOCAL_MEMORY_POOL 1

## 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_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_RD_TABLE_SIZE = 16
const size_t | TAO_DEFAULT_POLICY_FACTORY_REGISTRY_SIZE = 64
const size_t | TAO_DEFAULT_OBJECT_REF_TABLE_SIZE = 256
const size_t | TAO_DEFAULT_VALUE_FACTORY_TABLE_SIZE = 128

## Detailed Description

Id:
  orbconf.h,v 1.225 2003/12/10 20:03:57 cleeland Exp

Build configuration file.

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

## Define Documentation

#define HAVE_VPRINTF 1

#define POA_NO_TIMESTAMP 0

#define RETSIGTYPE void

#define TAO_BUFFERING_CONSTRAINT_POLICY_TYPE 0x54410001

#define TAO_CLIENT_PRIORITY_POLICY_TYPE 0x54410000

#define TAO_CONNECTION_CACHE_MAXIMUM (ACE::max_handles () / 2)

#define TAO_CONNECTION_CACHING_STRATEGY TAO_Resource_Factory::LRU

#define TAO_CONNECTION_HANDLER_STACK_BUF_SIZE 1024

#define TAO_CONNECTION_PURGING_STRATEGY TAO_Resource_Factory::LRU

#define TAO_CONNECTION_TIMEOUT_POLICY_TYPE 0x54410008

#define TAO_DEF_GIOP_MAJOR 1

#define TAO_DEF_GIOP_MINOR 2

#define TAO_DEFAULT_INIT_REFERENCE_INITIALIZER "mcast://:::"

| By default we use multicast lookup.

#define TAO_DEFAULT_IOR_SIZE 1024

#define TAO_DEFAULT_ROOTPOA_NAME ""

#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 0

#define TAO_ENV_ARG_DECL ACE_ENV_ARG_DECL

#define TAO_ENV_ARG_DECL_NOT_USED ACE_ENV_ARG_DECL_NOT_USED

#define TAO_ENV_ARG_DECL_WITH_DEFAULTS ACE_ENV_ARG_DECL_WITH_DEFAULTS

#define TAO_ENV_ARG_NOT_USED ACE_ENV_ARG_NOT_USED

#define TAO_ENV_ARG_PARAMETER ACE_ENV_ARG_PARAMETER

#define TAO_ENV_DECLARE_NEW_ENV ACE_DECLARE_NEW_CORBA_ENV

#define TAO_ENV_EMIT_CODE | ( | X |  | ) | ACE_ENV_EMIT_CODE(X)

#define TAO_ENV_EMIT_CODE2 | ( | X,
|  | Y |  | ) | ACE_ENV_EMIT_CODE2(X,Y)

#define TAO_ENV_RAISE | ( | ex |  | ) | ACE_ENV_RAISE(ex)

#define TAO_ENV_SINGLE_ARG_DECL ACE_ENV_SINGLE_ARG_DECL

#define TAO_ENV_SINGLE_ARG_DECL_NOT_USED ACE_ENV_SINGLE_ARG_DECL_NOT_USED

#define TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS

#define TAO_ENV_SINGLE_ARG_PARAMETER ACE_ENV_SINGLE_ARG_PARAMETER

#define TAO_EXPORT_NESTED_MACRO

#define TAO_HAS_AMI_CALLBACK 1

#define TAO_HAS_BUFFERING_CONSTRAINT_POLICY 1

#define TAO_HAS_CONNECTION_TIMEOUT_POLICY 1

#define TAO_HAS_CORBA_MESSAGING 1

#define TAO_HAS_DIOP 1

#define TAO_HAS_EXCEPTIONS

#define TAO_HAS_MAX_HOPS_POLICY 1

#define TAO_HAS_MINIMUM_POA 0

#define TAO_HAS_MINIMUM_POA_MAPS 0

#define TAO_HAS_NAMED_RT_MUTEXES 0

#define TAO_HAS_PRIORITY_POLICIES 1

#define TAO_HAS_QUEUE_ORDER_POLICY 1

#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_SHMIOP 1

#define TAO_HAS_SYNC_SCOPE_POLICY 1

#define TAO_HAS_UIOP 1

#define TAO_INVALID_PRIORITY -1

#define TAO_MAX_TRANSPORT_REREAD_ATTEMPTS 2

The number of times the transport will try to re-read before returning control to the reactor when it has an uncompleted message (see TAO_Transport::handle_input()).

The idea behind re-reading is that more data may have arrived while the transport was busy deciding what to do with the bytes it got, so we should probably try to re-read.

This value shouldn't be too large, lest the transport starve out other transports while trying to complete its message.

When choosing a value, think of the type of this as 'unsigned int'.

#define TAO_MAXBUFSIZE 1024

#define TAO_MAXIMUM_NATIVE_TYPE_SIZE 128

#define TAO_NAMESPACE_BEGIN | ( | NS |  | ) | namespace NS {

#define TAO_NAMESPACE_DEFINE | ( | TYPE,
|  | NAME,
|  | RHS |  | ) | TYPE NAME = RHS;

#define TAO_NAMESPACE_END }

#define TAO_NAMESPACE_INLINE_FUNCTION TAO_NAMESPACE_STORAGE_CLASS

#define TAO_NAMESPACE_STORAGE_CLASS extern TAO_EXPORT_MACRO

#define TAO_NAMESPACE_TYPE | ( | TYPE |  | ) |

#define TAO_NO_COPY_OCTET_SEQUENCES 1

#define TAO_NULL_LOCK_REACTOR ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Noop_Token> >

#define TAO_POLICY_DEFAULT_SCOPE

Value:

    (ACE_static_cast(TAO_Policy_Scope, \
                       TAO_POLICY_OBJECT_SCOPE | \
                       TAO_POLICY_THREAD_SCOPE | \
                       TAO_POLICY_ORB_SCOPE | \
                       TAO_POLICY_POA_SCOPE))

#define TAO_PURGE_PERCENT 20

#define TAO_REACTOR ACE_Select_Reactor

#define TAO_RT_CLIENT_PROTOCOL_POLICY_TYPE 43

#define TAO_RT_PRIORITY_BANDED_CONNECTION_POLICY_TYPE 45

#define TAO_RT_PRIORITY_MODEL_POLICY_TYPE 40

#define TAO_RT_PRIVATE_CONNECTION_POLICY_TYPE 44

#define TAO_RT_SERVER_PROTOCOL_POLICY_TYPE 42

#define TAO_RT_THREADPOOL_POLICY_TYPE 41

#define TAO_STD_PROFILE_COMPONENTS

#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_EXCEPTIONS

#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.

## Enumeration Type Documentation

enum TAO_Cached_Policy_Type

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

Enumeration values:

  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_MAX_CACHED |

enum TAO_Policy_Scope

Enumeration values:

  TAO_POLICY_OBJECT_SCOPE |
  TAO_POLICY_THREAD_SCOPE |
  TAO_POLICY_ORB_SCOPE |
  TAO_POLICY_POA_SCOPE |
  TAO_POLICY_CLIENT_EXPOSED |

## Variable Documentation

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