Default_Constants.h File Reference

#include "ace/os_include/os_limits.h"

Include dependency graph for Default_Constants.h:

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


Defines

#define ACE_DEFAULT_CLOSE_ALL_HANDLES   true
#define ACE_MAX_FULLY_QUALIFIED_NAME_LEN   256
#define ACE_DEFAULT_PAGEFILE_POOL_BASE   (void *) 0
#define ACE_DEFAULT_PAGEFILE_POOL_SIZE   (size_t) 0x01000000
#define ACE_DEFAULT_PAGEFILE_POOL_CHUNK   (size_t) 0x00010000
#define ACE_DEFAULT_PAGEFILE_POOL_NAME   ACE_TEXT ("Default_ACE_Pagefile_Memory_Pool")
#define ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY   0
#define ACE_DEFAULT_SERVICE_REPOSITORY_SIZE   1024
#define ACE_DEFAULT_SERVICE_GESTALT_SIZE   1024
#define ACE_REACTOR_NOTIFICATION_ARRAY_SIZE   1024
#define ACE_DEFAULT_TIMEOUT   5
#define ACE_DEFAULT_BACKLOG   5
#define ACE_DEFAULT_ASYNCH_BACKLOG   5
#define ACE_DEFAULT_THREADS   1
#define ACE_DEFAULT_BROADCAST_PORT   20000
#define ACE_DEFAULT_MULTICAST_PORT   20001
#define ACE_DEFAULT_MULTICAST_ADDR   "224.9.9.2"
#define ACE_DEFAULT_MULTICASTV6_ADDR   "ff05:0::ff01:1"
#define ACE_DEFAULT_HTTP_SERVER_PORT   80
#define ACE_DEFAULT_SERVER_PORT   20002
#define ACE_DEFAULT_HTTP_PORT   80
#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ   65536
#define ACE_DEFAULT_SERVER_PORT_STR   ACE_TEXT("20002")
#define ACE_DEFAULT_SERVICE_PORT   20003
#define ACE_DEFAULT_THR_PORT   20004
#define ACE_DEFAULT_LOCAL_PORT   20005
#define ACE_DEFAULT_LOCAL_PORT_STR   "20005"
#define ACE_DEFAULT_NAME_SERVER_PORT   20006
#define ACE_DEFAULT_NAME_SERVER_PORT_STR   "20006"
#define ACE_DEFAULT_TOKEN_SERVER_PORT   20007
#define ACE_DEFAULT_TOKEN_SERVER_PORT_STR   "20007"
#define ACE_DEFAULT_LOGGING_SERVER_PORT   20008
#define ACE_DEFAULT_LOGGING_SERVER_PORT_STR   "20008"
#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT   20008
#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR   "20008"
#define ACE_DEFAULT_TIME_SERVER_PORT   20009
#define ACE_DEFAULT_TIME_SERVER_PORT_STR   "20009"
#define ACE_DEFAULT_TIME_SERVER_STR   "ACE_TS_TIME"
#define ACE_DEFAULT_RENDEZVOUS   ACE_TEXT("localhost:20010")
#define ACE_DEFAULT_SYSLOG_FACILITY   LOG_USER
#define ACE_HAS_STREAM_LOG_MSG_IPC   0
#define ACE_DEFAULT_LOGGER_KEY   ACE_TEXT ("localhost:20012")
#define ACE_LOCALHOST   ACE_TEXT ("localhost")
#define ACE_IPV6_LOCALHOST   ACE_TEXT ("::1")
#define ACE_IPV6_ANY   ACE_TEXT ("::")
#define ACE_DEFAULT_SERVER_HOST   ACE_IPV6_LOCALHOST
#define ACE_DEFAULT_SHM_KEY   1234
#define ACE_DEFAULT_BASE_ADDR   ((char *) (64 * 1024 * 1024))
#define ACE_DEFAULT_SEGMENT_SIZE   1024 * 128
#define ACE_DEFAULT_MAX_SEGMENTS   6
#define ACE_NAME_SERVER_MAP   "Name Server Map"
#define ACE_DEFAULT_FILE_PERMS   0644
#define ACE_DEFAULT_DIR_PERMS   0755
#define ACE_DEFAULT_TIMEPROBE_TABLE_SIZE   8 * 1024
#define ACE_DEFAULT_MAP_SIZE   1024
#define ACE_DEFAULT_TIMER_WHEEL_SIZE   1024
#define ACE_DEFAULT_TIMER_WHEEL_RESOLUTION   100
#define ACE_DEFAULT_TIMER_HASH_TABLE_SIZE   1024
#define ACE_DEFAULT_FREE_LIST_PREALLOC   0
#define ACE_DEFAULT_FREE_LIST_LWM   0
#define ACE_DEFAULT_FREE_LIST_HWM   25000
#define ACE_DEFAULT_FREE_LIST_INC   100
#define ACE_UNIQUE_NAME_LEN   100
#define ACE_MAX_DGRAM_SIZE   8192
#define ACE_DEFAULT_ARGV_BUFSIZ   1024 * 4
#define ACE_FREE_LIST_WITH_POOL   1
#define ACE_PURE_FREE_LIST   2
#define ACE_NON_BLOCKING_BUG_DELAY   35000
#define ACE_MAXLOGMSGLEN   4 * 1024
#define ACE_MAXTOKENNAMELEN   40
#define ACE_MAXCLIENTIDLEN   MAXHOSTNAMELEN + 20
#define ACE_MAX_UDP_PACKET_SIZE   65536
 Max udp packet size.
