RTPortableServer::POA Interface Reference

import "RTPortableServer.pidl";

Inheritance diagram for RTPortableServer::POA:

Inheritance graph
[legend]
List of all members.

Public Types

typedef POA_ptr _ptr_type
typedef POA_var _var_type

Public Member Functions

Object create_reference_with_priority (in CORBA::RepositoryId intf, in RTCORBA::Priority priority) raises (WrongPolicy)
Object create_reference_with_id_and_priority (in PortableServer::ObjectId oid, in CORBA::RepositoryId intf, in RTCORBA::Priority priority) raises (WrongPolicy)
PortableServer::ObjectId activate_object_with_priority (in PortableServer::Servant p_servant, in RTCORBA::Priority priority) raises (ServantAlreadyActive, WrongPolicy)
void activate_object_with_id_and_priority (in PortableServer::ObjectId oid, in PortableServer::Servant p_servant, in RTCORBA::Priority priority) raises ( ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy )
virtual CORBA::Object_ptr create_reference_with_priority (const char *intf,::RTCORBA::Priority priority)=0 throw ( CORBA::SystemException, ::PortableServer::POA::WrongPolicy )
virtual CORBA::Object_ptr create_reference_with_id_and_priority (const::PortableServer::ObjectId &oid, const char *intf,::RTCORBA::Priority priority)=0 throw ( CORBA::SystemException, ::PortableServer::POA::WrongPolicy )
virtual::PortableServer::ObjectId * activate_object_with_priority (::PortableServer::Servant p_servant,::RTCORBA::Priority priority)=0 throw ( CORBA::SystemException, ::PortableServer::POA::ServantAlreadyActive, ::PortableServer::POA::WrongPolicy )
virtual void activate_object_with_id_and_priority (const::PortableServer::ObjectId &oid,::PortableServer::Servant p_servant,::RTCORBA::Priority priority)=0 throw ( CORBA::SystemException, ::PortableServer::POA::ServantAlreadyActive, ::PortableServer::POA::ObjectAlreadyActive, ::PortableServer::POA::WrongPolicy )
virtual CORBA::Boolean _is_a (const char *type_id)
virtual const char * _interface_repository_id (void) const
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)

Static Public Member Functions

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

Protected Member Functions

 POA (void)
virtual ~POA (void)

Private Member Functions

 POA (const POA &)
void operator= (const POA &)

Member Typedef Documentation

typedef POA_ptr RTPortableServer::POA::_ptr_type
 

Definition at line 112 of file RTPortableServerC.h.

typedef POA_var RTPortableServer::POA::_var_type
 

Definition at line 113 of file RTPortableServerC.h.


Constructor & Destructor Documentation

RTPortableServer::POA::POA void   )  [protected]
 

Definition at line 88 of file RTPortableServerC.cpp.

00089 {}

RTPortableServer::POA::~POA void   )  [protected, virtual]
 

Definition at line 91 of file RTPortableServerC.cpp.

00092 {}

RTPortableServer::POA::POA const POA  )  [private]
 


Member Function Documentation

RTPortableServer::POA_ptr RTPortableServer::POA::_duplicate POA_ptr  obj  )  [static]
 

Definition at line 137 of file RTPortableServerC.cpp.

References RTPortableServer::POA_ptr.

Referenced by operator<<=().

00138 {
00139   if (! ::CORBA::is_nil (obj))
00140     {
00141       obj->_add_ref ();
00142     }
00143 
00144   return obj;
00145 }

const char * RTPortableServer::POA::_interface_repository_id void   )  const [virtual]
 

Definition at line 186 of file RTPortableServerC.cpp.

00187 {
00188   return "IDL:omg.org/RTPortableServer/POA:1.0";
00189 }

CORBA::Boolean RTPortableServer::POA::_is_a const char *  type_id  )  [virtual]
 

Definition at line 154 of file RTPortableServerC.cpp.

References ACE_OS::strcmp().

00158 {
00159   if (
00160       !ACE_OS::strcmp (
00161           value,
00162           "IDL:omg.org/PortableServer/POA:2.3"
00163         ) ||
00164       !ACE_OS::strcmp (
00165           value,
00166           "IDL:omg.org/RTPortableServer/POA:1.0"
00167         ) ||
00168       !ACE_OS::strcmp (
00169           value,
00170           "IDL:omg.org/CORBA/LocalObject:1.0"
00171         ) ||
00172       !ACE_OS::strcmp (
00173           value,
00174           "IDL:omg.org/CORBA/Object:1.0"
00175         )
00176     )
00177     {
00178       return true; // success using local knowledge
00179     }
00180   else
00181     {
00182       return false;
00183     }
00184 }

RTPortableServer::POA_ptr RTPortableServer::POA::_narrow CORBA::Object_ptr  obj  )  [static]
 

Definition at line 103 of file RTPortableServerC.cpp.

References CORBA::is_nil(), and RTPortableServer::POA_ptr.

00107 {
00108   if (CORBA::is_nil (_tao_objref))
00109     {
00110       return POA::_nil ();
00111     }
00112 
00113   POA_ptr proxy =
00114     dynamic_cast<POA_ptr> (_tao_objref);
00115 
00116   return POA::_duplicate (proxy);
00117 }

POA_ptr RTPortableServer::POA::_nil void   )  [inline, static]
 

Definition at line 130 of file RTPortableServerC.h.

References RTPortableServer::POA_ptr.

00131     {
00132       return static_cast<POA_ptr> (0);
00133     }

void RTPortableServer::POA::_tao_any_destructor void *   )  [static]
 

Definition at line 95 of file RTPortableServerC.cpp.

00096 {
00097   POA *_tao_tmp_pointer =
00098     static_cast<POA *> (_tao_void_pointer);
00099   ::CORBA::release (_tao_tmp_pointer);
00100 }

void RTPortableServer::POA::_tao_release POA_ptr  obj  )  [static]
 

Definition at line 148 of file RTPortableServerC.cpp.

References RTPortableServer::POA_ptr.

00149 {
00150   ::CORBA::release (obj);
00151 }

RTPortableServer::POA_ptr RTPortableServer::POA::_unchecked_narrow CORBA::Object_ptr  obj  )  [static]
 

Definition at line 120 of file RTPortableServerC.cpp.

References CORBA::is_nil(), and RTPortableServer::POA_ptr.

00124 {
00125   if (CORBA::is_nil (_tao_objref))
00126     {
00127       return POA::_nil ();
00128     }
00129 
00130   POA_ptr proxy =
00131     dynamic_cast<POA_ptr> (_tao_objref);
00132 
00133   return POA::_duplicate (proxy);
00134 }

virtual void RTPortableServer::POA::activate_object_with_id_and_priority const::PortableServer::ObjectId &  oid,
::PortableServer::Servant  p_servant,
::RTCORBA::Priority  priority
throw ( CORBA::SystemException, ::PortableServer::POA::ServantAlreadyActive, ::PortableServer::POA::ObjectAlreadyActive, ::PortableServer::POA::WrongPolicy ) [pure virtual]
 

void RTPortableServer::POA::activate_object_with_id_and_priority in PortableServer::ObjectId  oid,
in PortableServer::Servant  p_servant,
in RTCORBA::Priority  priority
raises ( ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy )
 

virtual ::PortableServer::ObjectId* RTPortableServer::POA::activate_object_with_priority ::PortableServer::Servant  p_servant,
::RTCORBA::Priority  priority
throw ( CORBA::SystemException, ::PortableServer::POA::ServantAlreadyActive, ::PortableServer::POA::WrongPolicy ) [pure virtual]
 

PortableServer::ObjectId RTPortableServer::POA::activate_object_with_priority in PortableServer::Servant  p_servant,
in RTCORBA::Priority  priority
raises (ServantAlreadyActive, WrongPolicy)
 

virtual CORBA::Object_ptr RTPortableServer::POA::create_reference_with_id_and_priority const::PortableServer::ObjectId &  oid,
const char *  intf,
::RTCORBA::Priority  priority
throw ( CORBA::SystemException, ::PortableServer::POA::WrongPolicy ) [pure virtual]
 

Object RTPortableServer::POA::create_reference_with_id_and_priority in PortableServer::ObjectId  oid,
in CORBA::RepositoryId  intf,
in RTCORBA::Priority  priority
raises (WrongPolicy)
 

virtual CORBA::Object_ptr RTPortableServer::POA::create_reference_with_priority const char *  intf,
::RTCORBA::Priority  priority
throw ( CORBA::SystemException, ::PortableServer::POA::WrongPolicy ) [pure virtual]
 

Object RTPortableServer::POA::create_reference_with_priority in CORBA::RepositoryId  intf,
in RTCORBA::Priority  priority
raises (WrongPolicy)
 

CORBA::Boolean RTPortableServer::POA::marshal TAO_OutputCDR cdr  )  [virtual]
 

Definition at line 192 of file RTPortableServerC.cpp.

00193 {
00194   return false;
00195 }

void RTPortableServer::POA::operator= const POA  )  [private]
 


The documentation for this interface was generated from the following files:
Generated on Thu Nov 9 12:56:26 2006 for TAO_RTPortableServer by doxygen 1.3.6