Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PortableInterceptor::ObjectReferenceTemplate Interface Reference

#include <ObjectReferenceTemplateC.h>

Inheritance diagram for PortableInterceptor::ObjectReferenceTemplate:

Inheritance graph
[legend]
Collaboration diagram for PortableInterceptor::ObjectReferenceTemplate:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ObjectReferenceTemplate * _ptr_type
typedef ObjectReferenceTemplate_var _var_type

Public Methods

virtual const char * _tao_obv_repository_id () const
 TAO extension. More...

virtual char * server_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)=0
virtual char * orb_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)=0
virtual::PortableInterceptor::AdapterName * adapter_name (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)=0

Static Public Methods

ObjectReferenceTemplate * _downcast (CORBA::ValueBase *)
CORBA::Boolean _tao_unmarshal (TAO_InputCDR &, ObjectReferenceTemplate *&)
const char * _tao_obv_static_repository_id ()
void _tao_any_destructor (void *)

Public Attributes

readonly attribute ServerId server_id
readonly attribute ORBId orb_id
readonly attribute AdapterName adapter_name

Protected Methods

 ObjectReferenceTemplate ()
virtual ~ObjectReferenceTemplate ()
virtual void * _tao_obv_narrow (ptr_arith_t)
virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &)
 during marshal jump to the most derived part. More...

virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &)
 called after obtaining the fresh object from create_for_unmarshal (). More...


Private Methods

 ObjectReferenceTemplate (const ObjectReferenceTemplate &)
void operator= (const ObjectReferenceTemplate &)

Member Typedef Documentation

typedef ObjectReferenceTemplate* PortableInterceptor::ObjectReferenceTemplate::_ptr_type
 

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 293 of file ObjectReferenceTemplateC.h.

typedef ObjectReferenceTemplate_var PortableInterceptor::ObjectReferenceTemplate::_var_type
 

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 294 of file ObjectReferenceTemplateC.h.


Constructor & Destructor Documentation

ACE_INLINE PortableInterceptor::ObjectReferenceTemplate::ObjectReferenceTemplate   [protected]
 

Definition at line 37 of file ObjectReferenceTemplateC.i.

Referenced by _downcast, and _tao_any_destructor.

00038 {}

ACE_INLINE PortableInterceptor::ObjectReferenceTemplate::~ObjectReferenceTemplate   [protected, virtual]
 

Definition at line 41 of file ObjectReferenceTemplateC.i.

00042 {}

PortableInterceptor::ObjectReferenceTemplate::ObjectReferenceTemplate const ObjectReferenceTemplate &    [private]
 


Member Function Documentation

PortableInterceptor::ObjectReferenceTemplate * PortableInterceptor::ObjectReferenceTemplate::_downcast CORBA::ValueBase   [static]
 

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 802 of file ObjectReferenceTemplateC.cpp.

References _downcast, _tao_obv_narrow, ObjectReferenceTemplate, and ptr_arith_t.

Referenced by _downcast, _tao_obv_narrow, and operator<<.

00803 {
00804   if (v == 0)
00805     {
00806       return 0;
00807     }
00808 
00809   return (ObjectReferenceTemplate* ) v->_tao_obv_narrow ((ptr_arith_t) &_downcast);
00810 }

void PortableInterceptor::ObjectReferenceTemplate::_tao_any_destructor void *    [static]
 

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 859 of file ObjectReferenceTemplateC.cpp.

References ObjectReferenceTemplate.

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

00860 {
00861   ObjectReferenceTemplate *tmp = ACE_static_cast (ObjectReferenceTemplate*, _tao_void_pointer);
00862   delete tmp;
00863 }

CORBA::Boolean PortableInterceptor::ObjectReferenceTemplate::_tao_marshal_v TAO_OutputCDR   [protected, virtual]
 

during marshal jump to the most derived part.

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 848 of file ObjectReferenceTemplateC.cpp.

00849 {
00850   return 0;
00851 }

void * PortableInterceptor::ObjectReferenceTemplate::_tao_obv_narrow ptr_arith_t    [protected, virtual]
 

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 827 of file ObjectReferenceTemplateC.cpp.

