blob: 411a5e08b8d55f003d9832d166c5ac9a9c9eb555 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
--- orig/DomainC.cpp 2005-04-23 20:41:36.569843200 +0200
+++ DomainC.cpp 2005-04-23 20:42:48.202846400 +0200
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
-// $Id$
+// $Id$
// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
@@ -39,6 +39,10 @@
#include "tao/Special_Basic_Arguments.h"
#include "ace/OS_NS_string.h"
+#include "tao/ORB_Core.h"
+#include "tao/IFR_Client_Adapter.h"
+#include "ace/Dynamic_Service.h"
+
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
@@ -50,6 +54,48 @@
// TAO_IDL - Generated from
// be\be_visitor_arg_traits.cpp:69
+// TAO specific stuff.
+namespace CORBA
+{
+ class InterfaceDef;
+ typedef InterfaceDef *InterfaceDef_ptr;
+ typedef TAO_Objref_Var_T<InterfaceDef> InterfaceDef_var;
+ typedef TAO_Objref_Out_T<InterfaceDef> InterfaceDef_out;
+}
+
+namespace TAO
+{
+
+#if TAO_HAS_INTERCEPTORS == 1
+
+ template<>
+ void
+ In_Object_Argument_T<CORBA::InterfaceDef_ptr>::interceptor_param (Dynamic::Parameter & p)
+ {
+ TAO_IFR_Client_Adapter *adapter =
+ ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
+ TAO_ORB_Core::ifr_client_adapter_name ()
+ );
+
+ adapter->interfacedef_any_insert (p.argument, this->x_);
+ p.mode = CORBA::PARAM_IN;
+ }
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ template<>
+ CORBA::Boolean
+ In_Object_Argument_T<CORBA::InterfaceDef_ptr>::marshal (TAO_OutputCDR & cdr)
+ {
+ TAO_IFR_Client_Adapter *adapter =
+ ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
+ TAO_ORB_Core::ifr_client_adapter_name ()
+ );
+
+ return adapter->interfacedef_cdr_insert (cdr, this->x_);
+ }
+}
+
// Arg traits specializations.
namespace TAO
{
--- orig/DomainC.h 2005-04-23 20:41:36.569843200 +0200
+++ DomainC.h 2005-04-15 09:13:18.957705600 +0200
@@ -1,6 +1,6 @@
// -*- C++ -*-
//
-// $Id$
+// $Id$
// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
@@ -51,7 +51,6 @@
#include "tao/Seq_Out_T.h"
#include "tao/PolicyC.h"
-#include "tao/InterfaceDefC.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
|