summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-08-18 08:25:56 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-08-18 08:25:56 +0000
commit248f89222ffda949a733dd0d72b26d97a229b70a (patch)
tree3861f728fe34eb1ffb9976a64558510731a2c182
parent5a4badf4203c8735940a3a217d4532910f35fba0 (diff)
downloadATCD-248f89222ffda949a733dd0d72b26d97a229b70a.tar.gz
ChangeLogTag: Wed Aug 18 08:21:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptor.pidl13
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptorC.cpp12
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptorC.h102
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptorC.inl (renamed from TAO/tao/IORInterceptor/IORInterceptorC.i)0
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptor_List.cpp2
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptor_List.h6
-rw-r--r--TAO/tao/ObjRefTemplate.mpc2
-rw-r--r--TAO/tao/PortableServer.mpc2
8 files changed, 68 insertions, 71 deletions
diff --git a/TAO/tao/IORInterceptor/IORInterceptor.pidl b/TAO/tao/IORInterceptor/IORInterceptor.pidl
index 2c466dd0e49..8fe9be6c355 100644
--- a/TAO/tao/IORInterceptor/IORInterceptor.pidl
+++ b/TAO/tao/IORInterceptor/IORInterceptor.pidl
@@ -10,7 +10,7 @@
*
* The following is from orbos/99-12-02 Portable Interceptors spec,
* the full IDL is downloadable from orbos/99-12-02. This file contains
- * interfaces from PortableInterceptor.idl that depend on
+ * interfaces from PortableInterceptor.idl that depend on
* ObjectReferenceFactory and ObjectReferenceTemplate, which inherit
* directly or indirectly from CORBA::ValueBase. This separate file
* has been created to remove the dependency from the rest of module
@@ -27,9 +27,6 @@
* -Wb,pre_include="ace/pre.h"
* -Wb,post_include="ace/post.h"
* IORInterceptor.pidl
- *
- * Patches for changes to the generated code are available in the
- * `diffs' directory.
*/
// File: IORInterceptor.idl
@@ -39,11 +36,11 @@
#include "tao/PortableInterceptor.pidl"
#include "tao/ObjRefTemplate/ObjectReferenceTemplate.pidl"
-module PortableInterceptor
+module PortableInterceptor
{
typeprefix PortableInterceptor "omg.org";
- local interface IORInfo
+ local interface IORInfo
{
CORBA::Policy get_effective_policy (in CORBA::PolicyType type);
@@ -63,14 +60,14 @@ module PortableInterceptor
attribute ObjectReferenceFactory current_factory;
};
- local interface IORInterceptor : Interceptor
+ local interface IORInterceptor : Interceptor
{
void establish_components (in IORInfo info);
void components_established (in IORInfo info);
void adapter_manager_state_changed (
- in AdapterManagerId id,
+ in AdapterManagerId id,
in AdapterState state
);
void adapter_state_changed (
diff --git a/TAO/tao/IORInterceptor/IORInterceptorC.cpp b/TAO/tao/IORInterceptor/IORInterceptorC.cpp
index c839e820eac..479490de092 100644
--- a/TAO/tao/IORInterceptor/IORInterceptorC.cpp
+++ b/TAO/tao/IORInterceptor/IORInterceptorC.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 "IORInterceptorC.h"
@@ -39,11 +39,11 @@
#endif /* __BORLANDC__ */
#if !defined (__ACE_INLINE__)
-#include "IORInterceptorC.i"
+#include "IORInterceptorC.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
@@ -69,7 +69,7 @@ namespace TAO
// TAO_IDL - Generated from
-// be\be_visitor_interface/interface_cs.cpp:60
+// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60
// Traits specializations for PortableInterceptor::IORInfo.
@@ -206,7 +206,7 @@ PortableInterceptor::IORInfo::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_interface/interface_cs.cpp:60
+// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60
// Traits specializations for PortableInterceptor::IORInterceptor.
@@ -347,7 +347,7 @@ PortableInterceptor::IORInterceptor::marshal (TAO_OutputCDR &)
}
// 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)
diff --git a/TAO/tao/IORInterceptor/IORInterceptorC.h b/TAO/tao/IORInterceptor/IORInterceptorC.h
index 8dce343deac..0d897de4676 100644
--- a/TAO/tao/IORInterceptor/IORInterceptorC.h
+++ b/TAO/tao/IORInterceptor/IORInterceptorC.h
@@ -26,20 +26,22 @@
// 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_IORINTERCEPTORC_H_
#define _TAO_IDL_ORIG_IORINTERCEPTORC_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 "iorinterceptor_export.h"
+#include "tao/ORB.h"
#include "tao/Environment.h"
#include "tao/Object.h"
#include "tao/Objref_VarOut_T.h"
@@ -71,7 +73,7 @@
#endif /* __BORLANDC__ */
// TAO_IDL - Generated from
-// be\be_visitor_root/root_ch.cpp:63
+// C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root_ch.cpp:63
namespace TAO
{
@@ -82,13 +84,13 @@ namespace TAO
}
// 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_interface.cpp:611
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:613
#if !defined (_PORTABLEINTERCEPTOR_IORINFO__VAR_OUT_CH_)
#define _PORTABLEINTERCEPTOR_IORINFO__VAR_OUT_CH_
@@ -111,7 +113,7 @@ namespace PortableInterceptor
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:54
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_PORTABLEINTERCEPTOR_IORINFO_CH_)
#define _PORTABLEINTERCEPTOR_IORINFO_CH_
@@ -144,10 +146,10 @@ namespace PortableInterceptor
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::CORBA::Policy_ptr get_effective_policy (
- CORBA::PolicyType type
+ ::CORBA::PolicyType type
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -155,10 +157,10 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void add_ior_component (
- const IOP::TaggedComponent & a_component
+ const ::IOP::TaggedComponent & a_component
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -166,11 +168,11 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void add_ior_component_to_profile (
- const IOP::TaggedComponent & a_component,
- IOP::ProfileId profile_id
+ const ::IOP::TaggedComponent & a_component,
+ ::IOP::ProfileId profile_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -178,7 +180,7 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual PortableInterceptor::AdapterManagerId manager_id (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
@@ -188,7 +190,7 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual PortableInterceptor::AdapterState state (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
@@ -198,7 +200,7 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::PortableInterceptor::ObjectReferenceTemplate * adapter_template (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
@@ -208,7 +210,7 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::PortableInterceptor::ObjectReferenceFactory * current_factory (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
@@ -218,10 +220,10 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void current_factory (
- PortableInterceptor::ObjectReferenceFactory * current_factory
+ ::PortableInterceptor::ObjectReferenceFactory * current_factory
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -229,7 +231,7 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:208
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:208
virtual CORBA::Boolean _is_a (
const char *type_id
@@ -255,7 +257,7 @@ namespace PortableInterceptor
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // be\be_interface.cpp:611
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:613
#if !defined (_PORTABLEINTERCEPTOR_IORINTERCEPTOR__VAR_OUT_CH_)
#define _PORTABLEINTERCEPTOR_IORINTERCEPTOR__VAR_OUT_CH_
@@ -278,13 +280,13 @@ namespace PortableInterceptor
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:54
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:54
#if !defined (_PORTABLEINTERCEPTOR_IORINTERCEPTOR_CH_)
#define _PORTABLEINTERCEPTOR_IORINTERCEPTOR_CH_
class TAO_IORInterceptor_Export IORInterceptor
- : public virtual PortableInterceptor::Interceptor
+ : public virtual ::PortableInterceptor::Interceptor
{
public:
typedef IORInterceptor_ptr _ptr_type;
@@ -311,10 +313,10 @@ namespace PortableInterceptor
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void establish_components (
- PortableInterceptor::IORInfo_ptr info
+ ::PortableInterceptor::IORInfo_ptr info
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -322,10 +324,10 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void components_established (
- PortableInterceptor::IORInfo_ptr info
+ ::PortableInterceptor::IORInfo_ptr info
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -333,11 +335,11 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void adapter_manager_state_changed (
- PortableInterceptor::AdapterManagerId id,
- PortableInterceptor::AdapterState state
+ ::PortableInterceptor::AdapterManagerId id,
+ ::PortableInterceptor::AdapterState state
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -345,11 +347,11 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_operation/operation_ch.cpp:46
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void adapter_state_changed (
- const PortableInterceptor::ObjectReferenceTemplateSeq & templates,
- PortableInterceptor::AdapterState state
+ const ::PortableInterceptor::ObjectReferenceTemplateSeq & templates,
+ ::PortableInterceptor::AdapterState state
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -357,7 +359,7 @@ namespace PortableInterceptor
)) = 0;
// TAO_IDL - Generated from
- // be\be_visitor_interface/interface_ch.cpp:208
+ // C:\ACE\develop\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:208
virtual CORBA::Boolean _is_a (
const char *type_id
@@ -383,12 +385,12 @@ namespace PortableInterceptor
#endif /* end #if !defined */
// 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
@@ -398,17 +400,17 @@ namespace TAO
#define _PORTABLEINTERCEPTOR_IORINTERCEPTOR__TRAITS_CH_
ACE_TEMPLATE_SPECIALIZATION
- struct TAO_IORInterceptor_Export Objref_Traits<PortableInterceptor::IORInterceptor>
+ struct TAO_IORInterceptor_Export Objref_Traits< ::PortableInterceptor::IORInterceptor>
{
- static PortableInterceptor::IORInterceptor_ptr tao_duplicate (
- PortableInterceptor::IORInterceptor_ptr
+ static ::PortableInterceptor::IORInterceptor_ptr tao_duplicate (
+ ::PortableInterceptor::IORInterceptor_ptr
);
static void tao_release (
- PortableInterceptor::IORInterceptor_ptr
+ ::PortableInterceptor::IORInterceptor_ptr
);
- static PortableInterceptor::IORInterceptor_ptr tao_nil (void);
+ static ::PortableInterceptor::IORInterceptor_ptr tao_nil (void);
static CORBA::Boolean tao_marshal (
- PortableInterceptor::IORInterceptor_ptr p,
+ ::PortableInterceptor::IORInterceptor_ptr p,
TAO_OutputCDR & cdr
);
};
@@ -419,17 +421,17 @@ namespace TAO
#define _PORTABLEINTERCEPTOR_IORINFO__TRAITS_CH_
ACE_TEMPLATE_SPECIALIZATION
- struct TAO_IORInterceptor_Export Objref_Traits<PortableInterceptor::IORInfo>
+ struct TAO_IORInterceptor_Export Objref_Traits< ::PortableInterceptor::IORInfo>
{
- static PortableInterceptor::IORInfo_ptr tao_duplicate (
- PortableInterceptor::IORInfo_ptr
+ static ::PortableInterceptor::IORInfo_ptr tao_duplicate (
+ ::PortableInterceptor::IORInfo_ptr
);
static void tao_release (
- PortableInterceptor::IORInfo_ptr
+ ::PortableInterceptor::IORInfo_ptr
);
- static PortableInterceptor::IORInfo_ptr tao_nil (void);
+ static ::PortableInterceptor::IORInfo_ptr tao_nil (void);
static CORBA::Boolean tao_marshal (
- PortableInterceptor::IORInfo_ptr p,
+ ::PortableInterceptor::IORInfo_ptr p,
TAO_OutputCDR & cdr
);
};
@@ -438,10 +440,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 "IORInterceptorC.i"
+#include "IORInterceptorC.inl"
#endif /* defined INLINE */
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
diff --git a/TAO/tao/IORInterceptor/IORInterceptorC.i b/TAO/tao/IORInterceptor/IORInterceptorC.inl
index 38aa32569ba..38aa32569ba 100644
--- a/TAO/tao/IORInterceptor/IORInterceptorC.i
+++ b/TAO/tao/IORInterceptor/IORInterceptorC.inl
diff --git a/TAO/tao/IORInterceptor/IORInterceptor_List.cpp b/TAO/tao/IORInterceptor/IORInterceptor_List.cpp
index 111113c0c57..b1cd0999b1a 100644
--- a/TAO/tao/IORInterceptor/IORInterceptor_List.cpp
+++ b/TAO/tao/IORInterceptor/IORInterceptor_List.cpp
@@ -54,7 +54,7 @@ TAO_IORInterceptor_List::add_interceptor (
void
TAO_IORInterceptor_List::adapter_state_changed (
- const TAO_ObjectReferenceFactory_Array &array_obj_ref_template,
+ const TAO_ObjectReferenceTemplate_Array &array_obj_ref_template,
PortableInterceptor::AdapterState state
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
diff --git a/TAO/tao/IORInterceptor/IORInterceptor_List.h b/TAO/tao/IORInterceptor/IORInterceptor_List.h
index 1e7e4e6186f..496221ffb99 100644
--- a/TAO/tao/IORInterceptor/IORInterceptor_List.h
+++ b/TAO/tao/IORInterceptor/IORInterceptor_List.h
@@ -24,9 +24,7 @@
#include "IORInterceptorC.h"
#include "tao/Interceptor_List.h"
-
-typedef
-ACE_Array_Base<PortableInterceptor::ObjectReferenceTemplate*> TAO_ObjectReferenceFactory_Array;
+#include "tao/PortableServer/ObjectReferenceTemplate_Adapter.h"
/**
* @class TAO_IORInterceptor_List
@@ -57,7 +55,7 @@ public:
TYPE & interceptors (void);
void adapter_state_changed (
- const TAO_ObjectReferenceFactory_Array &array_obj_ref_template,
+ const TAO_ObjectReferenceTemplate_Array &array_obj_ref_template,
PortableInterceptor::AdapterState state
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
diff --git a/TAO/tao/ObjRefTemplate.mpc b/TAO/tao/ObjRefTemplate.mpc
index 8441b8b7377..8f84ef9c4aa 100644
--- a/TAO/tao/ObjRefTemplate.mpc
+++ b/TAO/tao/ObjRefTemplate.mpc
@@ -1,5 +1,5 @@
//$Id$
-project : valuetype, core {
+project : valuetype, portableserver, core {
sharedname = TAO_ObjRefTemplate
dynamicflags = TAO_ORT_BUILD_DLL
diff --git a/TAO/tao/PortableServer.mpc b/TAO/tao/PortableServer.mpc
index 8081b5eaba9..96558955e10 100644
--- a/TAO/tao/PortableServer.mpc
+++ b/TAO/tao/PortableServer.mpc
@@ -1,5 +1,5 @@
//$Id$
-project : taolib, core, objreftemplate, iorinterceptor {
+project : taolib, core, iorinterceptor {
sharedname = TAO_PortableServer
dynamicflags = TAO_PORTABLESERVER_BUILD_DLL