#define ACE_DEFAULT_CDR_MEMCPY_TRADEOFF   256
 Control the zero-copy optimizations for octet sequences.
#define ACE_DIRECTORY_SEPARATOR_STR_A   "\\"
#define ACE_DIRECTORY_SEPARATOR_CHAR_A   '\\'
#define ACE_DIRECTORY_SEPARATOR_STR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_STR_A)
#define ACE_DIRECTORY_SEPARATOR_CHAR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_CHAR_A)
#define ACE_DIRECTORY_SEPARATOR_STR   ACE_TEXT (ACE_DIRECTORY_SEPARATOR_STR_A)
#define ACE_DIRECTORY_SEPARATOR_CHAR   ACE_TEXT (ACE_DIRECTORY_SEPARATOR_CHAR_A)
#define ACE_DEFAULT_THREAD_PRIORITY   (-0x7fffffffL - 1L)
#define ACE_DEFAULT_THREAD_STACKSIZE   0
#define ACE_MAX_DEFAULT_PORT   65535
#define ACE_DEFAULT_TIMERS   _POSIX_TIMER_MAX
#define ACE_PLATFORM_A   "Win32"
#define ACE_PLATFORM_EXE_SUFFIX_A   ".exe"
#define ACE_PLATFORM_W   ACE_TEXT_WIDE(ACE_PLATFORM_A)
#define ACE_PLATFORM_EXE_SUFFIX_W   ACE_TEXT_WIDE(ACE_PLATFORM_EXE_SUFFIX_A)
#define ACE_PLATFORM   ACE_TEXT (ACE_PLATFORM_A)
#define ACE_PLATFORM_EXE_SUFFIX   ACE_TEXT (ACE_PLATFORM_EXE_SUFFIX_A)
#define ACE_LD_SEARCH_PATH   ACE_TEXT ("PATH")
#define ACE_LD_SEARCH_PATH_SEPARATOR_STR   ACE_TEXT (";")
#define ACE_DLL_SUFFIX   ACE_TEXT (".dll")
#define ACE_DLL_PREFIX   ACE_TEXT ("")
#define ACE_DEFAULT_SVC_CONF   ACE_TEXT (".\\svc.conf")
#define ACE_LOGGER_KEY   ACE_TEXT ("/tmp/server_daemon")
#define ACE_DEFAULT_LOCALNAME_A   "localnames"
#define ACE_DEFAULT_GLOBALNAME_A   "globalnames"
#define ACE_DEFAULT_LOCALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_LOCALNAME_A)
#define ACE_DEFAULT_GLOBALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_GLOBALNAME_A)
#define ACE_DEFAULT_LOCALNAME   ACE_TEXT (ACE_DEFAULT_LOCALNAME_A)
#define ACE_DEFAULT_GLOBALNAME   ACE_TEXT (ACE_DEFAULT_GLOBALNAME_A)
#define ACE_DEV_NULL   "nul"
#define ACE_SYSCALL_FAILED   0xFFFFFFFF
Default values to control CDR classes memory allocation strategies
#define ACE_DEFAULT_CDR_BUFSIZE   512
#define ACE_DEFAULT_CDR_EXP_GROWTH_MAX   65536
 Stop exponential growth of CDR buffers to avoid overallocation.
#define ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK   65536

Detailed Description

Id
Default_Constants.h 85342 2009-05-14 11:13:56Z johnnyw

Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>

Jesper S. M|ller<stophph@diku.dk>

and a cast of thousands...

This one is split from the famous OS.h

Define Documentation

#define ACE_DEFAULT_ARGV_BUFSIZ   1024 * 4

#define ACE_DEFAULT_ASYNCH_BACKLOG   5

