blob: b59757ace711168702d187b2703af2101f33e617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
// -*- C++ -*-
//=============================================================================
/**
* @file PG_conf.h
*
* $Id$
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=============================================================================
#ifndef TAO_PG_CONF_H
#define TAO_PG_CONF_H
#include "ace/pre.h"
#include "ace/config-all.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/PortableGroupC.h"
#ifndef TAO_PG_MAX_OBJECT_GROUPS
/// The maximum number of object groups to be managed by the
/// ObjectGroupManager. This number is also equal to the number of
/// factory sets managed by the GenericFactory.
const size_t TAO_PG_MAX_OBJECT_GROUPS = 1024;
#endif /* TAO_PG_MAX_NUMBER_OF_OBJECT_GROUPS */
#ifndef TAO_PG_MAX_LOCATIONS
/// The maximum number of locations to be managed by the
/// ObjectGroupManager.
const size_t TAO_PG_MAX_LOCATIONS = 1024;
#endif /* TAO_PG_MAX_LOCATIONS */
#ifndef TAO_PG_MEMBERSHIP_STYLE
/// The default object group membership style.
const PortableGroup::MembershipStyleValue TAO_PG_MEMBERSHIP_STYLE =
PortableGroup::MEMB_INF_CTRL;
#endif /* TAO_PG_INITIAL_NUMBER_MEMBERS */
#ifndef TAO_PG_INITIAL_NUMBER_MEMBERS
/// The default initial number of object group members.
const PortableGroup::InitialNumberMembersValue TAO_PG_INITIAL_NUMBER_MEMBERS =
0;
#endif /* TAO_PG_INITIAL_NUMBER_MEMBERS */
#ifndef TAO_PG_MINIMUM_NUMBER_MEMBERS
/// The default minimum number of object group members.
const PortableGroup::MinimumNumberMembersValue TAO_PG_MINIMUM_NUMBER_MEMBERS =
0;
#endif /* TAO_PG_MINIMUM_NUMBER_MEMBERS */
#include "ace/post.h"
#endif /* TAO_PG_CONF_H */
|