diff options
Diffstat (limited to 'TAO/tao/ImR_Client/ImplRepoC.h')
-rw-r--r-- | TAO/tao/ImR_Client/ImplRepoC.h | 366 |
1 files changed, 182 insertions, 184 deletions
diff --git a/TAO/tao/ImR_Client/ImplRepoC.h b/TAO/tao/ImR_Client/ImplRepoC.h index 137f4f1e20e..2c2b4bd4478 100644 --- a/TAO/tao/ImR_Client/ImplRepoC.h +++ b/TAO/tao/ImR_Client/ImplRepoC.h @@ -40,7 +40,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "imr_client_export.h" +#include "tao/ImR_Client/imr_client_export.h" #include "tao/AnyTypeCode/AnyTypeCode_methods.h" #include "tao/ORB.h" #include "tao/SystemException.h" @@ -60,7 +60,9 @@ #endif #define TAO_EXPORT_MACRO TAO_IMR_Client_Export -// TAO_IDL - Generated from +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +// TAO_IDL - Generated from // be\be_visitor_root/root_ch.cpp:62 namespace TAO @@ -74,30 +76,30 @@ namespace TAO namespace ImplementationRepository { - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_IMPLEMENTATIONREPOSITORY_ALREADYREGISTERED_CH_) #define _IMPLEMENTATIONREPOSITORY_ALREADYREGISTERED_CH_ - + class TAO_IMR_Client_Export AlreadyRegistered : public ::CORBA::UserException { public: - + AlreadyRegistered (void); AlreadyRegistered (const AlreadyRegistered &); ~AlreadyRegistered (void); AlreadyRegistered &operator= (const AlreadyRegistered &); - + static void _tao_any_destructor (void *); - + static AlreadyRegistered *_downcast ( ::CORBA::Exception *); static const AlreadyRegistered *_downcast ( ::CORBA::Exception const *); - + static ::CORBA::Exception *_alloc (void); - + virtual ::CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -106,46 +108,46 @@ namespace ImplementationRepository TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + virtual ::CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_AlreadyRegistered; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_IMPLEMENTATIONREPOSITORY_CANNOTACTIVATE_CH_) #define _IMPLEMENTATIONREPOSITORY_CANNOTACTIVATE_CH_ - + class TAO_IMR_Client_Export CannotActivate : public ::CORBA::UserException { public: - - TAO_String_Manager reason; + + TAO::String_Manager reason; CannotActivate (void); CannotActivate (const CannotActivate &); ~CannotActivate (void); CannotActivate &operator= (const CannotActivate &); - + static void _tao_any_destructor (void *); - + static CannotActivate *_downcast ( ::CORBA::Exception *); static const CannotActivate *_downcast ( ::CORBA::Exception const *); - + static ::CORBA::Exception *_alloc (void); - + virtual ::CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -154,52 +156,52 @@ namespace ImplementationRepository TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ctor.cpp:66 - + CannotActivate ( const char * _tao_reason ); - + virtual ::CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_CannotActivate; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 #if !defined (_IMPLEMENTATIONREPOSITORY_NOTFOUND_CH_) #define _IMPLEMENTATIONREPOSITORY_NOTFOUND_CH_ - + class TAO_IMR_Client_Export NotFound : public ::CORBA::UserException { public: - + NotFound (void); NotFound (const NotFound &); ~NotFound (void); NotFound &operator= (const NotFound &); - + static void _tao_any_destructor (void *); - + static NotFound *_downcast ( ::CORBA::Exception *); static const NotFound *_downcast ( ::CORBA::Exception const *); - + static ::CORBA::Exception *_alloc (void); - + virtual ::CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -208,83 +210,80 @@ namespace ImplementationRepository TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + virtual ::CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_NotFound; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_type.cpp:258 - + struct EnvironmentVariable; - + typedef TAO_Var_Var_T< EnvironmentVariable > EnvironmentVariable_var; - + typedef TAO_Out_T< EnvironmentVariable, EnvironmentVariable_var > EnvironmentVariable_out; - + // TAO_IDL - Generated from // be\be_visitor_structure/structure_ch.cpp:57 - + struct TAO_IMR_Client_Export EnvironmentVariable { typedef EnvironmentVariable_var _var_type; - + static void _tao_any_destructor (void *); - TAO_String_Manager name; - TAO_String_Manager value; + TAO::String_Manager name; + TAO::String_Manager value; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_EnvironmentVariable; - + // TAO_IDL - Generated from // be\be_visitor_sequence/sequence_ch.cpp:101 #if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_) #define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_ - + class EnvironmentList; - + typedef TAO_VarSeq_Var_T< - EnvironmentList, - EnvironmentVariable + EnvironmentList > EnvironmentList_var; - + typedef TAO_Seq_Out_T< - EnvironmentList, - EnvironmentList_var, - EnvironmentVariable + EnvironmentList > EnvironmentList_out; - + class TAO_IMR_Client_Export EnvironmentList : public - TAO_Unbounded_Sequence< + TAO::unbounded_value_sequence< EnvironmentVariable > { @@ -294,27 +293,27 @@ namespace ImplementationRepository EnvironmentList ( ::CORBA::ULong max, ::CORBA::ULong length, - EnvironmentVariable* buffer, - ::CORBA::Boolean release = 0 + EnvironmentVariable* buffer, + ::CORBA::Boolean release = false ); EnvironmentList (const EnvironmentList &); ~EnvironmentList (void); - + static void _tao_any_destructor (void *); - + typedef EnvironmentList_var _var_type; }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_EnvironmentList; - + // TAO_IDL - Generated from // be\be_visitor_enum/enum_ch.cpp:57 - + enum ActivationMode { NORMAL, @@ -322,115 +321,112 @@ namespace ImplementationRepository PER_CLIENT, AUTO_START }; - + typedef ActivationMode &ActivationMode_out; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_ActivationMode; - + // TAO_IDL - Generated from // be\be_type.cpp:258 - + struct StartupOptions; - + typedef TAO_Var_Var_T< StartupOptions > StartupOptions_var; - + typedef TAO_Out_T< StartupOptions, StartupOptions_var > StartupOptions_out; - + // TAO_IDL - Generated from // be\be_visitor_structure/structure_ch.cpp:57 - + struct TAO_IMR_Client_Export StartupOptions { typedef StartupOptions_var _var_type; - + static void _tao_any_destructor (void *); - TAO_String_Manager command_line; + TAO::String_Manager command_line; ImplementationRepository::EnvironmentList environment; - TAO_String_Manager working_directory; + TAO::String_Manager working_directory; ImplementationRepository::ActivationMode activation; - TAO_String_Manager activator; + TAO::String_Manager activator; ::CORBA::Long start_limit; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_StartupOptions; - + // TAO_IDL - Generated from // be\be_type.cpp:258 - + struct ServerInformation; - + typedef TAO_Var_Var_T< ServerInformation > ServerInformation_var; - + typedef TAO_Out_T< ServerInformation, ServerInformation_var > ServerInformation_out; - + // TAO_IDL - Generated from // be\be_visitor_structure/structure_ch.cpp:57 - + struct TAO_IMR_Client_Export ServerInformation { typedef ServerInformation_var _var_type; - + static void _tao_any_destructor (void *); - TAO_String_Manager server; + TAO::String_Manager server; ImplementationRepository::StartupOptions startup; - TAO_String_Manager partial_ior; + TAO::String_Manager partial_ior; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_ServerInformation; - + // TAO_IDL - Generated from // be\be_visitor_sequence/sequence_ch.cpp:101 #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_ - + class ServerInformationList; - + typedef TAO_VarSeq_Var_T< - ServerInformationList, - ServerInformation + ServerInformationList > ServerInformationList_var; - + typedef TAO_Seq_Out_T< - ServerInformationList, - ServerInformationList_var, - ServerInformation + ServerInformationList > ServerInformationList_out; - + class TAO_IMR_Client_Export ServerInformationList : public - TAO_Unbounded_Sequence< + TAO::unbounded_value_sequence< ServerInformation > { @@ -440,39 +436,39 @@ namespace ImplementationRepository ServerInformationList ( ::CORBA::ULong max, ::CORBA::ULong length, - ServerInformation* buffer, - ::CORBA::Boolean release = 0 + ServerInformation* buffer, + ::CORBA::Boolean release = false ); ServerInformationList (const ServerInformationList &); ~ServerInformationList (void); - + static void _tao_any_destructor (void *); - + typedef ServerInformationList_var _var_type; }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_ServerInformationList; - + // TAO_IDL - Generated from // be\be_interface.cpp:646 #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR__VAR_OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR__VAR_OUT_CH_ - + class ServerInformationIterator; typedef ServerInformationIterator *ServerInformationIterator_ptr; - + typedef TAO_Objref_Var_T< ServerInformationIterator > ServerInformationIterator_var; - + typedef TAO_Objref_Out_T< ServerInformationIterator @@ -480,13 +476,13 @@ namespace ImplementationRepository ServerInformationIterator_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR_CH_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR_CH_ - + class TAO_IMR_Client_Export ServerInformationIterator : public virtual ::CORBA::Object { @@ -494,32 +490,32 @@ namespace ImplementationRepository friend class TAO::Narrow_Utils<ServerInformationIterator>; typedef ServerInformationIterator_ptr _ptr_type; typedef ServerInformationIterator_var _var_type; - + // The static operations. static ServerInformationIterator_ptr _duplicate (ServerInformationIterator_ptr obj); - + static void _tao_release (ServerInformationIterator_ptr obj); - + static ServerInformationIterator_ptr _narrow ( ::CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerInformationIterator_ptr _unchecked_narrow ( ::CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerInformationIterator_ptr _nil (void) { return static_cast<ServerInformationIterator_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual ::CORBA::Boolean next_n ( ::CORBA::ULong how_many, ::ImplementationRepository::ServerInformationList_out servers @@ -528,44 +524,44 @@ namespace ImplementationRepository ACE_THROW_SPEC (( ::CORBA::SystemException )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void destroy ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( ::CORBA::SystemException )); - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:210 - + virtual ::CORBA::Boolean _is_a ( const char *type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual const char* _interface_repository_id (void) const; virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); private: TAO::Collocation_Proxy_Broker *the_TAO_ServerInformationIterator_Proxy_Broker_; - + protected: // Concrete interface only. ServerInformationIterator (void); - + // These methods travese the inheritance tree and set the // parents piece of the given class in the right mode. virtual void ImplementationRepository_ServerInformationIterator_setup_collocation (void); - + // Concrete non-local interface only. ServerInformationIterator ( IOP::IOR *ior, TAO_ORB_Core *orb_core = 0 ); - + // Non-local interface only. ServerInformationIterator ( TAO_Stub *objref, @@ -573,38 +569,38 @@ namespace ImplementationRepository TAO_Abstract_ServantBase *servant = 0, TAO_ORB_Core *orb_core = 0 ); - + virtual ~ServerInformationIterator (void); - + private: // Private and unimplemented for concrete interfaces. ServerInformationIterator (const ServerInformationIterator &); - + void operator= (const ServerInformationIterator &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_ServerInformationIterator; - + // TAO_IDL - Generated from // be\be_interface.cpp:646 #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION__VAR_OUT_CH_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION__VAR_OUT_CH_ - + class Administration; typedef Administration *Administration_ptr; - + typedef TAO_Objref_Var_T< Administration > Administration_var; - + typedef TAO_Objref_Out_T< Administration @@ -612,13 +608,13 @@ namespace ImplementationRepository Administration_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION_CH_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION_CH_ - + class TAO_IMR_Client_Export Administration : public virtual ::CORBA::Object { @@ -626,32 +622,32 @@ namespace ImplementationRepository friend class TAO::Narrow_Utils<Administration>; typedef Administration_ptr _ptr_type; typedef Administration_var _var_type; - + // The static operations. static Administration_ptr _duplicate (Administration_ptr obj); - + static void _tao_release (Administration_ptr obj); - + static Administration_ptr _narrow ( ::CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Administration_ptr _unchecked_narrow ( ::CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Administration_ptr _nil (void) { return static_cast<Administration_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void activate_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -661,10 +657,10 @@ namespace ImplementationRepository ::ImplementationRepository::NotFound, ::ImplementationRepository::CannotActivate )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void add_or_update_server ( const char * server, const ::ImplementationRepository::StartupOptions & options @@ -674,10 +670,10 @@ namespace ImplementationRepository ::CORBA::SystemException, ::ImplementationRepository::NotFound )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void remove_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -686,10 +682,10 @@ namespace ImplementationRepository ::CORBA::SystemException, ::ImplementationRepository::NotFound )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void shutdown_server ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -698,10 +694,10 @@ namespace ImplementationRepository ::CORBA::SystemException, ::ImplementationRepository::NotFound )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void server_is_running ( const char * server, const char * partial_ior, @@ -712,10 +708,10 @@ namespace ImplementationRepository ::CORBA::SystemException, ::ImplementationRepository::NotFound )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void server_is_shutting_down ( const char * server ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -724,10 +720,10 @@ namespace ImplementationRepository ::CORBA::SystemException, ::ImplementationRepository::NotFound )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void find ( const char * server, ::ImplementationRepository::ServerInformation_out info @@ -736,10 +732,10 @@ namespace ImplementationRepository ACE_THROW_SPEC (( ::CORBA::SystemException )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void list ( ::CORBA::ULong how_many, ::ImplementationRepository::ServerInformationList_out server_list, @@ -749,10 +745,10 @@ namespace ImplementationRepository ACE_THROW_SPEC (( ::CORBA::SystemException )); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void shutdown ( ::CORBA::Boolean activators, ::CORBA::Boolean servers @@ -761,34 +757,34 @@ namespace ImplementationRepository ACE_THROW_SPEC (( ::CORBA::SystemException )); - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:210 - + virtual ::CORBA::Boolean _is_a ( const char *type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual const char* _interface_repository_id (void) const; virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr); private: TAO::Collocation_Proxy_Broker *the_TAO_Administration_Proxy_Broker_; - + protected: // Concrete interface only. Administration (void); - + // These methods travese the inheritance tree and set the // parents piece of the given class in the right mode. virtual void ImplementationRepository_Administration_setup_collocation (void); - + // Concrete non-local interface only. Administration ( IOP::IOR *ior, TAO_ORB_Core *orb_core = 0 ); - + // Non-local interface only. Administration ( TAO_Stub *objref, @@ -796,21 +792,21 @@ namespace ImplementationRepository TAO_Abstract_ServantBase *servant = 0, TAO_ORB_Core *orb_core = 0 ); - + virtual ~Administration (void); - + private: // Private and unimplemented for concrete interfaces. Administration (const Administration &); - + void operator= (const Administration &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:49 - + extern TAO_IMR_Client_Export ::CORBA::TypeCode_ptr const _tc_Administration; // TAO_IDL - Generated from @@ -844,7 +840,7 @@ namespace TAO #if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR__TRAITS_) #define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONITERATOR__TRAITS_ - + template<> struct TAO_IMR_Client_Export Objref_Traits< ::ImplementationRepository::ServerInformationIterator> { @@ -865,7 +861,7 @@ namespace TAO #if !defined (_IMPLEMENTATIONREPOSITORY_ADMINISTRATION__TRAITS_) #define _IMPLEMENTATIONREPOSITORY_ADMINISTRATION__TRAITS_ - + template<> struct TAO_IMR_Client_Export Objref_Traits< ::ImplementationRepository::Administration> { @@ -1090,8 +1086,10 @@ TAO_IMR_Client_Export ::CORBA::Boolean operator>> (TAO_InputCDR &, Implementatio // TAO_IDL - Generated from // be\be_codegen.cpp:1040 +TAO_END_VERSIONED_NAMESPACE_DECL + #if defined (__ACE_INLINE__) -#include "ImplRepoC.inl" +#include "tao/ImR_Client/ImplRepoC.inl" #endif /* defined INLINE */ #include /**/ "ace/post.h" |