#define ACE_DEFAULT_BACKLOG   5

#define ACE_DEFAULT_BASE_ADDR   ((char *) (64 * 1024 * 1024))

#define ACE_DEFAULT_BROADCAST_PORT   20000

#define ACE_DEFAULT_CDR_BUFSIZE   512

Control the initial size of all CDR buffers, application developers may want to optimize this value to fit their request size

#define ACE_DEFAULT_CDR_EXP_GROWTH_MAX   65536

Stop exponential growth of CDR buffers to avoid overallocation.

#define ACE_DEFAULT_CDR_LINEAR_GROWTH_CHUNK   65536

Control CDR buffer growth after maximum exponential growth is reached

#define ACE_DEFAULT_CDR_MEMCPY_TRADEOFF   256

Control the zero-copy optimizations for octet sequences.

Large octet sequences can be sent without any copies by chaining them in the list of message blocks that represent a single CDR stream. However, if the octet sequence is too small the zero copy optimizations actually hurt performance. Octet sequences smaller than this value will be copied.

#define ACE_DEFAULT_CLOSE_ALL_HANDLES   true

#define ACE_DEFAULT_DIR_PERMS   0755

#define ACE_DEFAULT_FILE_PERMS   0644

#define ACE_DEFAULT_FREE_LIST_HWM   25000

#define ACE_DEFAULT_FREE_LIST_INC   100

#define ACE_DEFAULT_FREE_LIST_LWM   0

#define ACE_DEFAULT_FREE_LIST_PREALLOC   0

#define ACE_DEFAULT_GLOBALNAME   ACE_TEXT (ACE_DEFAULT_GLOBALNAME_A)

#define ACE_DEFAULT_GLOBALNAME_A   "globalnames"

#define ACE_DEFAULT_GLOBALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_GLOBALNAME_A)

#define ACE_DEFAULT_HTTP_PORT   80

#define ACE_DEFAULT_HTTP_SERVER_PORT   80

#define ACE_DEFAULT_LOCAL_PORT   20005

#define ACE_DEFAULT_LOCAL_PORT_STR   "20005"

#define ACE_DEFAULT_LOCALNAME   ACE_TEXT (ACE_DEFAULT_LOCALNAME_A)

#define ACE_DEFAULT_LOCALNAME_A   "localnames"

#define ACE_DEFAULT_LOCALNAME_W   ACE_TEXT_WIDE(ACE_DEFAULT_LOCALNAME_A)

#define ACE_DEFAULT_LOGGER_KEY   ACE_TEXT ("localhost:20012")

#define ACE_DEFAULT_LOGGING_SERVER_PORT   20008

#define ACE_DEFAULT_LOGGING_SERVER_PORT_STR   "20008"

#define ACE_DEFAULT_MAP_SIZE   1024

#define ACE_DEFAULT_MAX_SEGMENTS   6

#define ACE_DEFAULT_MAX_SOCKET_BUFSIZ   65536

#define ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY   0

#define ACE_DEFAULT_MULTICAST_ADDR   "224.9.9.2"

#define ACE_DEFAULT_MULTICAST_PORT   20001

#define ACE_DEFAULT_MULTICASTV6_ADDR   "ff05:0::ff01:1"

#define ACE_DEFAULT_NAME_SERVER_PORT   20006

#define ACE_DEFAULT_NAME_SERVER_PORT_STR   "20006"

#define ACE_DEFAULT_PAGEFILE_POOL_BASE   (void *) 0

#define ACE_DEFAULT_PAGEFILE_POOL_CHUNK   (size_t) 0x00010000

#define ACE_DEFAULT_PAGEFILE_POOL_NAME   ACE_TEXT ("Default_ACE_Pagefile_Memory_Pool")

#define ACE_DEFAULT_PAGEFILE_POOL_SIZE   (size_t) 0x01000000

#define ACE_DEFAULT_RENDEZVOUS   ACE_TEXT("localhost:20010")

#define ACE_DEFAULT_SEGMENT_SIZE   1024 * 128

#define ACE_DEFAULT_SERVER_HOST   ACE_IPV6_LOCALHOST

#define ACE_DEFAULT_SERVER_PORT   20002

#define ACE_DEFAULT_SERVER_PORT_STR   ACE_TEXT("20002")

#define ACE_DEFAULT_SERVICE_GESTALT_SIZE   1024

#define ACE_DEFAULT_SERVICE_PORT   20003

#define ACE_DEFAULT_SERVICE_REPOSITORY_SIZE   1024

#define ACE_DEFAULT_SHM_KEY   1234

#define ACE_DEFAULT_SVC_CONF   ACE_TEXT (".\\svc.conf")

