summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-04-19 08:15:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-04-19 08:15:09 +0000
commitead696e7bf7d9939ec1b99c78ffdd1d972e7241b (patch)
tree7d67f8715ed1a5e3450dabc4da168a299c4c754a /TAO/tao/RTCORBA
parenta1944ece5020120da467281e1f7411be69431383 (diff)
downloadATCD-ead696e7bf7d9939ec1b99c78ffdd1d972e7241b.tar.gz
ChangeLogTag: Mon Apr 19 08:12:42 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/RTCORBA')
-rw-r--r--TAO/tao/RTCORBA/RTCORBA.pidl12
-rw-r--r--TAO/tao/RTCORBA/RTCORBAC.cpp87
-rw-r--r--TAO/tao/RTCORBA/RTCORBAC.h73
3 files changed, 86 insertions, 86 deletions
diff --git a/TAO/tao/RTCORBA/RTCORBA.pidl b/TAO/tao/RTCORBA/RTCORBA.pidl
index 0da27ac7d1a..47554523c2d 100644
--- a/TAO/tao/RTCORBA/RTCORBA.pidl
+++ b/TAO/tao/RTCORBA/RTCORBA.pidl
@@ -26,7 +26,7 @@
*
* tao_idl -o orig -Gp -Gd -Ge 1 -GT -I../..
* -Wb,export_macro=TAO_RTCORBA_Export
- * -Wb,export_include="tao/RTCORBA/rtcorba_export.h"
+ * -Wb,export_include="rtcorba_export.h"
* -Wb,pre_include="ace/pre.h"
* -Wb,post_include="ace/post.h"
* RTCORBA.pidl
@@ -68,10 +68,10 @@ module RTCORBA
native PriorityMapping;
native PriorityTransform;
-
- typedef long NetworkPriority;
- native NetworkPriorityMapping;
-
+
+ typedef long NetworkPriority;
+ native NetworkPriorityMapping;
+
// Threadpool types.
typedef unsigned long ThreadpoolId;
@@ -149,7 +149,7 @@ module RTCORBA
attribute boolean keep_alive;
attribute boolean dont_route;
attribute boolean no_delay;
- attribute boolean enable_network_priority;
+ attribute boolean enable_network_priority;
};
local interface GIOPProtocolProperties : ProtocolProperties {};
diff --git a/TAO/tao/RTCORBA/RTCORBAC.cpp b/TAO/tao/RTCORBA/RTCORBAC.cpp
index 73a1f952076..7a0f5549512 100644
--- a/TAO/tao/RTCORBA/RTCORBAC.cpp
+++ b/TAO/tao/RTCORBA/RTCORBAC.cpp
@@ -30,6 +30,7 @@
#include "RTCORBA.h"
+#include "tao/CDR.h"
#include "tao/Typecode.h"
#include "tao/Any_Impl_T.h"
#include "tao/Any_Dual_Impl_T.h"
@@ -57,7 +58,7 @@ namespace TAO
//////////////////////////////////////////////////////
-// CDR Encoding Support
+// CDR Encoding Support hand crafted
CORBA::Boolean
RTCORBA::ProtocolProperties::_tao_encode (TAO_OutputCDR &)
@@ -75,7 +76,7 @@ RTCORBA::ProtocolProperties::_tao_decode (TAO_InputCDR &)
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_NativePriority[] =
{
@@ -115,7 +116,7 @@ namespace RTCORBA
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_Priority[] =
{
@@ -153,7 +154,7 @@ namespace RTCORBA
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_NetworkPriority[] =
{
@@ -193,7 +194,7 @@ namespace RTCORBA
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ThreadpoolId[] =
{
@@ -233,7 +234,7 @@ namespace RTCORBA
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ThreadpoolLane[] =
{
@@ -377,7 +378,7 @@ void RTCORBA::ThreadpoolLanes::_tao_any_destructor (
#endif /* end #if !defined */
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ThreadpoolLanes[] =
{
@@ -480,7 +481,7 @@ namespace RTCORBA
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_PriorityModel[] =
{
@@ -566,7 +567,7 @@ TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -679,7 +680,7 @@ RTCORBA::PriorityModelPolicy::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_PriorityModelPolicy[] =
{
@@ -755,7 +756,7 @@ TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -868,7 +869,7 @@ RTCORBA::ThreadpoolPolicy::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ThreadpoolPolicy[] =
{
@@ -944,7 +945,7 @@ TAO::Objref_Traits<RTCORBA::ProtocolProperties>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -1053,7 +1054,7 @@ RTCORBA::ProtocolProperties::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ProtocolProperties[] =
{
@@ -1093,7 +1094,7 @@ namespace RTCORBA
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_Protocol[] =
{
@@ -1280,7 +1281,7 @@ void RTCORBA::ProtocolList::_tao_any_destructor (
#endif /* end #if !defined */
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ProtocolList[] =
{
@@ -1462,7 +1463,7 @@ TAO::Objref_Traits<RTCORBA::ServerProtocolPolicy>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -1575,7 +1576,7 @@ RTCORBA::ServerProtocolPolicy::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ServerProtocolPolicy[] =
{
@@ -1653,7 +1654,7 @@ TAO::Objref_Traits<RTCORBA::ClientProtocolPolicy>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -1766,7 +1767,7 @@ RTCORBA::ClientProtocolPolicy::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_ClientProtocolPolicy[] =
{
@@ -1844,7 +1845,7 @@ TAO::Objref_Traits<RTCORBA::PrivateConnectionPolicy>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -1957,7 +1958,7 @@ RTCORBA::PrivateConnectionPolicy::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_PrivateConnectionPolicy[] =
{
@@ -2035,7 +2036,7 @@ TAO::Objref_Traits<RTCORBA::TCPProtocolProperties>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -2148,7 +2149,7 @@ RTCORBA::TCPProtocolProperties::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_TCPProtocolProperties[] =
{
@@ -2226,7 +2227,7 @@ TAO::Objref_Traits<RTCORBA::GIOPProtocolProperties>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -2339,7 +2340,7 @@ RTCORBA::GIOPProtocolProperties::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_GIOPProtocolProperties[] =
{
@@ -2417,7 +2418,7 @@ TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -2530,7 +2531,7 @@ RTCORBA::UnixDomainProtocolProperties::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_UnixDomainProtocolProperties[] =
{
@@ -2612,7 +2613,7 @@ TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -2725,7 +2726,7 @@ RTCORBA::SharedMemoryProtocolProperties::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_SharedMemoryProtocolProperties[] =
{
@@ -2771,7 +2772,7 @@ namespace RTCORBA
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_PriorityBand[] =
{
@@ -2921,7 +2922,7 @@ void RTCORBA::PriorityBands::_tao_any_destructor (
#endif /* end #if !defined */
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_PriorityBands[] =
{
@@ -3066,7 +3067,7 @@ TAO::Objref_Traits<RTCORBA::PriorityBandedConnectionPolicy>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -3179,7 +3180,7 @@ RTCORBA::PriorityBandedConnectionPolicy::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_PriorityBandedConnectionPolicy[] =
{
@@ -3261,7 +3262,7 @@ TAO::Objref_Traits<RTCORBA::Current>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -3374,7 +3375,7 @@ RTCORBA::Current::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_Current[] =
{
@@ -3444,7 +3445,7 @@ TAO::Objref_Traits<RTCORBA::Mutex>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -3553,7 +3554,7 @@ RTCORBA::Mutex::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_Mutex[] =
{
@@ -3623,7 +3624,7 @@ TAO::Objref_Traits<RTCORBA::RTORB>::tao_marshal (
TAO_OutputCDR & cdr
)
{
- return p->marshal (cdr);
+ return CORBA::Object::marshal (p, cdr);
}
// Function pointer for collocation factory initialization.
@@ -3734,7 +3735,7 @@ CORBA::TypeCode_ptr RTCORBA::RTORB::MutexNotFound::_type (void) const
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_RTORB_MutexNotFound[] =
{
@@ -3872,7 +3873,7 @@ CORBA::TypeCode_ptr RTCORBA::RTORB::InvalidThreadpool::_type (void) const
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_RTORB_InvalidThreadpool[] =
{
@@ -4010,7 +4011,7 @@ RTCORBA::RTORB::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:284
+// be\be_visitor_typecode/typecode_defn.cpp:290
static const CORBA::Long _oc_RTCORBA_RTORB[] =
{
@@ -5772,7 +5773,7 @@ CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_RTCORBA_PriorityBands_CPP_ */
// TAO_IDL - Generated from
-// be\be_visitor_root/root.cpp:1633
+// be\be_visitor_root/root.cpp:1628
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
diff --git a/TAO/tao/RTCORBA/RTCORBAC.h b/TAO/tao/RTCORBA/RTCORBAC.h
index 67ec629aedf..0307c1bac76 100644
--- a/TAO/tao/RTCORBA/RTCORBAC.h
+++ b/TAO/tao/RTCORBA/RTCORBAC.h
@@ -45,7 +45,6 @@
#include "rtcorba_export.h"
#include "rtcorba_typedefs.h"
-#include "tao/CDR.h"
#include "tao/Encodable.h"
#include "tao/TimeBaseC.h"
#include "tao/Environment.h"
@@ -79,13 +78,13 @@
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be\be_visitor_root/root_ch.cpp:63
namespace TAO
{
class Collocation_Proxy_Broker;
-
+
template<typename T> class Narrow_Utils;
template<typename T> class AbstractBase_Narrow_Utils;
}
@@ -95,109 +94,109 @@ namespace TAO
namespace RTCORBA
{
-
+
// TAO_IDL - Generated from
// be\be_visitor_typedef/typedef_ch.cpp:342
-
+
typedef CORBA::Short NativePriority;
typedef CORBA::Short_out NativePriority_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NativePriority;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typedef/typedef_ch.cpp:342
-
+
typedef CORBA::Short Priority;
typedef CORBA::Short_out Priority_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Priority;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const RTCORBA::Priority minPriority = 0;
-
+
// TAO_IDL - Generated from
// be\be_visitor_constant/constant_ch.cpp:52
-
+
const RTCORBA::Priority maxPriority = 32767;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typedef/typedef_ch.cpp:342
-
+
typedef CORBA::Long NetworkPriority;
typedef CORBA::Long_out NetworkPriority_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NetworkPriority;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typedef/typedef_ch.cpp:342
-
+
typedef CORBA::ULong ThreadpoolId;
typedef CORBA::ULong_out ThreadpoolId_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ThreadpoolId;
-
+
// TAO_IDL - Generated from
// be\be_type.cpp:258
-
+
struct ThreadpoolLane;
-
+
typedef
TAO_Fixed_Var_T<
ThreadpoolLane
>
ThreadpoolLane_var;
-
+
typedef
ThreadpoolLane &
ThreadpoolLane_out;
-
+
// TAO_IDL - Generated from
// be\be_visitor_structure/structure_ch.cpp:52
-
+
struct TAO_RTCORBA_Export ThreadpoolLane
{
typedef ThreadpoolLane_var _var_type;
-
+
static void _tao_any_destructor (void *);
RTCORBA::Priority lane_priority;
CORBA::ULong static_threads;
CORBA::ULong dynamic_threads;
};
-
+
// TAO_IDL - Generated from
// be\be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ThreadpoolLane;
-
+
// TAO_IDL - Generated from
// be\be_visitor_sequence/sequence_ch.cpp:101
#if !defined (_RTCORBA_THREADPOOLLANES_CH_)
#define _RTCORBA_THREADPOOLLANES_CH_
-
+
class ThreadpoolLanes;
-
+
typedef
TAO_FixedSeq_Var_T<
ThreadpoolLanes,
ThreadpoolLane
>
ThreadpoolLanes_var;
-
+
typedef
TAO_Seq_Out_T<
ThreadpoolLanes,
@@ -574,7 +573,7 @@ namespace RTCORBA
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
- // CDR Encoder/Decoder methods.
+ // CDR Encoder/Decoder methods. (handcrafted)
virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr);
virtual CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr);
protected: