diff options
Diffstat (limited to 'TAO/tao/PortableInterceptorC.h')
-rw-r--r-- | TAO/tao/PortableInterceptorC.h | 895 |
1 files changed, 183 insertions, 712 deletions
diff --git a/TAO/tao/PortableInterceptorC.h b/TAO/tao/PortableInterceptorC.h index a86d8198e08..e6b6ed8450f 100644 --- a/TAO/tao/PortableInterceptorC.h +++ b/TAO/tao/PortableInterceptorC.h @@ -53,13 +53,13 @@ #include "tao/CurrentC.h" #include "tao/DynamicC.h" #include "tao/Messaging_SyncScopeC.h" -#include "tao/IOP_CodecC.h" -#include "tao/IOP_IORC.h" -#include "tao/PolicyC.h" #include "tao/ORBInitializerC.h" +#include "tao/ORBInitInfoC.h" #include "tao/InvalidSlotC.h" #include "tao/ClientRequestInfoC.h" #include "tao/ServerRequestInfoC.h" +#include "tao/PolicyFactoryC.h" +#include "tao/ORBInitInfoC.h" #include "PI_ForwardC.h" #include "tao/Messaging_SyncScopeC.h" @@ -96,47 +96,47 @@ namespace Dynamic namespace PortableInterceptor { - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::AdapterState HOLDING = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::AdapterState ACTIVE = 1; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::AdapterState DISCARDING = 2; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::AdapterState INACTIVE = 3; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::AdapterState NON_EXISTENT = 4; - + // TAO_IDL - Generated from // .\be\be_interface.cpp:598 #if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR__VAR_OUT_CH_) #define _PORTABLEINTERCEPTOR_INTERCEPTOR__VAR_OUT_CH_ - + class Interceptor; typedef Interceptor *Interceptor_ptr; - + typedef TAO_Objref_Var_T< Interceptor > Interceptor_var; - + typedef TAO_Objref_Out_T< Interceptor @@ -144,117 +144,117 @@ namespace PortableInterceptor Interceptor_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR_CH_) #define _PORTABLEINTERCEPTOR_INTERCEPTOR_CH_ - + class TAO_Export Interceptor : public virtual CORBA::Object { public: typedef Interceptor_ptr _ptr_type; typedef Interceptor_var _var_type; - + // The static operations. static Interceptor_ptr _duplicate (Interceptor_ptr obj); - + static void _tao_release (Interceptor_ptr obj); - + static Interceptor_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Interceptor_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Interceptor_ptr _nil (void) { return static_cast<Interceptor_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual char * name ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void destroy ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\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); - + protected: // Abstract or local interface only. Interceptor (void); - + virtual ~Interceptor (void); - + private: // Private and unimplemented for concrete interfaces. Interceptor (const Interceptor &); - + void operator= (const Interceptor &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_Export ::CORBA::TypeCode_ptr const _tc_Interceptor; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_PORTABLEINTERCEPTOR_FORWARDREQUEST_CH_) #define _PORTABLEINTERCEPTOR_FORWARDREQUEST_CH_ - + class TAO_Export ForwardRequest : public CORBA::UserException { public: - + CORBA::Object_var forward; ForwardRequest (void); ForwardRequest (const ForwardRequest &); ~ForwardRequest (void); ForwardRequest &operator= (const ForwardRequest &); - + static void _tao_any_destructor (void *); - + static ForwardRequest *_downcast (CORBA::Exception *); static const ForwardRequest *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -263,77 +263,77 @@ namespace PortableInterceptor TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ctor.cpp:66 - + ForwardRequest ( const CORBA::Object_ptr _tao_forward ); - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:127 - + virtual CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_Export ::CORBA::TypeCode_ptr const _tc_ForwardRequest; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::ReplyStatus SUCCESSFUL = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::ReplyStatus SYSTEM_EXCEPTION = 1; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::ReplyStatus USER_EXCEPTION = 2; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::ReplyStatus LOCATION_FORWARD = 3; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::ReplyStatus TRANSPORT_RETRY = 4; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_constant/constant_ch.cpp:52 - + const PortableInterceptor::ReplyStatus UNKNOWN = 5; - + // TAO_IDL - Generated from // .\be\be_interface.cpp:598 #if !defined (_PORTABLEINTERCEPTOR_CURRENT__VAR_OUT_CH_) #define _PORTABLEINTERCEPTOR_CURRENT__VAR_OUT_CH_ - + class Current; typedef Current *Current_ptr; - + typedef TAO_Objref_Var_T< Current > Current_var; - + typedef TAO_Objref_Out_T< Current @@ -341,45 +341,45 @@ namespace PortableInterceptor Current_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_PORTABLEINTERCEPTOR_CURRENT_CH_) #define _PORTABLEINTERCEPTOR_CURRENT_CH_ - + class TAO_Export Current : public virtual ::CORBA::Current { public: typedef Current_ptr _ptr_type; typedef Current_var _var_type; - + // The static operations. static Current_ptr _duplicate (Current_ptr obj); - + static void _tao_release (Current_ptr obj); - + static Current_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Current_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Current_ptr _nil (void) { return static_cast<Current_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Any * get_slot ( ::PortableInterceptor::SlotId id ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -388,10 +388,10 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::InvalidSlot )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void set_slot ( ::PortableInterceptor::SlotId id, const ::CORBA::Any & data @@ -401,53 +401,53 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::InvalidSlot )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\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); - + protected: // Abstract or local interface only. Current (void); - + virtual ~Current (void); - + private: // Private and unimplemented for concrete interfaces. Current (const Current &); - + void operator= (const Current &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_Export ::CORBA::TypeCode_ptr const _tc_Current; - + // TAO_IDL - Generated from // .\be\be_interface.cpp:598 #if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR__VAR_OUT_CH_) #define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR__VAR_OUT_CH_ - + class ClientRequestInterceptor; typedef ClientRequestInterceptor *ClientRequestInterceptor_ptr; - + typedef TAO_Objref_Var_T< ClientRequestInterceptor > ClientRequestInterceptor_var; - + typedef TAO_Objref_Out_T< ClientRequestInterceptor @@ -455,45 +455,45 @@ namespace PortableInterceptor ClientRequestInterceptor_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR_CH_) #define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR_CH_ - + class TAO_Export ClientRequestInterceptor : public virtual ::PortableInterceptor::Interceptor { public: typedef ClientRequestInterceptor_ptr _ptr_type; typedef ClientRequestInterceptor_var _var_type; - + // The static operations. static ClientRequestInterceptor_ptr _duplicate (ClientRequestInterceptor_ptr obj); - + static void _tao_release (ClientRequestInterceptor_ptr obj); - + static ClientRequestInterceptor_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ClientRequestInterceptor_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ClientRequestInterceptor_ptr _nil (void) { return static_cast<ClientRequestInterceptor_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void send_request ( ::PortableInterceptor::ClientRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -502,10 +502,10 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::ForwardRequest )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void send_poll ( ::PortableInterceptor::ClientRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -513,10 +513,10 @@ namespace PortableInterceptor ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void receive_reply ( ::PortableInterceptor::ClientRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -524,10 +524,10 @@ namespace PortableInterceptor ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void receive_exception ( ::PortableInterceptor::ClientRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -536,10 +536,10 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::ForwardRequest )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void receive_other ( ::PortableInterceptor::ClientRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -548,53 +548,53 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::ForwardRequest )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\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); - + protected: // Abstract or local interface only. ClientRequestInterceptor (void); - + virtual ~ClientRequestInterceptor (void); - + private: // Private and unimplemented for concrete interfaces. ClientRequestInterceptor (const ClientRequestInterceptor &); - + void operator= (const ClientRequestInterceptor &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_Export ::CORBA::TypeCode_ptr const _tc_ClientRequestInterceptor; - + // TAO_IDL - Generated from // .\be\be_interface.cpp:598 #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__VAR_OUT_CH_) #define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__VAR_OUT_CH_ - + class ServerRequestInterceptor; typedef ServerRequestInterceptor *ServerRequestInterceptor_ptr; - + typedef TAO_Objref_Var_T< ServerRequestInterceptor > ServerRequestInterceptor_var; - + typedef TAO_Objref_Out_T< ServerRequestInterceptor @@ -602,45 +602,45 @@ namespace PortableInterceptor ServerRequestInterceptor_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR_CH_) #define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR_CH_ - + class TAO_Export ServerRequestInterceptor : public virtual ::PortableInterceptor::Interceptor { public: typedef ServerRequestInterceptor_ptr _ptr_type; typedef ServerRequestInterceptor_var _var_type; - + // The static operations. static ServerRequestInterceptor_ptr _duplicate (ServerRequestInterceptor_ptr obj); - + static void _tao_release (ServerRequestInterceptor_ptr obj); - + static ServerRequestInterceptor_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerRequestInterceptor_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static ServerRequestInterceptor_ptr _nil (void) { return static_cast<ServerRequestInterceptor_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + #if TAO_HAS_EXTENDED_FT_INTERCEPTORS == 1 virtual void tao_ft_interception_point ( @@ -654,10 +654,10 @@ namespace PortableInterceptor )) {} #endif /*TAO_HAS_EXTENDED_FT_INTERCEPTORS*/ - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void receive_request_service_contexts ( ::PortableInterceptor::ServerRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -666,10 +666,10 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::ForwardRequest )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void receive_request ( ::PortableInterceptor::ServerRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -678,10 +678,10 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::ForwardRequest )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void send_reply ( ::PortableInterceptor::ServerRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -689,10 +689,10 @@ namespace PortableInterceptor ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void send_exception ( ::PortableInterceptor::ServerRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -701,10 +701,10 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::ForwardRequest )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - + virtual void send_other ( ::PortableInterceptor::ServerRequestInfo_ptr ri ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -713,522 +713,86 @@ namespace PortableInterceptor CORBA::SystemException, ::PortableInterceptor::ForwardRequest )) = 0; - + // TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\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); - + protected: // Abstract or local interface only. ServerRequestInterceptor (void); - + virtual ~ServerRequestInterceptor (void); - + private: // Private and unimplemented for concrete interfaces. ServerRequestInterceptor (const ServerRequestInterceptor &); - + void operator= (const ServerRequestInterceptor &); }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_Export ::CORBA::TypeCode_ptr const _tc_ServerRequestInterceptor; - - // TAO_IDL - Generated from - // .\be\be_interface.cpp:598 - -#if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY__VAR_OUT_CH_) -#define _PORTABLEINTERCEPTOR_POLICYFACTORY__VAR_OUT_CH_ - - class PolicyFactory; - typedef PolicyFactory *PolicyFactory_ptr; - - typedef - TAO_Objref_Var_T< - PolicyFactory - > - PolicyFactory_var; - - typedef - TAO_Objref_Out_T< - PolicyFactory - > - PolicyFactory_out; -#endif /* end #if !defined */ - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:54 - -#if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY_CH_) -#define _PORTABLEINTERCEPTOR_POLICYFACTORY_CH_ - - class TAO_Export PolicyFactory - : public virtual CORBA::Object - { - public: - typedef PolicyFactory_ptr _ptr_type; - typedef PolicyFactory_var _var_type; - - // The static operations. - static PolicyFactory_ptr _duplicate (PolicyFactory_ptr obj); - - static void _tao_release (PolicyFactory_ptr obj); - - static PolicyFactory_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static PolicyFactory_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ); - - static PolicyFactory_ptr _nil (void) - { - return static_cast<PolicyFactory_ptr> (0); - } - - static void _tao_any_destructor (void *); - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Policy_ptr create_policy ( - ::CORBA::PolicyType type, - const ::CORBA::Any & value - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::CORBA::PolicyError - )) = 0; - - // Hand-crafted addition. - virtual ::CORBA::Policy_ptr _create_policy ( - CORBA::PolicyType type - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - , CORBA::PolicyError - )); + // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\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); - - protected: - // Abstract or local interface only. - PolicyFactory (void); - - virtual ~PolicyFactory (void); - - private: - // Private and unimplemented for concrete interfaces. - PolicyFactory (const PolicyFactory &); - - void operator= (const PolicyFactory &); - }; + extern TAO_Export ::CORBA::TypeCode_ptr const _tc_ServerRequestInterceptor; -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_Export ::CORBA::TypeCode_ptr const _tc_PolicyFactory; - - // TAO_IDL - Generated from - // .\be\be_interface.cpp:598 +// TAO_IDL - Generated from +// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:66 -#if !defined (_PORTABLEINTERCEPTOR_IORINTERCEPTOR__VAR_OUT_CH_) -#define _PORTABLEINTERCEPTOR_IORINTERCEPTOR__VAR_OUT_CH_ - - class IORInterceptor; - typedef IORInterceptor *IORInterceptor_ptr; - - typedef - TAO_Objref_Var_T< - IORInterceptor - > - IORInterceptor_var; - - typedef - TAO_Objref_Out_T< - IORInterceptor - > - IORInterceptor_out; +} // module PortableInterceptor -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // .\be\be_interface.cpp:598 +// TAO_IDL - Generated from +// .\be\be_visitor_traits.cpp:61 -#if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO__VAR_OUT_CH_) -#define _PORTABLEINTERCEPTOR_ORBINITINFO__VAR_OUT_CH_ - - class ORBInitInfo; - typedef ORBInitInfo *ORBInitInfo_ptr; - - typedef - TAO_Objref_Var_T< - ORBInitInfo - > - ORBInitInfo_var; - - typedef - TAO_Objref_Out_T< - ORBInitInfo - > - ORBInitInfo_out; +// Traits specializations. +namespace TAO +{ -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:54 +#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR__TRAITS_CH_) +#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR__TRAITS_CH_ -#if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO_CH_) -#define _PORTABLEINTERCEPTOR_ORBINITINFO_CH_ - - class TAO_Export ORBInitInfo - : public virtual CORBA::Object + template<> + struct TAO_Export Objref_Traits< ::PortableInterceptor::ClientRequestInterceptor> { - public: - typedef ORBInitInfo_ptr _ptr_type; - typedef ORBInitInfo_var _var_type; - - // The static operations. - static ORBInitInfo_ptr _duplicate (ORBInitInfo_ptr obj); - - static void _tao_release (ORBInitInfo_ptr obj); - - static ORBInitInfo_ptr _narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS + static ::PortableInterceptor::ClientRequestInterceptor_ptr duplicate ( + ::PortableInterceptor::ClientRequestInterceptor_ptr ); - - static ORBInitInfo_ptr _unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS + static void release ( + ::PortableInterceptor::ClientRequestInterceptor_ptr ); - - static ORBInitInfo_ptr _nil (void) - { - return static_cast<ORBInitInfo_ptr> (0); - } - - static void _tao_any_destructor (void *); - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typedef/typedef_ch.cpp:413 - - typedef char * ObjectId; - typedef CORBA::String_var ObjectId_var; - typedef CORBA::String_out ObjectId_out; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - static ::CORBA::TypeCode_ptr const _tc_ObjectId; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:51 - -#if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO_DUPLICATENAME_CH_) -#define _PORTABLEINTERCEPTOR_ORBINITINFO_DUPLICATENAME_CH_ - - class TAO_Export DuplicateName : public CORBA::UserException - { - public: - - TAO_String_Manager name; - DuplicateName (void); - DuplicateName (const DuplicateName &); - ~DuplicateName (void); - - DuplicateName &operator= (const DuplicateName &); - - static void _tao_any_destructor (void *); - - static DuplicateName *_downcast (CORBA::Exception *); - static const DuplicateName *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ctor.cpp:66 - - DuplicateName ( - const char * _tao_name - ); - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:127 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - static ::CORBA::TypeCode_ptr const _tc_DuplicateName; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:51 - -#if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO_INVALIDNAME_CH_) -#define _PORTABLEINTERCEPTOR_ORBINITINFO_INVALIDNAME_CH_ - - class TAO_Export InvalidName : public CORBA::UserException - { - public: - - InvalidName (void); - InvalidName (const InvalidName &); - ~InvalidName (void); - - InvalidName &operator= (const InvalidName &); - - static void _tao_any_destructor (void *); - - static InvalidName *_downcast (CORBA::Exception *); - static const InvalidName *_downcast (CORBA::Exception const *); - - static CORBA::Exception *_alloc (void); - - virtual CORBA::Exception *_tao_duplicate (void) const; - - virtual void _raise (void) const; - - virtual void _tao_encode ( - TAO_OutputCDR & - ACE_ENV_ARG_DECL - ) const; - - virtual void _tao_decode ( - TAO_InputCDR & - ACE_ENV_ARG_DECL - ); - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/exception_ch.cpp:127 - - virtual CORBA::TypeCode_ptr _tao_type (void) const; - }; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - static ::CORBA::TypeCode_ptr const _tc_InvalidName; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::StringSeq * arguments ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual char * orb_id ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::IOP::CodecFactory_ptr codec_factory ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual void register_initial_reference ( - const char * id, - ::CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableInterceptor::ORBInitInfo::InvalidName - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual CORBA::Object_ptr resolve_initial_references ( - const char * id - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableInterceptor::ORBInitInfo::InvalidName - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual void add_client_request_interceptor ( - ::PortableInterceptor::ClientRequestInterceptor_ptr interceptor - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableInterceptor::ORBInitInfo::DuplicateName - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual void add_server_request_interceptor ( - ::PortableInterceptor::ServerRequestInterceptor_ptr interceptor - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableInterceptor::ORBInitInfo::DuplicateName - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual void add_ior_interceptor ( - ::PortableInterceptor::IORInterceptor_ptr interceptor - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException, - ::PortableInterceptor::ORBInitInfo::DuplicateName - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual PortableInterceptor::SlotId allocate_slot_id ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_operation/operation_ch.cpp:46 - - virtual void register_policy_factory ( - ::CORBA::PolicyType type, - ::PortableInterceptor::PolicyFactory_ptr policy_factory - ACE_ENV_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) = 0; - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/interface_ch.cpp:210 - - virtual CORBA::Boolean _is_a ( - const char *type_id - ACE_ENV_ARG_DECL_WITH_DEFAULTS + static ::PortableInterceptor::ClientRequestInterceptor_ptr nil (void); + static CORBA::Boolean marshal ( + ::PortableInterceptor::ClientRequestInterceptor_ptr p, + TAO_OutputCDR & cdr ); - - virtual const char* _interface_repository_id (void) const; - virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - - protected: - // Abstract or local interface only. - ORBInitInfo (void); - - virtual ~ORBInitInfo (void); - - private: - // Private and unimplemented for concrete interfaces. - ORBInitInfo (const ORBInitInfo &); - - void operator= (const ORBInitInfo &); }; #endif /* end #if !defined */ - - // TAO_IDL - Generated from - // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_typecode/typecode_decl.cpp:44 - - extern TAO_Export ::CORBA::TypeCode_ptr const _tc_ORBInitInfo; -// TAO_IDL - Generated from -// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_module/module_ch.cpp:66 - -} // module PortableInterceptor - -// TAO_IDL - Generated from -// .\be\be_visitor_traits.cpp:61 - -// Traits specializations. -namespace TAO -{ +#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__TRAITS_CH_) +#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__TRAITS_CH_ -#if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO__TRAITS_CH_) -#define _PORTABLEINTERCEPTOR_ORBINITINFO__TRAITS_CH_ - template<> - struct TAO_Export Objref_Traits< ::PortableInterceptor::ORBInitInfo> + struct TAO_Export Objref_Traits< ::PortableInterceptor::ServerRequestInterceptor> { - static ::PortableInterceptor::ORBInitInfo_ptr duplicate ( - ::PortableInterceptor::ORBInitInfo_ptr + static ::PortableInterceptor::ServerRequestInterceptor_ptr duplicate ( + ::PortableInterceptor::ServerRequestInterceptor_ptr ); static void release ( - ::PortableInterceptor::ORBInitInfo_ptr + ::PortableInterceptor::ServerRequestInterceptor_ptr ); - static ::PortableInterceptor::ORBInitInfo_ptr nil (void); + static ::PortableInterceptor::ServerRequestInterceptor_ptr nil (void); static CORBA::Boolean marshal ( - ::PortableInterceptor::ORBInitInfo_ptr p, + ::PortableInterceptor::ServerRequestInterceptor_ptr p, TAO_OutputCDR & cdr ); }; @@ -1237,7 +801,7 @@ namespace TAO #if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR__TRAITS_CH_) #define _PORTABLEINTERCEPTOR_INTERCEPTOR__TRAITS_CH_ - + template<> struct TAO_Export Objref_Traits< ::PortableInterceptor::Interceptor> { @@ -1258,7 +822,7 @@ namespace TAO #if !defined (_PORTABLEINTERCEPTOR_CURRENT__TRAITS_CH_) #define _PORTABLEINTERCEPTOR_CURRENT__TRAITS_CH_ - + template<> struct TAO_Export Objref_Traits< ::PortableInterceptor::Current> { @@ -1276,69 +840,6 @@ namespace TAO }; #endif /* end #if !defined */ - -#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR__TRAITS_CH_) -#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR__TRAITS_CH_ - - template<> - struct TAO_Export Objref_Traits< ::PortableInterceptor::ClientRequestInterceptor> - { - static ::PortableInterceptor::ClientRequestInterceptor_ptr duplicate ( - ::PortableInterceptor::ClientRequestInterceptor_ptr - ); - static void release ( - ::PortableInterceptor::ClientRequestInterceptor_ptr - ); - static ::PortableInterceptor::ClientRequestInterceptor_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableInterceptor::ClientRequestInterceptor_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ - -#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__TRAITS_CH_) -#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR__TRAITS_CH_ - - template<> - struct TAO_Export Objref_Traits< ::PortableInterceptor::ServerRequestInterceptor> - { - static ::PortableInterceptor::ServerRequestInterceptor_ptr duplicate ( - ::PortableInterceptor::ServerRequestInterceptor_ptr - ); - static void release ( - ::PortableInterceptor::ServerRequestInterceptor_ptr - ); - static ::PortableInterceptor::ServerRequestInterceptor_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableInterceptor::ServerRequestInterceptor_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ - -#if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY__TRAITS_CH_) -#define _PORTABLEINTERCEPTOR_POLICYFACTORY__TRAITS_CH_ - - template<> - struct TAO_Export Objref_Traits< ::PortableInterceptor::PolicyFactory> - { - static ::PortableInterceptor::PolicyFactory_ptr duplicate ( - ::PortableInterceptor::PolicyFactory_ptr - ); - static void release ( - ::PortableInterceptor::PolicyFactory_ptr - ); - static ::PortableInterceptor::PolicyFactory_ptr nil (void); - static CORBA::Boolean marshal ( - ::PortableInterceptor::PolicyFactory_ptr p, - TAO_OutputCDR & cdr - ); - }; - -#endif /* end #if !defined */ } // TAO_IDL - Generated from @@ -1378,36 +879,6 @@ TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ServerRequestInt TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ServerRequestInterceptor_ptr &); // TAO_IDL - Generated from -// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::PolicyFactory_ptr); // copying -TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::PolicyFactory_ptr *); // non-copying -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::PolicyFactory_ptr &); - -// TAO_IDL - Generated from -// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_interface/any_op_ch.cpp:52 - -TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo_ptr); // copying -TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo_ptr *); // non-copying -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ORBInitInfo_ptr &); - -// TAO_IDL - Generated from -// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_Export void operator<<= (CORBA::Any &, const PortableInterceptor::ORBInitInfo::DuplicateName &); // copying version -TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo::DuplicateName*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ORBInitInfo::DuplicateName *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableInterceptor::ORBInitInfo::DuplicateName *&); - -// TAO_IDL - Generated from -// c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/any_op_ch.cpp:52 - -TAO_Export void operator<<= (CORBA::Any &, const PortableInterceptor::ORBInitInfo::InvalidName &); // copying version -TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo::InvalidName*); // noncopying version -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ORBInitInfo::InvalidName *&); // deprecated -TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableInterceptor::ORBInitInfo::InvalidName *&); - -// TAO_IDL - Generated from // c:\ace\latest\ace_wrappers\tao\tao_idl\be\be_visitor_exception/cdr_op_ch.cpp:52 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableInterceptor::ForwardRequest &); |