diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-08-19 17:58:15 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-08-19 17:58:15 +0000 |
commit | 29d589b24eec2fef0f7f50b568289599a44bbf1f (patch) | |
tree | 3a227418a9019cfcd515368f60d9e99a30ed282a | |
parent | 2f45f7b3ec902f2b46accb306174e7ed862c0288 (diff) | |
download | ATCD-29d589b24eec2fef0f7f50b568289599a44bbf1f.tar.gz |
ChangeLogTag: Thu Aug 19 17:58:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tao/IORInterceptor/IORInterceptor.pidl | 6 | ||||
-rw-r--r-- | TAO/tao/IORInterceptor/IORInterceptorC.h | 25 | ||||
-rw-r--r-- | TAO/tao/ObjRefTemplate/ObjectReferenceTemplate.pidl | 10 | ||||
-rw-r--r-- | TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp | 161 | ||||
-rw-r--r-- | TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h | 115 | ||||
-rw-r--r-- | TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.inl (renamed from TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.i) | 4 | ||||
-rw-r--r-- | TAO/tao/ObjRefTemplate/ObjectReferenceTemplate_Adapter_Impl.cpp | 6 | ||||
-rw-r--r-- | TAO/tao/PI_Forward.pidl | 2 | ||||
-rw-r--r-- | TAO/tao/PI_ForwardC.cpp | 106 | ||||
-rw-r--r-- | TAO/tao/PI_ForwardC.h | 88 | ||||
-rw-r--r-- | TAO/tao/PI_ForwardC.inl (renamed from TAO/tao/PI_ForwardC.i) | 0 | ||||
-rw-r--r-- | TAO/tao/PortableServer/ORTRework.txt | 34 | ||||
-rw-r--r-- | TAO/tao/PortableServer/POA.h | 2 | ||||
-rw-r--r-- | TAO/tao/PortableServer/POAManager.h | 1 | ||||
-rw-r--r-- | TAO/tao/diffs/ObjectReferenceTemplate.diff | 30 |
15 files changed, 301 insertions, 289 deletions
diff --git a/TAO/tao/IORInterceptor/IORInterceptor.pidl b/TAO/tao/IORInterceptor/IORInterceptor.pidl index 8fe9be6c355..6c5361b8669 100644 --- a/TAO/tao/IORInterceptor/IORInterceptor.pidl +++ b/TAO/tao/IORInterceptor/IORInterceptor.pidl @@ -40,6 +40,12 @@ module PortableInterceptor { typeprefix PortableInterceptor "omg.org"; + const AdapterState HOLDING = 0; + const AdapterState ACTIVE = 1; + const AdapterState DISCARDING = 2; + const AdapterState INACTIVE = 3; + const AdapterState NON_EXISTENT = 4; + local interface IORInfo { CORBA::Policy get_effective_policy (in CORBA::PolicyType type); diff --git a/TAO/tao/IORInterceptor/IORInterceptorC.h b/TAO/tao/IORInterceptor/IORInterceptorC.h index 0d897de4676..12f2b325d6a 100644 --- a/TAO/tao/IORInterceptor/IORInterceptorC.h +++ b/TAO/tao/IORInterceptor/IORInterceptorC.h @@ -90,6 +90,31 @@ namespace PortableInterceptor { // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 + + const PortableInterceptor::AdapterState HOLDING = 0; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 + + const PortableInterceptor::AdapterState ACTIVE = 1; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 + + const PortableInterceptor::AdapterState DISCARDING = 2; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 + + const PortableInterceptor::AdapterState INACTIVE = 3; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52 + + const PortableInterceptor::AdapterState NON_EXISTENT = 4; + + // TAO_IDL - Generated from // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:613 #if !defined (_PORTABLEINTERCEPTOR_IORINFO__VAR_OUT_CH_) diff --git a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate.pidl b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate.pidl index cae4150604a..34e55bb51a4 100644 --- a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate.pidl +++ b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate.pidl @@ -33,7 +33,6 @@ #ifndef _OBJECT_REFERENCE_TEMPLATE_IDL_ #define _OBJECT_REFERENCE_TEMPLATE_IDL_ -#include <orb.idl> #include "tao/PI_Forward.pidl" module PortableInterceptor @@ -55,15 +54,6 @@ module PortableInterceptor }; typedef sequence<ObjectReferenceTemplate> ObjectReferenceTemplateSeq; - - typedef long AdapterManagerId; - - typedef short AdapterState; - const AdapterState HOLDING = 0; - const AdapterState ACTIVE = 1; - const AdapterState DISCARDING = 2; - const AdapterState INACTIVE = 3; - const AdapterState NON_EXISTENT = 4; }; #endif /* _OBJECT_REFERENCE_TEMPLATE_IDL_ */ diff --git a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp index 6dbae78e6e8..5c011c5ecc2 100644 --- a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp +++ b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp @@ -26,7 +26,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:323 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:303 #include "ObjectReferenceTemplateC.h" @@ -34,6 +34,7 @@ #include "tao/Exception_Data.h" #include "tao/Invocation_Adapter.h" #include "tao/Valuetype/ValueFactory.h" +#include "tao/ORB_Core.h" #include "tao/Typecode.h" #include "tao/Any_Impl_T.h" #include "tao/Any_Dual_Impl_T.h" @@ -46,18 +47,18 @@ #endif /* __BORLANDC__ */ #if !defined (__ACE_INLINE__) -#include "ObjectReferenceTemplateC.i" +#include "ObjectReferenceTemplateC.inl" #endif /* !defined INLINE */ // TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:64 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:64 // Arg traits specializations. namespace TAO { // TAO_IDL - Generated from - // be\be_visitor_arg_traits.cpp:379 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:379 #if !defined (_CORBA_STRINGSEQ__ARG_TRAITS_CS_) #define _CORBA_STRINGSEQ__ARG_TRAITS_CS_ @@ -78,7 +79,7 @@ namespace TAO // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:290 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 static const CORBA::Long _oc_PortableInterceptor_ObjectReferenceFactory[] = { @@ -127,7 +128,7 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// be\be_visitor_valuetype/valuetype_cs.cpp:66 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_cs.cpp:66 ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void @@ -177,8 +178,8 @@ void PortableInterceptor::ObjectReferenceFactory::_tao_any_destructor (void *_tao_void_pointer) { ObjectReferenceFactory *_tao_tmp_pointer = - ACE_static_cast ( - ObjectReferenceFactory *, + static_cast< + ObjectReferenceFactory *> ( _tao_void_pointer ); CORBA::remove_ref (_tao_tmp_pointer); @@ -228,7 +229,7 @@ CORBA::Boolean PortableInterceptor::ObjectReferenceFactory::_tao_unmarshal ( } // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:290 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 static const CORBA::Long _oc_PortableInterceptor_ObjectReferenceTemplate[] = { @@ -277,7 +278,7 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// be\be_visitor_valuetype/valuetype_cs.cpp:66 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_cs.cpp:66 ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void @@ -327,8 +328,8 @@ void PortableInterceptor::ObjectReferenceTemplate::_tao_any_destructor (void *_tao_void_pointer) { ObjectReferenceTemplate *_tao_tmp_pointer = - ACE_static_cast ( - ObjectReferenceTemplate *, + static_cast< + ObjectReferenceTemplate *> ( _tao_void_pointer ); CORBA::remove_ref (_tao_tmp_pointer); @@ -378,7 +379,7 @@ CORBA::Boolean PortableInterceptor::ObjectReferenceTemplate::_tao_unmarshal ( } // TAO_IDL - Generated from -// be\be_visitor_sequence/sequence_cs.cpp:65 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_PORTABLEINTERCEPTOR_OBJECTREFERENCETEMPLATESEQ_CS_) #define _PORTABLEINTERCEPTOR_OBJECTREFERENCETEMPLATESEQ_CS_ @@ -427,14 +428,14 @@ void PortableInterceptor::ObjectReferenceTemplateSeq::_tao_any_destructor ( ) { ObjectReferenceTemplateSeq * _tao_tmp_pointer = - ACE_static_cast (ObjectReferenceTemplateSeq *, _tao_void_pointer); + static_cast<ObjectReferenceTemplateSeq *> (_tao_void_pointer); delete _tao_tmp_pointer; } #endif /* end #if !defined */ // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:290 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 static const CORBA::Long _oc_PortableInterceptor_ObjectReferenceTemplateSeq[] = { @@ -517,97 +518,7 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:290 - -static const CORBA::Long _oc_PortableInterceptor_AdapterManagerId[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 53, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x41646170), - ACE_NTOHL (0x7465724d), - ACE_NTOHL (0x616e6167), - ACE_NTOHL (0x65724964), - ACE_NTOHL (0x3a312e30), - ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableInterceptor/AdapterManagerId:1.0 - 17, - ACE_NTOHL (0x41646170), - ACE_NTOHL (0x7465724d), - ACE_NTOHL (0x616e6167), - ACE_NTOHL (0x65724964), - ACE_NTOHL (0x0), // name = AdapterManagerId - CORBA::tk_long, - -}; - -static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_AdapterManagerId ( - CORBA::tk_alias, - sizeof (_oc_PortableInterceptor_AdapterManagerId), - (char *) &_oc_PortableInterceptor_AdapterManagerId, - 0, - sizeof (PortableInterceptor::AdapterManagerId) - ); - -namespace PortableInterceptor -{ - ::CORBA::TypeCode_ptr _tc_AdapterManagerId = - &_tc_TAO_tc_PortableInterceptor_AdapterManagerId; -} - -// TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:290 - -static const CORBA::Long _oc_PortableInterceptor_AdapterState[] = -{ - TAO_ENCAP_BYTE_ORDER, // byte order - 49, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x41646170), - ACE_NTOHL (0x74657253), - ACE_NTOHL (0x74617465), - ACE_NTOHL (0x3a312e30), - ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableInterceptor/AdapterState:1.0 - 13, - ACE_NTOHL (0x41646170), - ACE_NTOHL (0x74657253), - ACE_NTOHL (0x74617465), - ACE_NTOHL (0x0), // name = AdapterState - CORBA::tk_short, - -}; - -static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_AdapterState ( - CORBA::tk_alias, - sizeof (_oc_PortableInterceptor_AdapterState), - (char *) &_oc_PortableInterceptor_AdapterState, - 0, - sizeof (PortableInterceptor::AdapterState) - ); - -namespace PortableInterceptor -{ - ::CORBA::TypeCode_ptr _tc_AdapterState = - &_tc_TAO_tc_PortableInterceptor_AdapterState; -} - -// TAO_IDL - Generated from -// be\be_visitor_valuetype/any_op_cs.cpp:57 - - +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/any_op_cs.cpp:57 template<> CORBA::Boolean @@ -663,9 +574,7 @@ operator>>= ( // TAO_IDL - Generated from -// be\be_visitor_valuetype/any_op_cs.cpp:57 - - +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/any_op_cs.cpp:57 template<> CORBA::Boolean @@ -721,7 +630,7 @@ operator>>= ( // TAO_IDL - Generated from -// be\be_visitor_sequence/any_op_cs.cpp:54 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 // Copying insertion. void operator<<= ( @@ -757,8 +666,8 @@ CORBA::Boolean operator>>= ( PortableInterceptor::ObjectReferenceTemplateSeq *&_tao_elem ) { - return _tao_any >>= ACE_const_cast ( - const PortableInterceptor::ObjectReferenceTemplateSeq *&, + return _tao_any >>= const_cast< + const PortableInterceptor::ObjectReferenceTemplateSeq *&> ( _tao_elem ); } @@ -779,7 +688,7 @@ CORBA::Boolean operator>>= ( } // TAO_IDL - Generated from -// be\be_valuetype.cpp:490 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_valuetype.cpp:490 void CORBA::add_ref (PortableInterceptor::ObjectReferenceFactory * vt) @@ -800,7 +709,7 @@ CORBA::remove_ref (PortableInterceptor::ObjectReferenceFactory * vt) } // TAO_IDL - Generated from -// be\be_visitor_valuetype/cdr_op_cs.cpp:73 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/cdr_op_cs.cpp:73 CORBA::Boolean operator<< ( @@ -811,8 +720,8 @@ operator<< ( return CORBA::ValueBase::_tao_marshal ( strm, - ACE_const_cast ( - PortableInterceptor::ObjectReferenceFactory *, + const_cast< + PortableInterceptor::ObjectReferenceFactory *> ( _tao_valuetype ), (ptrdiff_t) &PortableInterceptor::ObjectReferenceFactory::_downcast @@ -831,7 +740,7 @@ operator>> ( // TAO_IDL - Generated from -// be\be_valuetype.cpp:490 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_valuetype.cpp:490 void CORBA::add_ref (PortableInterceptor::ObjectReferenceTemplate * vt) @@ -852,7 +761,7 @@ CORBA::remove_ref (PortableInterceptor::ObjectReferenceTemplate * vt) } // TAO_IDL - Generated from -// be\be_visitor_valuetype/cdr_op_cs.cpp:73 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/cdr_op_cs.cpp:73 CORBA::Boolean operator<< ( @@ -863,8 +772,8 @@ operator<< ( return CORBA::ValueBase::_tao_marshal ( strm, - ACE_const_cast ( - PortableInterceptor::ObjectReferenceTemplate *, + const_cast< + PortableInterceptor::ObjectReferenceTemplate *> ( _tao_valuetype ), (ptrdiff_t) &PortableInterceptor::ObjectReferenceTemplate::_downcast @@ -883,7 +792,7 @@ operator>> ( // TAO_IDL - Generated from -// be\be_visitor_sequence/cdr_op_cs.cpp:96 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:96 #if !defined _TAO_CDR_OP_PortableInterceptor_ObjectReferenceTemplateSeq_CPP_ #define _TAO_CDR_OP_PortableInterceptor_ObjectReferenceTemplateSeq_CPP_ @@ -893,7 +802,7 @@ CORBA::Boolean operator<< ( const PortableInterceptor::ObjectReferenceTemplateSeq &_tao_sequence ) { - CORBA::ULong _tao_seq_len = _tao_sequence.length (); + const CORBA::ULong _tao_seq_len = _tao_sequence.length (); if (strm << _tao_seq_len) { @@ -955,7 +864,7 @@ CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_PortableInterceptor_ObjectReferenceTemplateSeq_CPP_ */ // TAO_IDL - Generated from -// be\be_visitor_root/root.cpp:1628 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:1628 #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) @@ -1112,6 +1021,12 @@ CORBA::Boolean operator>> ( > # pragma instantiate \ + TAO::Ret_Var_Size_Argument_T< \ + PortableInterceptor::AdapterName, \ + PortableInterceptor::AdapterName_var \ + > + +# pragma instantiate \ TAO::Value_Traits< \ PortableInterceptor::ObjectReferenceTemplate \ > diff --git a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h index 3e4798bd919..b012e1941d6 100644 --- a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h +++ b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h @@ -26,24 +26,26 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:171 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:153 #ifndef _TAO_IDL_ORIG_OBJECTREFERENCETEMPLATEC_H_ #define _TAO_IDL_ORIG_OBJECTREFERENCETEMPLATEC_H_ #include /**/ "ace/pre.h" -#include "tao/ORB.h" + +#include "ace/config-all.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "ort_export.h" -#include "tao/Environment.h" -#include "tao/Object.h" #include "tao/Valuetype/ValueBase.h" #include "tao/Valuetype/Valuetype_Adapter_Impl.h" +#include "tao/ORB.h" +#include "tao/Environment.h" +#include "tao/Object.h" #include "tao/Valuetype/Sequence_T.h" #include "tao/Sequence_T.h" #include "tao/Valuetype/Value_VarOut_T.h" @@ -76,13 +78,13 @@ #endif /* __BORLANDC__ */ // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:48 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48 namespace PortableInterceptor { // TAO_IDL - Generated from - // be\be_valuetype.cpp:527 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_valuetype.cpp:527 @@ -105,7 +107,7 @@ namespace PortableInterceptor #endif /* end #if !defined */ // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:56 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:56 #if !defined (_PORTABLEINTERCEPTOR_OBJECTREFERENCEFACTORY_CH_) #define _PORTABLEINTERCEPTOR_OBJECTREFERENCEFACTORY_CH_ @@ -131,15 +133,15 @@ namespace PortableInterceptor static void _tao_any_destructor (void *); // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:401 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:402 public: virtual CORBA::Object_ptr make_object ( - const char *, const PortableInterceptor::ObjectId & ACE_ENV_ARG_DECL_WITH_DEFAULTS + const char *, const ::PortableInterceptor::ObjectId & ACE_ENV_ARG_DECL_WITH_DEFAULTS ) = 0; // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:250 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:250 protected: ObjectReferenceFactory (void); @@ -156,12 +158,12 @@ namespace PortableInterceptor #endif /* end #if !defined */ // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ObjectReferenceFactory; // TAO_IDL - Generated from - // be\be_valuetype.cpp:527 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_valuetype.cpp:527 @@ -184,7 +186,7 @@ namespace PortableInterceptor #endif /* end #if !defined */ // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:56 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:56 #if !defined (_PORTABLEINTERCEPTOR_OBJECTREFERENCETEMPLATE_CH_) #define _PORTABLEINTERCEPTOR_OBJECTREFERENCETEMPLATE_CH_ @@ -210,7 +212,7 @@ namespace PortableInterceptor static void _tao_any_destructor (void *); // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:401 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:402 public: virtual char * server_id ( @@ -218,7 +220,7 @@ namespace PortableInterceptor ) = 0; // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:401 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:402 public: virtual char * orb_id ( @@ -226,7 +228,7 @@ namespace PortableInterceptor ) = 0; // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:401 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:402 public: virtual ::PortableInterceptor::AdapterName * adapter_name ( @@ -234,7 +236,7 @@ namespace PortableInterceptor ) = 0; // TAO_IDL - Generated from - // be\be_visitor_valuetype/valuetype_ch.cpp:250 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ch.cpp:250 protected: ObjectReferenceTemplate (void); @@ -251,12 +253,12 @@ namespace PortableInterceptor #endif /* end #if !defined */ // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ObjectReferenceTemplate; // TAO_IDL - Generated from - // be\be_visitor_sequence/sequence_ch.cpp:101 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:101 #if !defined (_PORTABLEINTERCEPTOR_OBJECTREFERENCETEMPLATESEQ_CH_) #define _PORTABLEINTERCEPTOR_OBJECTREFERENCETEMPLATESEQ_CH_ @@ -311,71 +313,24 @@ namespace PortableInterceptor #endif /* end #if !defined */ // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ObjectReferenceTemplateSeq; - - // TAO_IDL - Generated from - // be\be_visitor_typedef/typedef_ch.cpp:342 - - typedef CORBA::Long AdapterManagerId; - typedef CORBA::Long_out AdapterManagerId_out; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AdapterManagerId; - - // TAO_IDL - Generated from - // be\be_visitor_typedef/typedef_ch.cpp:342 - - typedef CORBA::Short AdapterState; - typedef CORBA::Short_out AdapterState_out; - - // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - - TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AdapterState; - - // TAO_IDL - Generated from - // be\be_visitor_constant/constant_ch.cpp:52 - - const PortableInterceptor::AdapterState HOLDING = 0; - - // TAO_IDL - Generated from - // be\be_visitor_constant/constant_ch.cpp:52 - - const PortableInterceptor::AdapterState ACTIVE = 1; - - // TAO_IDL - Generated from - // be\be_visitor_constant/constant_ch.cpp:52 - - const PortableInterceptor::AdapterState DISCARDING = 2; - - // TAO_IDL - Generated from - // be\be_visitor_constant/constant_ch.cpp:52 - - const PortableInterceptor::AdapterState INACTIVE = 3; - - // TAO_IDL - Generated from - // be\be_visitor_constant/constant_ch.cpp:52 - - const PortableInterceptor::AdapterState NON_EXISTENT = 4; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:66 } // module PortableInterceptor // TAO_IDL - Generated from -// be\be_visitor_valuetype/obv_module.cpp:55 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/obv_module.cpp:55 namespace OBV_PortableInterceptor { } // TAO_IDL - Generated from -// be\be_visitor_traits.cpp:59 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_traits.cpp:59 // Traits specializations. namespace TAO @@ -409,21 +364,21 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_visitor_valuetype/any_op_ch.cpp:54 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/any_op_ch.cpp:54 TAO_ORT_Export void operator<<= (CORBA::Any &, PortableInterceptor::ObjectReferenceFactory *); // copying TAO_ORT_Export void operator<<= (CORBA::Any &, PortableInterceptor::ObjectReferenceFactory **); // non-copying TAO_ORT_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ObjectReferenceFactory *&); // TAO_IDL - Generated from -// be\be_visitor_valuetype/any_op_ch.cpp:54 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/any_op_ch.cpp:54 TAO_ORT_Export void operator<<= (CORBA::Any &, PortableInterceptor::ObjectReferenceTemplate *); // copying TAO_ORT_Export void operator<<= (CORBA::Any &, PortableInterceptor::ObjectReferenceTemplate **); // non-copying TAO_ORT_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ObjectReferenceTemplate *&); // TAO_IDL - Generated from -// be\be_visitor_sequence/any_op_ch.cpp:52 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52 TAO_ORT_Export void operator<<= (CORBA::Any &, const PortableInterceptor::ObjectReferenceTemplateSeq &); // copying version TAO_ORT_Export void operator<<= (CORBA::Any &, PortableInterceptor::ObjectReferenceTemplateSeq*); // noncopying version @@ -431,7 +386,7 @@ TAO_ORT_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableIntercept TAO_ORT_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableInterceptor::ObjectReferenceTemplateSeq *&); // TAO_IDL - Generated from -// be\be_valuetype.cpp:434 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_valuetype.cpp:434 namespace CORBA { @@ -440,13 +395,13 @@ namespace CORBA } // TAO_IDL - Generated from -// be\be_visitor_valuetype/cdr_op_ch.cpp:61 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/cdr_op_ch.cpp:61 TAO_ORT_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableInterceptor::ObjectReferenceFactory *); TAO_ORT_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableInterceptor::ObjectReferenceFactory *&); // TAO_IDL - Generated from -// be\be_valuetype.cpp:434 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_valuetype.cpp:434 namespace CORBA { @@ -455,13 +410,13 @@ namespace CORBA } // TAO_IDL - Generated from -// be\be_visitor_valuetype/cdr_op_ch.cpp:61 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/cdr_op_ch.cpp:61 TAO_ORT_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableInterceptor::ObjectReferenceTemplate *); TAO_ORT_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableInterceptor::ObjectReferenceTemplate *&); // TAO_IDL - Generated from -// be\be_visitor_sequence/cdr_op_ch.cpp:71 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:71 #if !defined _TAO_CDR_OP_PortableInterceptor_ObjectReferenceTemplateSeq_H_ #define _TAO_CDR_OP_PortableInterceptor_ObjectReferenceTemplateSeq_H_ @@ -478,10 +433,10 @@ TAO_ORT_Export CORBA::Boolean operator>> ( #endif /* _TAO_CDR_OP_PortableInterceptor_ObjectReferenceTemplateSeq_H_ */ // TAO_IDL - Generated from -// be\be_codegen.cpp:978 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:958 #if defined (__ACE_INLINE__) -#include "ObjectReferenceTemplateC.i" +#include "ObjectReferenceTemplateC.inl" #endif /* defined INLINE */ #if defined(_MSC_VER) && (_MSC_VER >= 1200) diff --git a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.i b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.inl index 1185feac15c..6781d2368a2 100644 --- a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.i +++ b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.inl @@ -27,7 +27,7 @@ // TAO_IDL - Generated from -// be\be_visitor_valuetype/valuetype_ci.cpp:56 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ci.cpp:56 ACE_INLINE PortableInterceptor::ObjectReferenceFactory::ObjectReferenceFactory (void) @@ -44,7 +44,7 @@ PortableInterceptor::ObjectReferenceFactory::_tao_obv_static_repository_id () } // TAO_IDL - Generated from -// be\be_visitor_valuetype/valuetype_ci.cpp:56 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_valuetype/valuetype_ci.cpp:56 ACE_INLINE PortableInterceptor::ObjectReferenceTemplate::ObjectReferenceTemplate (void) diff --git a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate_Adapter_Impl.cpp b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate_Adapter_Impl.cpp index 779690cedd5..703b50e6514 100644 --- a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate_Adapter_Impl.cpp +++ b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplate_Adapter_Impl.cpp @@ -64,7 +64,7 @@ TAO_ObjectReferenceTemplate_Adapter_Impl::make_object ( PortableInterceptor::ObjectReferenceTemplate * TAO_ObjectReferenceTemplate_Adapter_Impl::get_adapter_template (void) { - CORBA::add_ref (ort_template_); + CORBA::add_ref (ort_template_.in()); return ort_template_; } @@ -72,7 +72,7 @@ TAO_ObjectReferenceTemplate_Adapter_Impl::get_adapter_template (void) PortableInterceptor::ObjectReferenceFactory * TAO_ObjectReferenceTemplate_Adapter_Impl::get_obj_ref_factory (void) { - CORBA::add_ref (ort_factory_); + CORBA::add_ref (ort_factory_.in()); return ort_factory_; } @@ -84,7 +84,7 @@ TAO_ObjectReferenceTemplate_Adapter_Impl::set_obj_ref_factory ( { ort_factory_ = current_factory; - CORBA::add_ref (ort_factory_); + CORBA::add_ref (ort_factory_.in()); return 0; } diff --git a/TAO/tao/PI_Forward.pidl b/TAO/tao/PI_Forward.pidl index a1269596552..5256404e9dc 100644 --- a/TAO/tao/PI_Forward.pidl +++ b/TAO/tao/PI_Forward.pidl @@ -43,6 +43,8 @@ module PortableInterceptor typedef string ORBId; typedef CORBA::StringSeq AdapterName; typedef CORBA::OctetSeq ObjectId; + typedef long AdapterManagerId; + typedef short AdapterState; }; #endif /* _PI_FORWARD_IDL_ */ diff --git a/TAO/tao/PI_ForwardC.cpp b/TAO/tao/PI_ForwardC.cpp index d989d5183a4..ab3fc77daa3 100644 --- a/TAO/tao/PI_ForwardC.cpp +++ b/TAO/tao/PI_ForwardC.cpp @@ -26,10 +26,12 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:323 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:303 #include "PI_ForwardC.h" +#include "tao/CDR.h" +#include "tao/ORB_Core.h" #include "tao/Typecode.h" #if defined (__BORLANDC__) @@ -37,11 +39,11 @@ #endif /* __BORLANDC__ */ #if !defined (__ACE_INLINE__) -#include "PI_ForwardC.i" +#include "PI_ForwardC.inl" #endif /* !defined INLINE */ // TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:64 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:64 // Arg traits specializations. namespace TAO @@ -50,7 +52,7 @@ namespace TAO // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:284 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 static const CORBA::Long _oc_PortableInterceptor_ServerId[] = { @@ -91,7 +93,7 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:284 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 static const CORBA::Long _oc_PortableInterceptor_ORBId[] = { @@ -130,7 +132,7 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:284 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 static const CORBA::Long _oc_PortableInterceptor_AdapterName[] = { @@ -193,7 +195,7 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// be\be_visitor_typecode/typecode_defn.cpp:284 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 static const CORBA::Long _oc_PortableInterceptor_ObjectId[] = { @@ -256,7 +258,95 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// be\be_visitor_root/root.cpp:1633 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 + +static const CORBA::Long _oc_PortableInterceptor_AdapterManagerId[] = +{ + TAO_ENCAP_BYTE_ORDER, // byte order + 53, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x41646170), + ACE_NTOHL (0x7465724d), + ACE_NTOHL (0x616e6167), + ACE_NTOHL (0x65724964), + ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableInterceptor/AdapterManagerId:1.0 + 17, + ACE_NTOHL (0x41646170), + ACE_NTOHL (0x7465724d), + ACE_NTOHL (0x616e6167), + ACE_NTOHL (0x65724964), + ACE_NTOHL (0x0), // name = AdapterManagerId + CORBA::tk_long, + +}; + +static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_AdapterManagerId ( + CORBA::tk_alias, + sizeof (_oc_PortableInterceptor_AdapterManagerId), + (char *) &_oc_PortableInterceptor_AdapterManagerId, + 0, + sizeof (PortableInterceptor::AdapterManagerId) + ); + +namespace PortableInterceptor +{ + ::CORBA::TypeCode_ptr _tc_AdapterManagerId = + &_tc_TAO_tc_PortableInterceptor_AdapterManagerId; +} + +// TAO_IDL - Generated from +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:290 + +static const CORBA::Long _oc_PortableInterceptor_AdapterState[] = +{ + TAO_ENCAP_BYTE_ORDER, // byte order + 49, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x41646170), + ACE_NTOHL (0x74657253), + ACE_NTOHL (0x74617465), + ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableInterceptor/AdapterState:1.0 + 13, + ACE_NTOHL (0x41646170), + ACE_NTOHL (0x74657253), + ACE_NTOHL (0x74617465), + ACE_NTOHL (0x0), // name = AdapterState + CORBA::tk_short, + +}; + +static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_AdapterState ( + CORBA::tk_alias, + sizeof (_oc_PortableInterceptor_AdapterState), + (char *) &_oc_PortableInterceptor_AdapterState, + 0, + sizeof (PortableInterceptor::AdapterState) + ); + +namespace PortableInterceptor +{ + ::CORBA::TypeCode_ptr _tc_AdapterState = + &_tc_TAO_tc_PortableInterceptor_AdapterState; +} + +// TAO_IDL - Generated from +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:1628 #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) diff --git a/TAO/tao/PI_ForwardC.h b/TAO/tao/PI_ForwardC.h index b1da5a26d1d..9f876afd852 100644 --- a/TAO/tao/PI_ForwardC.h +++ b/TAO/tao/PI_ForwardC.h @@ -26,21 +26,25 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:171 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:153 #ifndef _TAO_IDL_ORIG_PI_FORWARDC_H_ #define _TAO_IDL_ORIG_PI_FORWARDC_H_ #include /**/ "ace/pre.h" -#include "OctetSeqC.h" + +#include "ace/config-all.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "tao/TAO_Export.h" +#include "tao/ORB.h" +#include "tao/Environment.h" +#include "OctetSeqC.h" #include "StringSeqC.h" #if defined (TAO_EXPORT_MACRO) @@ -67,66 +71,88 @@ #endif /* __BORLANDC__ */ // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:48 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48 namespace PortableInterceptor { - + // TAO_IDL - Generated from - // be\be_visitor_typedef/typedef_ch.cpp:376 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:376 + typedef char * ServerId; typedef CORBA::String_var ServerId_var; typedef CORBA::String_out ServerId_out; - + // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServerId; - + // TAO_IDL - Generated from - // be\be_visitor_typedef/typedef_ch.cpp:376 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:376 + typedef char * ORBId; typedef CORBA::String_var ORBId_var; typedef CORBA::String_out ORBId_out; - + // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ORBId; - + // TAO_IDL - Generated from - // be\be_visitor_typedef/typedef_ch.cpp:435 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:435 + typedef CORBA::StringSeq AdapterName; typedef CORBA::StringSeq_var AdapterName_var; typedef CORBA::StringSeq_out AdapterName_out; - + // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AdapterName; - + // TAO_IDL - Generated from - // be\be_visitor_typedef/typedef_ch.cpp:435 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:435 + typedef CORBA::OctetSeq ObjectId; typedef CORBA::OctetSeq_var ObjectId_var; typedef CORBA::OctetSeq_out ObjectId_out; - + // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:44 - + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ObjectId; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:342 + + typedef CORBA::Long AdapterManagerId; + typedef CORBA::Long_out AdapterManagerId_out; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 + + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AdapterManagerId; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:342 + + typedef CORBA::Short AdapterState; + typedef CORBA::Short_out AdapterState_out; + + // TAO_IDL - Generated from + // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44 + + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_AdapterState; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:66 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:66 } // module PortableInterceptor // TAO_IDL - Generated from -// be\be_visitor_traits.cpp:59 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_traits.cpp:59 // Traits specializations. namespace TAO @@ -134,10 +160,10 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_codegen.cpp:978 +// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:958 #if defined (__ACE_INLINE__) -#include "PI_ForwardC.i" +#include "PI_ForwardC.inl" #endif /* defined INLINE */ #if defined(_MSC_VER) && (_MSC_VER >= 1200) diff --git a/TAO/tao/PI_ForwardC.i b/TAO/tao/PI_ForwardC.inl index 38aa32569ba..38aa32569ba 100644 --- a/TAO/tao/PI_ForwardC.i +++ b/TAO/tao/PI_ForwardC.inl diff --git a/TAO/tao/PortableServer/ORTRework.txt b/TAO/tao/PortableServer/ORTRework.txt index 42f9b208eee..d29e672264b 100644 --- a/TAO/tao/PortableServer/ORTRework.txt +++ b/TAO/tao/PortableServer/ORTRework.txt @@ -1,3 +1,37 @@ +Thu Aug 19 17:58:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl> + + * tao/PI_Forward.pidl: + Moved AdapterManagerId and AdapterState typedefs to this file + + * tao/PI_ForwardC.{h,cpp,i,inl}: + Regenerated these files, replaced .i with .inl file + + * tao/ObjRefTemplate/ObjectReferenceTemplate.pidl: + No need to include orb.idl, removed AdapterMangerId and + AdapterState, these moved to other places + + * tao/ObjRefTemplate/Attic/ObjectReferenceTemplate_Adapter_Impl.cpp: + Added missing .in() + + * tao/ObjRefTemplate/ObjectReferenceTemplateC.{h,cpp,i,inl}: + Regenerated these files, replaced .i with .inl file + + * tao/PortableServer/POA.h: + Fixed include + + * tao/PortableServer/POA_Manager.h: + No need to include ObjectReferenceTemplaceC.h now the typedefs are + in PI_Forward + + * tao/IORInterceptor/IORInterceptor.pidl: + Moved AdapterState constants to this file + + * tao/IORInterceptor/IORInterceptorC.{h,cpp,i,inl}: + Regenerated these files + + * tao/diffs/ObjectReferenceTemplate.diff: + No diffs need to be applied anymore, so zapped this file + Wed Aug 18 13:33:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl> * tao/PortableServer/POA.h: diff --git a/TAO/tao/PortableServer/POA.h b/TAO/tao/PortableServer/POA.h index 258f9cc11f6..707c3eb0e24 100644 --- a/TAO/tao/PortableServer/POA.h +++ b/TAO/tao/PortableServer/POA.h @@ -56,7 +56,7 @@ // OctetSeq #include "tao/OctetSeqC.h" -#include "tao/PortableServer/ObjectReferenceTemplate_Adapter.h" +#include "ObjectReferenceTemplate_Adapter.h" // This is to remove "inherits via dominance" warnings from MSVC. // MSVC is being a little too paranoid. diff --git a/TAO/tao/PortableServer/POAManager.h b/TAO/tao/PortableServer/POAManager.h index c0e8019d9a3..93db1c0d551 100644 --- a/TAO/tao/PortableServer/POAManager.h +++ b/TAO/tao/PortableServer/POAManager.h @@ -29,7 +29,6 @@ #include "tao/LocalObject.h" #include "tao/PortableInterceptorC.h" -#include "tao/ObjRefTemplate/ObjectReferenceTemplateC.h" #include "ace/Unbounded_Set.h" // Forward decl. diff --git a/TAO/tao/diffs/ObjectReferenceTemplate.diff b/TAO/tao/diffs/ObjectReferenceTemplate.diff deleted file mode 100644 index 318dd1a4816..00000000000 --- a/TAO/tao/diffs/ObjectReferenceTemplate.diff +++ /dev/null @@ -1,30 +0,0 @@ ---- orig/ObjectReferenceTemplateC.h Thu Feb 7 15:04:56 2002 -+++ ObjectReferenceTemplateC.h Fri Feb 8 11:23:31 2002 -@@ -23,7 +23,7 @@ - #define _TAO_IDL_ORIG_OBJECTREFERENCETEMPLATEC_H_ - - #include "ace/pre.h" --#include "tao/corba.h" -+#include "tao/corbafwd.h" - - #if !defined (ACE_LACKS_PRAGMA_ONCE) - # pragma once -@@ -32,6 +32,8 @@ - #include "TAO_Export.h" - #include "OctetSeqC.h" - #include "StringSeqC.h" -+#include "ValueBase.h" -+#include "Exception.h" - - #if defined (TAO_EXPORT_MACRO) - #undef TAO_EXPORT_MACRO ---- orig/ObjectReferenceTemplateC.cpp Thu Feb 7 15:04:56 2002 -+++ ObjectReferenceTemplateC.cpp Fri Feb 8 11:23:01 2002 -@@ -24,6 +24,7 @@ - #include "tao/Stub.h" - #include "tao/Invocation.h" - #include "tao/PortableInterceptor.h" -+#include "tao/ValueFactory.h" - - #if TAO_HAS_INTERCEPTORS == 1 - #include "tao/RequestInfo_Util.h" |