diff options
Diffstat (limited to 'TAO/tao/diffs/RTCORBAC.i.diff')
-rw-r--r-- | TAO/tao/diffs/RTCORBAC.i.diff | 535 |
1 files changed, 456 insertions, 79 deletions
diff --git a/TAO/tao/diffs/RTCORBAC.i.diff b/TAO/tao/diffs/RTCORBAC.i.diff index 4119def2a4f..079e8ce1535 100644 --- a/TAO/tao/diffs/RTCORBAC.i.diff +++ b/TAO/tao/diffs/RTCORBAC.i.diff @@ -1,5 +1,11 @@ --- orig/RTCORBAC.i Sat May 20 22:29:17 2000 -+++ RTCORBAC.i Sat May 20 15:27:13 2000 ++++ RTCORBAC.i Fri Aug 18 20:23:55 2000 +@@ -1,4 +1,4 @@ +-/* -*- C++ -*- $Id$ */ ++/* -*- C++ -*- $Id$ */ + + // ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* + // TAO and the TAO IDL Compiler have been developed by the Center for @@ -93,13 +93,13 @@ } @@ -147,7 +153,15 @@ ACE_INLINE RTCORBA::ThreadpoolLane * RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::get_buffer (CORBA::Boolean orphan) { -@@ -282,13 +282,13 @@ +@@ -261,6 +261,7 @@ + { + result = _TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::allocbuf (this->length_); + this->buffer_ = result; ++ this->release_ = 1; + } + else + { +@@ -282,13 +283,13 @@ } return result; } @@ -163,7 +177,7 @@ ACE_INLINE void RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ThreadpoolLanes::replace (CORBA::ULong max, CORBA::ULong length, -@@ -305,11 +305,11 @@ +@@ -305,11 +306,11 @@ this->buffer_ = data; this->release_ = release; } @@ -177,7 +191,7 @@ #if !defined (_RTCORBA_THREADPOOLLANES_CI_) #define _RTCORBA_THREADPOOLLANES_CI_ -@@ -393,20 +393,20 @@ +@@ -393,20 +394,20 @@ return this->ptr_; } @@ -203,7 +217,7 @@ { return *this->ptr_; } -@@ -429,7 +429,7 @@ +@@ -429,7 +430,7 @@ return *this->ptr_; } @@ -212,7 +226,7 @@ ACE_INLINE ::RTCORBA::ThreadpoolLanes *& RTCORBA::ThreadpoolLanes_var::out (void) { -@@ -490,7 +490,7 @@ +@@ -490,7 +491,7 @@ return *this; } @@ -221,7 +235,7 @@ RTCORBA::ThreadpoolLanes_out::operator ::RTCORBA::ThreadpoolLanes *&() // cast { return this->ptr_; -@@ -517,6 +517,14 @@ +@@ -517,6 +518,14 @@ #endif /* end #if !defined */ @@ -236,7 +250,7 @@ #if !defined (_RTCORBA_PRIORITYMODELPOLICY___VAR_CI_) #define _RTCORBA_PRIORITYMODELPOLICY___VAR_CI_ -@@ -572,14 +580,14 @@ +@@ -572,14 +581,14 @@ return *this; } @@ -254,7 +268,7 @@ { return this->ptr_; } -@@ -671,7 +679,7 @@ +@@ -671,7 +680,7 @@ return *this; } @@ -263,7 +277,7 @@ RTCORBA::PriorityModelPolicy_out::operator ::RTCORBA::PriorityModelPolicy_ptr &() // cast { return this->ptr_; -@@ -692,6 +700,14 @@ +@@ -692,6 +701,14 @@ #endif /* end #if !defined */ @@ -278,7 +292,7 @@ #if !defined (_RTCORBA_THREADPOOLPOLICY___VAR_CI_) #define _RTCORBA_THREADPOOLPOLICY___VAR_CI_ -@@ -747,14 +763,14 @@ +@@ -747,14 +764,14 @@ return *this; } @@ -296,7 +310,7 @@ { return this->ptr_; } -@@ -846,7 +862,7 @@ +@@ -846,7 +863,7 @@ return *this; } @@ -305,7 +319,7 @@ RTCORBA::ThreadpoolPolicy_out::operator ::RTCORBA::ThreadpoolPolicy_ptr &() // cast { return this->ptr_; -@@ -867,6 +883,14 @@ +@@ -867,6 +884,14 @@ #endif /* end #if !defined */ @@ -320,7 +334,7 @@ #if !defined (_RTCORBA_PRIVATECONNECTIONPOLICY___VAR_CI_) #define _RTCORBA_PRIVATECONNECTIONPOLICY___VAR_CI_ -@@ -922,14 +946,14 @@ +@@ -922,14 +947,14 @@ return *this; } @@ -338,7 +352,7 @@ { return this->ptr_; } -@@ -1021,7 +1045,7 @@ +@@ -1021,7 +1046,7 @@ return *this; } @@ -347,7 +361,7 @@ RTCORBA::PrivateConnectionPolicy_out::operator ::RTCORBA::PrivateConnectionPolicy_ptr &() // cast { return this->ptr_; -@@ -1128,13 +1152,13 @@ +@@ -1128,13 +1153,13 @@ } ACE_INLINE @@ -363,7 +377,7 @@ { return *this->ptr_; } -@@ -1151,7 +1175,7 @@ +@@ -1151,7 +1176,7 @@ return *this->ptr_; } @@ -372,7 +386,7 @@ ACE_INLINE ::RTCORBA::PriorityBand & RTCORBA::PriorityBand_var::out (void) { -@@ -1172,7 +1196,7 @@ +@@ -1172,7 +1197,7 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -381,7 +395,7 @@ #if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_PRIORITYBANDS_CI_) #define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_PRIORITYBANDS_CI_ -@@ -1185,24 +1209,24 @@ +@@ -1185,24 +1210,24 @@ ACE_NEW_RETURN (retval, RTCORBA::PriorityBand[size], 0); return retval; } @@ -410,7 +424,7 @@ ACE_INLINE RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands (CORBA::ULong maximum, CORBA::ULong length, -@@ -1211,7 +1235,7 @@ +@@ -1211,7 +1236,7 @@ : TAO_Unbounded_Base_Sequence (maximum, length, data, release) { } @@ -419,7 +433,7 @@ ACE_INLINE RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands (const _TAO_Unbounded_Sequence_RTCORBA_PriorityBands &rhs) // Copy constructor. -@@ -1221,10 +1245,10 @@ +@@ -1221,10 +1246,10 @@ { RTCORBA::PriorityBand *tmp1 = _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (this->maximum_); RTCORBA::PriorityBand * const tmp2 = ACE_reinterpret_cast (RTCORBA::PriorityBand * ACE_CAST_CONST, rhs.buffer_); @@ -432,7 +446,7 @@ this->buffer_ = tmp1; } else -@@ -1232,14 +1256,14 @@ +@@ -1232,14 +1257,14 @@ this->buffer_ = 0; } } @@ -449,7 +463,7 @@ if (this->release_) { if (this->maximum_ < rhs.maximum_) -@@ -1252,18 +1276,18 @@ +@@ -1252,18 +1277,18 @@ } else this->buffer_ = _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (rhs.maximum_); @@ -473,7 +487,7 @@ // = Accessors. ACE_INLINE RTCORBA::PriorityBand & RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::operator[] (CORBA::ULong i) -@@ -1273,7 +1297,7 @@ +@@ -1273,7 +1298,7 @@ RTCORBA::PriorityBand* tmp = ACE_reinterpret_cast(RTCORBA::PriorityBand*,this->buffer_); return tmp[i]; } @@ -482,7 +496,7 @@ ACE_INLINE const RTCORBA::PriorityBand & RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::operator[] (CORBA::ULong i) const // operator [] -@@ -1282,9 +1306,9 @@ +@@ -1282,9 +1307,9 @@ RTCORBA::PriorityBand * const tmp = ACE_reinterpret_cast (RTCORBA::PriorityBand* ACE_CAST_CONST, this->buffer_); return tmp[i]; } @@ -494,7 +508,15 @@ ACE_INLINE RTCORBA::PriorityBand * RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::get_buffer (CORBA::Boolean orphan) { -@@ -1317,13 +1341,13 @@ +@@ -1296,6 +1321,7 @@ + { + result = _TAO_Unbounded_Sequence_RTCORBA_PriorityBands::allocbuf (this->length_); + this->buffer_ = result; ++ this->release_ = 1; + } + else + { +@@ -1317,13 +1343,13 @@ } return result; } @@ -510,7 +532,7 @@ ACE_INLINE void RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_PriorityBands::replace (CORBA::ULong max, CORBA::ULong length, -@@ -1340,11 +1364,11 @@ +@@ -1340,11 +1366,11 @@ this->buffer_ = data; this->release_ = release; } @@ -524,7 +546,7 @@ #if !defined (_RTCORBA_PRIORITYBANDS_CI_) #define _RTCORBA_PRIORITYBANDS_CI_ -@@ -1428,20 +1452,20 @@ +@@ -1428,20 +1454,20 @@ return this->ptr_; } @@ -550,7 +572,7 @@ { return *this->ptr_; } -@@ -1464,7 +1488,7 @@ +@@ -1464,7 +1490,7 @@ return *this->ptr_; } @@ -559,7 +581,7 @@ ACE_INLINE ::RTCORBA::PriorityBands *& RTCORBA::PriorityBands_var::out (void) { -@@ -1525,7 +1549,7 @@ +@@ -1525,7 +1551,7 @@ return *this; } @@ -568,7 +590,7 @@ RTCORBA::PriorityBands_out::operator ::RTCORBA::PriorityBands *&() // cast { return this->ptr_; -@@ -1552,6 +1576,14 @@ +@@ -1552,6 +1578,14 @@ #endif /* end #if !defined */ @@ -583,7 +605,7 @@ #if !defined (_RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___VAR_CI_) #define _RTCORBA_PRIORITYBANDEDCONNECTIONPOLICY___VAR_CI_ -@@ -1607,14 +1639,14 @@ +@@ -1607,14 +1641,14 @@ return *this; } @@ -601,7 +623,7 @@ { return this->ptr_; } -@@ -1706,7 +1738,7 @@ +@@ -1706,7 +1740,7 @@ return *this; } @@ -610,7 +632,7 @@ RTCORBA::PriorityBandedConnectionPolicy_out::operator ::RTCORBA::PriorityBandedConnectionPolicy_ptr &() // cast { return this->ptr_; -@@ -1727,6 +1759,14 @@ +@@ -1727,6 +1761,14 @@ #endif /* end #if !defined */ @@ -625,7 +647,7 @@ #if !defined (_RTCORBA_PROTOCOLPROPERTIES___VAR_CI_) #define _RTCORBA_PROTOCOLPROPERTIES___VAR_CI_ -@@ -1782,14 +1822,14 @@ +@@ -1782,14 +1824,14 @@ return *this; } @@ -643,7 +665,7 @@ { return this->ptr_; } -@@ -1881,7 +1921,7 @@ +@@ -1881,7 +1923,7 @@ return *this; } @@ -652,7 +674,7 @@ RTCORBA::ProtocolProperties_out::operator ::RTCORBA::ProtocolProperties_ptr &() // cast { return this->ptr_; -@@ -1902,6 +1942,14 @@ +@@ -1902,6 +1944,14 @@ #endif /* end #if !defined */ @@ -667,7 +689,7 @@ #if !defined (_RTCORBA_TCPPROTOCOLPROPERTIES___VAR_CI_) #define _RTCORBA_TCPPROTOCOLPROPERTIES___VAR_CI_ -@@ -1957,14 +2005,14 @@ +@@ -1957,14 +2007,14 @@ return *this; } @@ -685,7 +707,7 @@ { return this->ptr_; } -@@ -2056,7 +2104,7 @@ +@@ -2056,7 +2106,7 @@ return *this; } @@ -694,7 +716,7 @@ RTCORBA::TCPProtocolProperties_out::operator ::RTCORBA::TCPProtocolProperties_ptr &() // cast { return this->ptr_; -@@ -2077,6 +2125,14 @@ +@@ -2077,6 +2127,14 @@ #endif /* end #if !defined */ @@ -709,7 +731,7 @@ #if !defined (_RTCORBA_GIOPPROTOCOLPROPERTIES___VAR_CI_) #define _RTCORBA_GIOPPROTOCOLPROPERTIES___VAR_CI_ -@@ -2132,14 +2188,14 @@ +@@ -2132,14 +2190,14 @@ return *this; } @@ -727,7 +749,7 @@ { return this->ptr_; } -@@ -2231,7 +2287,7 @@ +@@ -2231,7 +2289,7 @@ return *this; } @@ -736,7 +758,354 @@ RTCORBA::GIOPProtocolProperties_out::operator ::RTCORBA::GIOPProtocolProperties_ptr &() // cast { return this->ptr_; -@@ -2319,20 +2375,20 @@ +@@ -2252,6 +2310,346 @@ + + #endif /* end #if !defined */ + ++ ++#if !defined (_RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___VAR_CI_) ++#define _RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___VAR_CI_ ++ ++// ************************************************************* ++// Inline operations for class RTCORBA::UnixDomainProtocolProperties_var ++// ************************************************************* ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_var::UnixDomainProtocolProperties_var (void) // default constructor ++ : ptr_ (UnixDomainProtocolProperties::_nil ()) ++{} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr ++RTCORBA::UnixDomainProtocolProperties_var::ptr (void) const ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_var::UnixDomainProtocolProperties_var (const ::RTCORBA::UnixDomainProtocolProperties_var &p) // copy constructor ++ : TAO_Base_var (), ++ ptr_ (UnixDomainProtocolProperties::_duplicate (p.ptr ())) ++{} ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_var::~UnixDomainProtocolProperties_var (void) // destructor ++{ ++ CORBA::release (this->ptr_); ++} ++ ++ACE_INLINE RTCORBA::UnixDomainProtocolProperties_var & ++RTCORBA::UnixDomainProtocolProperties_var::operator= (UnixDomainProtocolProperties_ptr p) ++{ ++ CORBA::release (this->ptr_); ++ this->ptr_ = p; ++ return *this; ++} ++ ++ACE_INLINE RTCORBA::UnixDomainProtocolProperties_var & ++RTCORBA::UnixDomainProtocolProperties_var::operator= (const ::RTCORBA::UnixDomainProtocolProperties_var &p) ++{ ++ if (this != &p) ++ { ++ CORBA::release (this->ptr_); ++ this->ptr_ = ::RTCORBA::UnixDomainProtocolProperties::_duplicate (p.ptr ()); ++ } ++ return *this; ++} ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_var::operator const ::RTCORBA::UnixDomainProtocolProperties_ptr &() const // cast ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_var::operator ::RTCORBA::UnixDomainProtocolProperties_ptr &() // cast ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr ++RTCORBA::UnixDomainProtocolProperties_var::operator-> (void) const ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr ++RTCORBA::UnixDomainProtocolProperties_var::in (void) const ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr & ++RTCORBA::UnixDomainProtocolProperties_var::inout (void) ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr & ++RTCORBA::UnixDomainProtocolProperties_var::out (void) ++{ ++ CORBA::release (this->ptr_); ++ this->ptr_ = ::RTCORBA::UnixDomainProtocolProperties::_nil (); ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr ++RTCORBA::UnixDomainProtocolProperties_var::_retn (void) ++{ ++ // yield ownership of managed obj reference ++ ::RTCORBA::UnixDomainProtocolProperties_ptr val = this->ptr_; ++ this->ptr_ = ::RTCORBA::UnixDomainProtocolProperties::_nil (); ++ return val; ++} ++ ++ ++#endif /* end #if !defined */ ++ ++ ++#if !defined (_RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___OUT_CI_) ++#define _RTCORBA_UNIXDOMAINPROTOCOLPROPERTIES___OUT_CI_ ++ ++// ************************************************************* ++// Inline operations for class RTCORBA::UnixDomainProtocolProperties_out ++// ************************************************************* ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_out::UnixDomainProtocolProperties_out (UnixDomainProtocolProperties_ptr &p) ++ : ptr_ (p) ++{ ++ this->ptr_ = ::RTCORBA::UnixDomainProtocolProperties::_nil (); ++} ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_out::UnixDomainProtocolProperties_out (UnixDomainProtocolProperties_var &p) // constructor from _var ++ : ptr_ (p.out ()) ++{ ++ CORBA::release (this->ptr_); ++ this->ptr_ = ::RTCORBA::UnixDomainProtocolProperties::_nil (); ++} ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_out::UnixDomainProtocolProperties_out (const ::RTCORBA::UnixDomainProtocolProperties_out &p) // copy constructor ++ : ptr_ (ACE_const_cast (UnixDomainProtocolProperties_out &, p).ptr_) ++{} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_out & ++RTCORBA::UnixDomainProtocolProperties_out::operator= (const ::RTCORBA::UnixDomainProtocolProperties_out &p) ++{ ++ this->ptr_ = ACE_const_cast (UnixDomainProtocolProperties_out&, p).ptr_; ++ return *this; ++} ++ ++ACE_INLINE RTCORBA::UnixDomainProtocolProperties_out & ++RTCORBA::UnixDomainProtocolProperties_out::operator= (const ::RTCORBA::UnixDomainProtocolProperties_var &p) ++{ ++ this->ptr_ = ::RTCORBA::UnixDomainProtocolProperties::_duplicate (p.ptr ()); ++ return *this; ++} ++ ++ACE_INLINE RTCORBA::UnixDomainProtocolProperties_out & ++RTCORBA::UnixDomainProtocolProperties_out::operator= (UnixDomainProtocolProperties_ptr p) ++{ ++ this->ptr_ = p; ++ return *this; ++} ++ ++ACE_INLINE ++RTCORBA::UnixDomainProtocolProperties_out::operator ::RTCORBA::UnixDomainProtocolProperties_ptr &() // cast ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr & ++RTCORBA::UnixDomainProtocolProperties_out::ptr (void) // ptr ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::UnixDomainProtocolProperties_ptr ++RTCORBA::UnixDomainProtocolProperties_out::operator-> (void) ++{ ++ return this->ptr_; ++} ++ ++ ++#endif /* end #if !defined */ ++ ++ ++#if !defined (_RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___VAR_CI_) ++#define _RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___VAR_CI_ ++ ++// ************************************************************* ++// Inline operations for class RTCORBA::SharedMemoryProtocolProperties_var ++// ************************************************************* ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_var::SharedMemoryProtocolProperties_var (void) // default constructor ++ : ptr_ (SharedMemoryProtocolProperties::_nil ()) ++{} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr ++RTCORBA::SharedMemoryProtocolProperties_var::ptr (void) const ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_var::SharedMemoryProtocolProperties_var (const ::RTCORBA::SharedMemoryProtocolProperties_var &p) // copy constructor ++ : TAO_Base_var (), ++ ptr_ (SharedMemoryProtocolProperties::_duplicate (p.ptr ())) ++{} ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_var::~SharedMemoryProtocolProperties_var (void) // destructor ++{ ++ CORBA::release (this->ptr_); ++} ++ ++ACE_INLINE RTCORBA::SharedMemoryProtocolProperties_var & ++RTCORBA::SharedMemoryProtocolProperties_var::operator= (SharedMemoryProtocolProperties_ptr p) ++{ ++ CORBA::release (this->ptr_); ++ this->ptr_ = p; ++ return *this; ++} ++ ++ACE_INLINE RTCORBA::SharedMemoryProtocolProperties_var & ++RTCORBA::SharedMemoryProtocolProperties_var::operator= (const ::RTCORBA::SharedMemoryProtocolProperties_var &p) ++{ ++ if (this != &p) ++ { ++ CORBA::release (this->ptr_); ++ this->ptr_ = ::RTCORBA::SharedMemoryProtocolProperties::_duplicate (p.ptr ()); ++ } ++ return *this; ++} ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_var::operator const ::RTCORBA::SharedMemoryProtocolProperties_ptr &() const // cast ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_var::operator ::RTCORBA::SharedMemoryProtocolProperties_ptr &() // cast ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr ++RTCORBA::SharedMemoryProtocolProperties_var::operator-> (void) const ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr ++RTCORBA::SharedMemoryProtocolProperties_var::in (void) const ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr & ++RTCORBA::SharedMemoryProtocolProperties_var::inout (void) ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr & ++RTCORBA::SharedMemoryProtocolProperties_var::out (void) ++{ ++ CORBA::release (this->ptr_); ++ this->ptr_ = ::RTCORBA::SharedMemoryProtocolProperties::_nil (); ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr ++RTCORBA::SharedMemoryProtocolProperties_var::_retn (void) ++{ ++ // yield ownership of managed obj reference ++ ::RTCORBA::SharedMemoryProtocolProperties_ptr val = this->ptr_; ++ this->ptr_ = ::RTCORBA::SharedMemoryProtocolProperties::_nil (); ++ return val; ++} ++ ++ ++#endif /* end #if !defined */ ++ ++ ++#if !defined (_RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___OUT_CI_) ++#define _RTCORBA_SHAREDMEMORYPROTOCOLPROPERTIES___OUT_CI_ ++ ++// ************************************************************* ++// Inline operations for class RTCORBA::SharedMemoryProtocolProperties_out ++// ************************************************************* ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_out::SharedMemoryProtocolProperties_out (SharedMemoryProtocolProperties_ptr &p) ++ : ptr_ (p) ++{ ++ this->ptr_ = ::RTCORBA::SharedMemoryProtocolProperties::_nil (); ++} ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_out::SharedMemoryProtocolProperties_out (SharedMemoryProtocolProperties_var &p) // constructor from _var ++ : ptr_ (p.out ()) ++{ ++ CORBA::release (this->ptr_); ++ this->ptr_ = ::RTCORBA::SharedMemoryProtocolProperties::_nil (); ++} ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_out::SharedMemoryProtocolProperties_out (const ::RTCORBA::SharedMemoryProtocolProperties_out &p) // copy constructor ++ : ptr_ (ACE_const_cast (SharedMemoryProtocolProperties_out &, p).ptr_) ++{} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_out & ++RTCORBA::SharedMemoryProtocolProperties_out::operator= (const ::RTCORBA::SharedMemoryProtocolProperties_out &p) ++{ ++ this->ptr_ = ACE_const_cast (SharedMemoryProtocolProperties_out&, p).ptr_; ++ return *this; ++} ++ ++ACE_INLINE RTCORBA::SharedMemoryProtocolProperties_out & ++RTCORBA::SharedMemoryProtocolProperties_out::operator= (const ::RTCORBA::SharedMemoryProtocolProperties_var &p) ++{ ++ this->ptr_ = ::RTCORBA::SharedMemoryProtocolProperties::_duplicate (p.ptr ()); ++ return *this; ++} ++ ++ACE_INLINE RTCORBA::SharedMemoryProtocolProperties_out & ++RTCORBA::SharedMemoryProtocolProperties_out::operator= (SharedMemoryProtocolProperties_ptr p) ++{ ++ this->ptr_ = p; ++ return *this; ++} ++ ++ACE_INLINE ++RTCORBA::SharedMemoryProtocolProperties_out::operator ::RTCORBA::SharedMemoryProtocolProperties_ptr &() // cast ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr & ++RTCORBA::SharedMemoryProtocolProperties_out::ptr (void) // ptr ++{ ++ return this->ptr_; ++} ++ ++ACE_INLINE ::RTCORBA::SharedMemoryProtocolProperties_ptr ++RTCORBA::SharedMemoryProtocolProperties_out::operator-> (void) ++{ ++ return this->ptr_; ++} ++ ++ ++#endif /* end #if !defined */ ++ + // ************************************************************* + // Inline operations for class RTCORBA::Protocol_var + // ************************************************************* +@@ -2319,20 +2717,20 @@ } ACE_INLINE @@ -760,7 +1129,7 @@ { return this->ptr_; } -@@ -2349,7 +2405,7 @@ +@@ -2349,7 +2747,7 @@ return *this->ptr_; } @@ -769,7 +1138,7 @@ ACE_INLINE ::RTCORBA::Protocol *& RTCORBA::Protocol_var::out (void) { -@@ -2410,7 +2466,7 @@ +@@ -2410,7 +2808,7 @@ return *this; } @@ -778,7 +1147,7 @@ RTCORBA::Protocol_out::operator ::RTCORBA::Protocol *&() // cast { return this->ptr_; -@@ -2430,7 +2486,7 @@ +@@ -2430,7 +2828,7 @@ #if !defined (TAO_USE_SEQUENCE_TEMPLATES) @@ -787,7 +1156,7 @@ #if !defined (__TAO_UNBOUNDED_SEQUENCE_RTCORBA_PROTOCOLLIST_CI_) #define __TAO_UNBOUNDED_SEQUENCE_RTCORBA_PROTOCOLLIST_CI_ -@@ -2443,24 +2499,24 @@ +@@ -2443,24 +2841,24 @@ ACE_NEW_RETURN (retval, RTCORBA::Protocol[size], 0); return retval; } @@ -816,7 +1185,7 @@ ACE_INLINE RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList (CORBA::ULong maximum, CORBA::ULong length, -@@ -2469,7 +2525,7 @@ +@@ -2469,7 +2867,7 @@ : TAO_Unbounded_Base_Sequence (maximum, length, data, release) { } @@ -825,7 +1194,7 @@ ACE_INLINE RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList (const _TAO_Unbounded_Sequence_RTCORBA_ProtocolList &rhs) // Copy constructor. -@@ -2479,10 +2535,10 @@ +@@ -2479,10 +2877,10 @@ { RTCORBA::Protocol *tmp1 = _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (this->maximum_); RTCORBA::Protocol * const tmp2 = ACE_reinterpret_cast (RTCORBA::Protocol * ACE_CAST_CONST, rhs.buffer_); @@ -838,7 +1207,7 @@ this->buffer_ = tmp1; } else -@@ -2490,14 +2546,14 @@ +@@ -2490,14 +2888,14 @@ this->buffer_ = 0; } } @@ -855,7 +1224,7 @@ if (this->release_) { if (this->maximum_ < rhs.maximum_) -@@ -2510,18 +2566,18 @@ +@@ -2510,18 +2908,18 @@ } else this->buffer_ = _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (rhs.maximum_); @@ -879,7 +1248,7 @@ // = Accessors. ACE_INLINE RTCORBA::Protocol & RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::operator[] (CORBA::ULong i) -@@ -2531,7 +2587,7 @@ +@@ -2531,7 +2929,7 @@ RTCORBA::Protocol* tmp = ACE_reinterpret_cast(RTCORBA::Protocol*,this->buffer_); return tmp[i]; } @@ -888,7 +1257,7 @@ ACE_INLINE const RTCORBA::Protocol & RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::operator[] (CORBA::ULong i) const // operator [] -@@ -2540,9 +2596,9 @@ +@@ -2540,9 +2938,9 @@ RTCORBA::Protocol * const tmp = ACE_reinterpret_cast (RTCORBA::Protocol* ACE_CAST_CONST, this->buffer_); return tmp[i]; } @@ -900,7 +1269,15 @@ ACE_INLINE RTCORBA::Protocol * RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::get_buffer (CORBA::Boolean orphan) { -@@ -2575,13 +2631,13 @@ +@@ -2554,6 +2952,7 @@ + { + result = _TAO_Unbounded_Sequence_RTCORBA_ProtocolList::allocbuf (this->length_); + this->buffer_ = result; ++ this->release_ = 1; + } + else + { +@@ -2575,13 +2974,13 @@ } return result; } @@ -916,7 +1293,7 @@ ACE_INLINE void RTCORBA::_TAO_Unbounded_Sequence_RTCORBA_ProtocolList::replace (CORBA::ULong max, CORBA::ULong length, -@@ -2598,11 +2654,11 @@ +@@ -2598,11 +2997,11 @@ this->buffer_ = data; this->release_ = release; } @@ -930,7 +1307,7 @@ #if !defined (_RTCORBA_PROTOCOLLIST_CI_) #define _RTCORBA_PROTOCOLLIST_CI_ -@@ -2667,27 +2723,27 @@ +@@ -2667,27 +3066,27 @@ return this->ptr_; } @@ -964,7 +1341,7 @@ { return this->ptr_; } -@@ -2710,7 +2766,7 @@ +@@ -2710,7 +3109,7 @@ return *this->ptr_; } @@ -973,7 +1350,7 @@ ACE_INLINE ::RTCORBA::ProtocolList *& RTCORBA::ProtocolList_var::out (void) { -@@ -2771,7 +2827,7 @@ +@@ -2771,7 +3170,7 @@ return *this; } @@ -982,7 +1359,7 @@ RTCORBA::ProtocolList_out::operator ::RTCORBA::ProtocolList *&() // cast { return this->ptr_; -@@ -2798,6 +2854,14 @@ +@@ -2798,6 +3197,14 @@ #endif /* end #if !defined */ @@ -997,7 +1374,7 @@ #if !defined (_RTCORBA_SERVERPROTOCOLPOLICY___VAR_CI_) #define _RTCORBA_SERVERPROTOCOLPOLICY___VAR_CI_ -@@ -2853,14 +2917,14 @@ +@@ -2853,14 +3260,14 @@ return *this; } @@ -1015,7 +1392,7 @@ { return this->ptr_; } -@@ -2952,7 +3016,7 @@ +@@ -2952,7 +3359,7 @@ return *this; } @@ -1024,7 +1401,7 @@ RTCORBA::ServerProtocolPolicy_out::operator ::RTCORBA::ServerProtocolPolicy_ptr &() // cast { return this->ptr_; -@@ -2973,6 +3037,14 @@ +@@ -2973,6 +3380,14 @@ #endif /* end #if !defined */ @@ -1039,7 +1416,7 @@ #if !defined (_RTCORBA_CLIENTPROTOCOLPOLICY___VAR_CI_) #define _RTCORBA_CLIENTPROTOCOLPOLICY___VAR_CI_ -@@ -3028,14 +3100,14 @@ +@@ -3028,14 +3443,14 @@ return *this; } @@ -1057,7 +1434,7 @@ { return this->ptr_; } -@@ -3127,7 +3199,7 @@ +@@ -3127,7 +3542,7 @@ return *this; } @@ -1066,7 +1443,7 @@ RTCORBA::ClientProtocolPolicy_out::operator ::RTCORBA::ClientProtocolPolicy_ptr &() // cast { return this->ptr_; -@@ -3148,6 +3220,14 @@ +@@ -3148,6 +3563,14 @@ #endif /* end #if !defined */ @@ -1081,7 +1458,7 @@ #if !defined (_RTCORBA_CURRENT___VAR_CI_) #define _RTCORBA_CURRENT___VAR_CI_ -@@ -3203,14 +3283,14 @@ +@@ -3203,14 +3626,14 @@ return *this; } @@ -1099,7 +1476,7 @@ { return this->ptr_; } -@@ -3302,7 +3382,7 @@ +@@ -3302,7 +3725,7 @@ return *this; } @@ -1108,7 +1485,7 @@ RTCORBA::Current_out::operator ::RTCORBA::Current_ptr &() // cast { return this->ptr_; -@@ -3323,6 +3403,14 @@ +@@ -3323,6 +3746,14 @@ #endif /* end #if !defined */ @@ -1123,7 +1500,7 @@ #if !defined (_RTCORBA_MUTEX___VAR_CI_) #define _RTCORBA_MUTEX___VAR_CI_ -@@ -3378,14 +3466,14 @@ +@@ -3378,14 +3809,14 @@ return *this; } @@ -1141,7 +1518,7 @@ { return this->ptr_; } -@@ -3477,7 +3565,7 @@ +@@ -3477,7 +3908,7 @@ return *this; } @@ -1150,7 +1527,7 @@ RTCORBA::Mutex_out::operator ::RTCORBA::Mutex_ptr &() // cast { return this->ptr_; -@@ -3498,9 +3586,13 @@ +@@ -3498,9 +3929,13 @@ #endif /* end #if !defined */ @@ -1167,7 +1544,7 @@ #if !defined (_RTCORBA_RTORB___VAR_CI_) -@@ -3557,14 +3649,14 @@ +@@ -3557,14 +3992,14 @@ return *this; } @@ -1185,7 +1562,7 @@ { return this->ptr_; } -@@ -3656,7 +3748,7 @@ +@@ -3656,7 +4091,7 @@ return *this; } @@ -1194,7 +1571,7 @@ RTCORBA::RTORB_out::operator ::RTCORBA::RTORB_ptr &() // cast { return this->ptr_; -@@ -3677,6 +3769,10 @@ +@@ -3677,6 +4112,10 @@ #endif /* end #if !defined */ @@ -1205,7 +1582,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const RTCORBA::ThreadpoolLane &_tao_aggregate) { if ( -@@ -3687,7 +3783,7 @@ +@@ -3687,7 +4126,7 @@ return 1; else return 0; @@ -1214,7 +1591,7 @@ } ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, RTCORBA::ThreadpoolLane &_tao_aggregate) -@@ -3700,7 +3796,7 @@ +@@ -3700,7 +4139,7 @@ return 1; else return 0; @@ -1223,7 +1600,7 @@ } -@@ -3744,7 +3840,7 @@ +@@ -3744,7 +4183,7 @@ return 1; else return 0; @@ -1232,7 +1609,7 @@ } ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, RTCORBA::PriorityBand &_tao_aggregate) -@@ -3756,7 +3852,7 @@ +@@ -3756,7 +4195,7 @@ return 1; else return 0; @@ -1241,7 +1618,7 @@ } -@@ -3773,4 +3869,3 @@ +@@ -3773,4 +4212,3 @@ ); #endif /* _TAO_CDR_OP_RTCORBA_PriorityBands_I_ */ |