Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / objectid.h
blobca8895fad583ae284454dfba20b918d0d37c083e
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file objectid.h
7 * ObjectIds redefined for TAO and recognized by CORBA
9 * @author Chris Cleeland
10 * @author Douglas C. Schmidt
12 //=============================================================================
14 #ifndef TAO_OBJECTID_H
15 #define TAO_OBJECTID_H
16 #include /**/ "ace/pre.h"
18 #include "ace/config-all.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include /**/ "tao/Versioned_Namespace.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 * This file is a break away from orbconf.h. Basically orbconf.h is
31 * going the OS.h way. Too many things cluttered in other than the
32 * configuration details. Hence this breakway group.
34 * This file has the TAO specific objectid definitions for the
35 * services that are recognized by resolve_initial_references (),
36 * list_initiial_services () etc. They have no place in the ORB
37 * configuration.
40 // ObjectIds recognized by CORBA::ORB::resolve_initial_references()...
41 // of course, no guarantees are made that the call will return
42 // something useful.
43 #define TAO_OBJID_NAMESERVICE "NameService"
44 #define TAO_OBJID_TRADINGSERVICE "TradingService"
45 #define TAO_OBJID_IMPLREPOSERVICE "ImplRepoService"
46 #define TAO_OBJID_ROOTPOA "RootPOA"
47 #define TAO_OBJID_POACURRENT "POACurrent"
48 #define TAO_OBJID_INTERFACEREP "InterfaceRepository"
49 #define TAO_OBJID_POLICYMANAGER "ORBPolicyManager"
50 #define TAO_OBJID_POLICYCURRENT "PolicyCurrent"
51 #define TAO_OBJID_IORMANIPULATION "IORManipulation"
52 #define TAO_OBJID_IORTABLE "IORTable"
53 #define TAO_OBJID_ASYNCIORTABLE "AsyncIORTable"
54 #define TAO_OBJID_DYNANYFACTORY "DynAnyFactory"
55 #define TAO_OBJID_TYPECODEFACTORY "TypeCodeFactory"
56 #define TAO_OBJID_RTORB "RTORB"
57 #define TAO_OBJID_RTCURRENT "RTCurrent"
58 #define TAO_OBJID_PRIORITYMAPPINGMANAGER "PriorityMappingManager"
59 #define TAO_OBJID_NETWORKPRIORITYMAPPINGMANAGER "NetworkPriorityMappingManager"
60 #define TAO_OBJID_SECURITYCURRENT "SecurityCurrent"
61 #define TAO_OBJID_SECURITYMANAGER "SecurityManager"
62 #define TAO_OBJID_TRANSACTIONCURRENT "TransactionCurrent"
63 #define TAO_OBJID_NOTIFICATIONSERVICE "NotificationService"
64 #define TAO_OBJID_TYPEDNOTIFICATIONSERVICE "TypedNotificationService"
65 #define TAO_OBJID_COMPONENTHOMEFINDER "ComponentHomeFinder"
66 #define TAO_OBJID_PSS "PSS"
67 #define TAO_OBJID_CODECFACTORY "CodecFactory"
68 #define TAO_OBJID_PICurrent "PICurrent"
69 #define TAO_OBJID_POAMANAGERFACTORY "POAManagerFactory"
70 #define TAO_OBJID_COMPRESSIONMANAGER "CompressionManager"
71 #define TAO_OBJID_MONITOR "Monitor"
73 // Comma separated list of the above ObjectIDs.
74 // DO NOT include unimplemented services!
75 // The CORBA::ORB::list_initial_services () method iterates through
76 // this list to determine which initial services are available.
77 #define TAO_LIST_OF_INITIAL_SERVICES \
78 TAO_OBJID_NAMESERVICE, \
79 TAO_OBJID_TRADINGSERVICE, \
80 TAO_OBJID_IMPLREPOSERVICE, \
81 TAO_OBJID_ROOTPOA, \
82 TAO_OBJID_POACURRENT, \
83 TAO_OBJID_INTERFACEREP, \
84 TAO_OBJID_POLICYMANAGER, \
85 TAO_OBJID_POLICYCURRENT, \
86 TAO_OBJID_IORMANIPULATION, \
87 TAO_OBJID_IORTABLE, \
88 TAO_OBJID_DYNANYFACTORY, \
89 TAO_OBJID_TYPECODEFACTORY, \
90 TAO_OBJID_COMPRESSIONMANAGER, \
91 TAO_OBJID_MONITOR
92 // @@ Some initial references are added via other means, such as
93 // ORBInitInfo::register_initial_references(). Those should not be
94 // placed in the above list. Ideally, we should no longer need the
95 // above list once the above services register their references
96 // dynamically.
98 /// Service IDs for the services that are located through Multicast.
99 namespace TAO
101 enum MCAST_SERVICEID
103 MCAST_NAMESERVICE,
104 MCAST_TRADINGSERVICE,
105 MCAST_IMPLREPOSERVICE,
106 MCAST_INTERFACEREPOSERVICE
110 /// No. of services locatable through multicast.
111 #define TAO_NO_OF_MCAST_SERVICES 4
113 TAO_END_VERSIONED_NAMESPACE_DECL
115 #include /**/ "ace/post.h"
116 #endif /*TAO_OBJECTID_H*/