References _downcast, PortableInterceptor::ObjectReferenceFactory::_tao_obv_narrow, and ptr_arith_t.

Referenced by _downcast.

00828 {
00829   if (type_id == (ptr_arith_t) &_downcast)
00830     {
00831       return this;
00832     }
00833 
00834   void *rval = 0;
00835 
00836   if (rval == 0)
00837     {
00838 #if defined (_MSC_VER)
00839       rval = this->PortableInterceptor_ObjectReferenceFactory_tao_obv_narrow (type_id);
00840 #else
00841       rval = this->PortableInterceptor::ObjectReferenceFactory::_tao_obv_narrow (type_id);
00842 #endif /* _MSC_VER */
00843     }
00844 
00845   return rval;
00846 }

const char * PortableInterceptor::ObjectReferenceTemplate::_tao_obv_repository_id   const [virtual]
 

TAO extension.

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 812 of file ObjectReferenceTemplateC.cpp.

References _tao_obv_static_repository_id.

00813 {
00814   return this->_tao_obv_static_repository_id ();
00815 }

ACE_INLINE const char * PortableInterceptor::ObjectReferenceTemplate::_tao_obv_static_repository_id   [static]
 

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 45 of file ObjectReferenceTemplateC.i.

Referenced by _tao_obv_repository_id.

00046 {
00047   return "IDL:omg.org/PortableInterceptor/ObjectReferenceTemplate:1.0";
00048 }

CORBA::Boolean PortableInterceptor::ObjectReferenceTemplate::_tao_unmarshal TAO_InputCDR  ,
ObjectReferenceTemplate *&   
[static]
 

Definition at line 865 of file ObjectReferenceTemplateC.cpp.

Referenced by operator>>.

00869 {
00870   CORBA::ValueBase *base;
00871   CORBA::ValueFactory_var factory;
00872   CORBA::Boolean retval =
00873     CORBA::ValueBase::_tao_unmarshal_pre (
00874         strm,
00875         factory.out (),
00876         base,
00877         ObjectReferenceTemplate::_tao_obv_static_repository_id ()
00878       );
00879 
00880   if (retval == 0 || factory.in () == 0)
00881     {
00882       return 0;
00883     }
00884 
00885   base = factory->create_for_unmarshal ();
00886 
00887   if (base == 0)
00888     {
00889       return 0;  // %! except.?
00890     }
00891 
00892   retval = base->_tao_unmarshal_v (strm);
00893 
00894   if (retval == 0)
00895     {
00896       return 0;
00897     }
00898 
00899   // Now base must be null or point to the unmarshaled object.
00900   // Align the pointer to the right subobject.
00901   new_object = ObjectReferenceTemplate::_downcast (base);
00902   return retval;
00903 }

CORBA::Boolean PortableInterceptor::ObjectReferenceTemplate::_tao_unmarshal_v TAO_InputCDR   [protected, virtual]
 

called after obtaining the fresh object from create_for_unmarshal ().

Implements PortableInterceptor::ObjectReferenceFactory.

Definition at line 853 of file ObjectReferenceTemplateC.cpp.

00854 {
00855   return 0;
00856 }

virtual ::PortableInterceptor::AdapterName* PortableInterceptor::ObjectReferenceTemplate::adapter_name ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    [pure virtual]
 

void PortableInterceptor::ObjectReferenceTemplate::operator= const ObjectReferenceTemplate &    [private]
 

virtual char* PortableInterceptor::ObjectReferenceTemplate::orb_id ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    [pure virtual]
 

virtual char* PortableInterceptor::ObjectReferenceTemplate::server_id ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    [pure virtual]
 


Member Data Documentation

readonly attribute AdapterName PortableInterceptor::ObjectReferenceTemplate::adapter_name
 

Definition at line 60 of file ObjectReferenceTemplate.pidl.

readonly attribute ORBId PortableInterceptor::ObjectReferenceTemplate::orb_id
 

Definition at line 59 of file ObjectReferenceTemplate.pidl.

readonly attribute ServerId PortableInterceptor::ObjectReferenceTemplate::server_id
 

Definition at line 58 of file ObjectReferenceTemplate.pidl.


The documentation for this interface was generated from the following files:
Generated on Mon Jun 16 16:11:34 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002