00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef TAO_PG_CONF_H
00015 #define TAO_PG_CONF_H
00016
00017 #include "ace/pre.h"
00018
00019 #include "ace/config-all.h"
00020
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 #pragma once
00023 #endif
00024
00025 #include "orbsvcs/PortableGroupC.h"
00026
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028
00029 #ifndef TAO_PG_MAX_OBJECT_GROUPS // @@ why create arbitrary limits?
00030
00031
00032
00033 const size_t TAO_PG_MAX_OBJECT_GROUPS = 1024;
00034 #endif
00035
00036 #ifndef TAO_PG_MAX_LOCATIONS // @@ why create arbitrary limits?
00037
00038
00039 const size_t TAO_PG_MAX_LOCATIONS = 1024;
00040 #endif
00041
00042 #ifndef TAO_PG_MEMBERSHIP_STYLE
00043
00044 const PortableGroup::MembershipStyleValue TAO_PG_MEMBERSHIP_STYLE =
00045 PortableGroup::MEMB_INF_CTRL;
00046 #endif
00047
00048 #ifndef TAO_PG_INITIAL_NUMBER_MEMBERS
00049
00050 const PortableGroup::InitialNumberMembersValue TAO_PG_INITIAL_NUMBER_MEMBERS =
00051 2;
00052 #endif
00053
00054 #ifndef TAO_PG_MINIMUM_NUMBER_MEMBERS
00055
00056 const PortableGroup::MinimumNumberMembersValue TAO_PG_MINIMUM_NUMBER_MEMBERS =
00057 TAO_PG_INITIAL_NUMBER_MEMBERS;
00058 #endif
00059
00060 TAO_END_VERSIONED_NAMESPACE_DECL
00061
00062 #include "ace/post.h"
00063
00064 #endif