#define ACE_DEFAULT_SYSLOG_FACILITY   LOG_USER

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT   20008

#define ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR   "20008"

#define ACE_DEFAULT_THR_PORT   20004

#define ACE_DEFAULT_THREAD_PRIORITY   (-0x7fffffffL - 1L)

#define ACE_DEFAULT_THREAD_STACKSIZE   0

#define ACE_DEFAULT_THREADS   1

#define ACE_DEFAULT_TIME_SERVER_PORT   20009

#define ACE_DEFAULT_TIME_SERVER_PORT_STR   "20009"

#define ACE_DEFAULT_TIME_SERVER_STR   "ACE_TS_TIME"

#define ACE_DEFAULT_TIMEOUT   5

#define ACE_DEFAULT_TIMEPROBE_TABLE_SIZE   8 * 1024

#define ACE_DEFAULT_TIMER_HASH_TABLE_SIZE   1024

#define ACE_DEFAULT_TIMER_WHEEL_RESOLUTION   100

#define ACE_DEFAULT_TIMER_WHEEL_SIZE   1024

#define ACE_DEFAULT_TIMERS   _POSIX_TIMER_MAX

#define ACE_DEFAULT_TOKEN_SERVER_PORT   20007

#define ACE_DEFAULT_TOKEN_SERVER_PORT_STR   "20007"

#define ACE_DEV_NULL   "nul"

#define ACE_DIRECTORY_SEPARATOR_CHAR   ACE_TEXT (ACE_DIRECTORY_SEPARATOR_CHAR_A)

#define ACE_DIRECTORY_SEPARATOR_CHAR_A   '\\'

#define ACE_DIRECTORY_SEPARATOR_CHAR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_CHAR_A)

#define ACE_DIRECTORY_SEPARATOR_STR   ACE_TEXT (ACE_DIRECTORY_SEPARATOR_STR_A)

#define ACE_DIRECTORY_SEPARATOR_STR_A   "\\"

#define ACE_DIRECTORY_SEPARATOR_STR_W   ACE_TEXT_WIDE(ACE_DIRECTORY_SEPARATOR_STR_A)

#define ACE_DLL_PREFIX   ACE_TEXT ("")

#define ACE_DLL_SUFFIX   ACE_TEXT (".dll")

#define ACE_FREE_LIST_WITH_POOL   1

#define ACE_HAS_STREAM_LOG_MSG_IPC   0

#define ACE_IPV6_ANY   ACE_TEXT ("::")

#define ACE_IPV6_LOCALHOST   ACE_TEXT ("::1")

#define ACE_LD_SEARCH_PATH   ACE_TEXT ("PATH")

#define ACE_LD_SEARCH_PATH_SEPARATOR_STR   ACE_TEXT (";")

#define ACE_LOCALHOST   ACE_TEXT ("localhost")

#define ACE_LOGGER_KEY   ACE_TEXT ("/tmp/server_daemon")

#define ACE_MAX_DEFAULT_PORT   65535

#define ACE_MAX_DGRAM_SIZE   8192

#define ACE_MAX_FULLY_QUALIFIED_NAME_LEN   256

#define ACE_MAX_UDP_PACKET_SIZE   65536

Max udp packet size.

#define ACE_MAXCLIENTIDLEN   MAXHOSTNAMELEN + 20

#define ACE_MAXLOGMSGLEN   4 * 1024

#define ACE_MAXTOKENNAMELEN   40

#define ACE_NAME_SERVER_MAP   "Name Server Map"

#define ACE_NON_BLOCKING_BUG_DELAY   35000

#define ACE_PLATFORM   ACE_TEXT (ACE_PLATFORM_A)

#define ACE_PLATFORM_A   "Win32"

#define ACE_PLATFORM_EXE_SUFFIX   ACE_TEXT (ACE_PLATFORM_EXE_SUFFIX_A)

#define ACE_PLATFORM_EXE_SUFFIX_A   ".exe"

#define ACE_PLATFORM_EXE_SUFFIX_W   ACE_TEXT_WIDE(ACE_PLATFORM_EXE_SUFFIX_A)

#define ACE_PLATFORM_W   ACE_TEXT_WIDE(ACE_PLATFORM_A)

#define ACE_PURE_FREE_LIST   2

#define ACE_REACTOR_NOTIFICATION_ARRAY_SIZE   1024

#define ACE_SYSCALL_FAILED   0xFFFFFFFF

#define ACE_UNIQUE_NAME_LEN   100


Generated on Thu Jul 23 02:27:22 2009 for ACE by  doxygen 1.5.8