RTCORBA::ProtocolProperties Class Reference

#include <RT_ProtocolPropertiesC.h>

Inheritance diagram for RTCORBA::ProtocolProperties:

Inheritance graph
[legend]
Collaboration diagram for RTCORBA::ProtocolProperties:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ProtocolProperties_ptr _ptr_type
typedef ProtocolProperties_var _var_type
typedef ProtocolProperties_out _out_type

Public Member Functions

virtual ::CORBA::Boolean _is_a (const char *type_id)
virtual const char * _interface_repository_id (void) const
virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr)
virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr)
virtual CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr)

Static Public Member Functions

static ProtocolProperties_ptr _duplicate (ProtocolProperties_ptr obj)
static void _tao_release (ProtocolProperties_ptr obj)
static ProtocolProperties_ptr _narrow (::CORBA::Object_ptr obj)
static ProtocolProperties_ptr _unchecked_narrow (::CORBA::Object_ptr obj)
static ProtocolProperties_ptr _nil (void)
static void _tao_any_destructor (void *)

Protected Member Functions

 ProtocolProperties (void)
virtual ~ProtocolProperties (void)

Private Member Functions

 ProtocolProperties (const ProtocolProperties &)
void operator= (const ProtocolProperties &)

Detailed Description

Definition at line 96 of file RT_ProtocolPropertiesC.h.


Member Typedef Documentation

typedef ProtocolProperties_out RTCORBA::ProtocolProperties::_out_type

Reimplemented from CORBA::Object.

Definition at line 102 of file RT_ProtocolPropertiesC.h.

typedef ProtocolProperties_ptr RTCORBA::ProtocolProperties::_ptr_type

Reimplemented from CORBA::Object.

Definition at line 100 of file RT_ProtocolPropertiesC.h.

typedef ProtocolProperties_var RTCORBA::ProtocolProperties::_var_type

Reimplemented from CORBA::Object.

Definition at line 101 of file RT_ProtocolPropertiesC.h.


Constructor & Destructor Documentation

RTCORBA::ProtocolProperties::ProtocolProperties ( void   )  [protected]

Definition at line 96 of file RT_ProtocolPropertiesC.cpp.

00097 {}

RTCORBA::ProtocolProperties::~ProtocolProperties ( void   )  [protected, virtual]

Definition at line 99 of file RT_ProtocolPropertiesC.cpp.

00100 {}

RTCORBA::ProtocolProperties::ProtocolProperties ( const ProtocolProperties  )  [private]


Member Function Documentation

RTCORBA::ProtocolProperties_ptr RTCORBA::ProtocolProperties::_duplicate ( ProtocolProperties_ptr  obj  )  [static]

Definition at line 131 of file RT_ProtocolPropertiesC.cpp.

References CORBA::Object::_add_ref(), and CORBA::is_nil().

Referenced by _narrow(), _unchecked_narrow(), TAO_RT_Protocols_Hooks::client_protocol_properties(), operator<<=(), and TAO_RT_Protocols_Hooks::server_protocol_properties().

00132 {
00133   if (! ::CORBA::is_nil (obj))
00134     {
00135       obj->_add_ref ();
00136     }
00137   
00138   return obj;
00139 }

const char * RTCORBA::ProtocolProperties::_interface_repository_id ( void   )  const [virtual]

Reimplemented from CORBA::Object.

Definition at line 173 of file RT_ProtocolPropertiesC.cpp.

00174 {
00175   return "IDL:omg.org/RTCORBA/ProtocolProperties:1.0";
00176 }

CORBA::Boolean RTCORBA::ProtocolProperties::_is_a ( const char *  type_id  )  [virtual]

Reimplemented from CORBA::Object.

Definition at line 148 of file RT_ProtocolPropertiesC.cpp.

References ACE_OS::strcmp().

00149 {
00150   if (
00151       !ACE_OS::strcmp (
00152           value,
00153           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
00154         ) ||
00155       !ACE_OS::strcmp (
00156           value,
00157           "IDL:omg.org/CORBA/LocalObject:1.0"
00158         ) ||
00159       !ACE_OS::strcmp (
00160           value,
00161           "IDL:omg.org/CORBA/Object:1.0"
00162         )
00163     )
00164     {
00165       return true; // success using local knowledge
00166     }
00167   else
00168     {
00169       return false;
00170     }
00171 }

RTCORBA::ProtocolProperties_ptr RTCORBA::ProtocolProperties::_narrow ( ::CORBA::Object_ptr  obj  )  [static]

Definition at line 111 of file RT_ProtocolPropertiesC.cpp.

References _duplicate().

00114 {
00115   return ProtocolProperties::_duplicate (
00116       dynamic_cast<ProtocolProperties_ptr> (_tao_objref)
00117     );
00118 }

static ProtocolProperties_ptr RTCORBA::ProtocolProperties::_nil ( void   )  [inline, static]

Reimplemented from CORBA::Object.

Definition at line 111 of file RT_ProtocolPropertiesC.h.

00112     {
00113       return static_cast<ProtocolProperties_ptr> (0);
00114     }

void RTCORBA::ProtocolProperties::_tao_any_destructor ( void *   )  [static]

Reimplemented from CORBA::Object.

Definition at line 103 of file RT_ProtocolPropertiesC.cpp.

References release().

Referenced by operator<<=(), and operator>>=().

00104 {
00105   ProtocolProperties *_tao_tmp_pointer =
00106     static_cast<ProtocolProperties *> (_tao_void_pointer);
00107   ::CORBA::release (_tao_tmp_pointer);
00108 }

CORBA::Boolean RTCORBA::ProtocolProperties::_tao_decode ( TAO_InputCDR in_cdr  )  [virtual]

Definition at line 196 of file RT_ProtocolPropertiesC.cpp.

00197 {
00198   return true;
00199 }

CORBA::Boolean RTCORBA::ProtocolProperties::_tao_encode ( TAO_OutputCDR out_cdr  )  [virtual]

Definition at line 188 of file RT_ProtocolPropertiesC.cpp.

00189 {
00190   return true;
00191 }

void RTCORBA::ProtocolProperties::_tao_release ( ProtocolProperties_ptr  obj  )  [static]

Definition at line 142 of file RT_ProtocolPropertiesC.cpp.

References release().

00143 {
00144   ::CORBA::release (obj);
00145 }

RTCORBA::ProtocolProperties_ptr RTCORBA::ProtocolProperties::_unchecked_narrow ( ::CORBA::Object_ptr  obj  )  [static]

Definition at line 121 of file RT_ProtocolPropertiesC.cpp.

References _duplicate().

00124 {
00125   return ProtocolProperties::_duplicate (
00126       dynamic_cast<ProtocolProperties_ptr> (_tao_objref)
00127     );
00128 }

CORBA::Boolean RTCORBA::ProtocolProperties::marshal ( TAO_OutputCDR cdr  )  [virtual]

Reimplemented from CORBA::Object.

Definition at line 179 of file RT_ProtocolPropertiesC.cpp.

00180 {
00181   return false;
00182 }

void RTCORBA::ProtocolProperties::operator= ( const ProtocolProperties  )  [private]


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:43:05 2010 for TAO_RTCORBA by  doxygen 1.4.7