CORBA::Current Interface Reference

import "Current.pidl";

Inheritance diagram for CORBA::Current:

Inheritance graph
[legend]
Collaboration diagram for CORBA::Current:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Current_ptr _ptr_type
typedef Current_var _var_type

Public Member Functions

virtual CORBA::Boolean _is_a (const char *type_id)
 Determine if we are of the type specified by the "logical_type_id".

virtual const char * _interface_repository_id (void) const
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 Allows us to forbid marshaling of local interfaces.


Static Public Member Functions

Current_ptr _duplicate (Current_ptr obj)
void _tao_release (Current_ptr obj)
Current_ptr _narrow (CORBA::Object_ptr obj)
Current_ptr _unchecked_narrow (CORBA::Object_ptr obj)
Current_ptr _nil (void)
 Return a NULL object.


Protected Member Functions

 Current (void)
virtual ~Current (void)

Private Member Functions

 Current (const Current &)
void operator= (const Current &)

Member Typedef Documentation

typedef Current_ptr CORBA::Current::_ptr_type
 

Reimplemented from CORBA::Object.

Implemented in CORBA::PolicyCurrent.

Definition at line 100 of file CurrentC.h.

typedef Current_var CORBA::Current::_var_type
 

Reimplemented from CORBA::Object.

Implemented in CORBA::PolicyCurrent.

Definition at line 101 of file CurrentC.h.


Constructor & Destructor Documentation

CORBA::Current::Current void   )  [protected]
 

Definition at line 83 of file CurrentC.cpp.

00084 {}

CORBA::Current::~Current void   )  [protected, virtual]
 

Definition at line 86 of file CurrentC.cpp.

00087 {}

CORBA::Current::Current const Current  )  [private]
 


Member Function Documentation

CORBA::Current_ptr CORBA::Current::_duplicate Current_ptr  obj  )  [static]
 

Definition at line 112 of file CurrentC.cpp.

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

00113 {
00114   if (! ::CORBA::is_nil (obj))
00115     {
00116       obj->_add_ref ();
00117     }
00118 
00119   return obj;
00120 }

const char * CORBA::Current::_interface_repository_id void   )  const [virtual]
 

The repository ID for the most derived class, this is an implementation method and does no remote invocations!

Reimplemented from CORBA::Object.

Implemented in CORBA::PolicyCurrent.

Definition at line 157 of file CurrentC.cpp.

00158 {
00159   return "IDL:omg.org/CORBA/Current:1.0";
00160 }

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

Determine if we are of the type specified by the "logical_type_id".

Reimplemented from CORBA::Object.

Implemented in CORBA::PolicyCurrent.

Definition at line 129 of file CurrentC.cpp.

References ACE_OS::strcmp().

00133 {
00134   if (
00135       !ACE_OS::strcmp (
00136           value,
00137           "IDL:omg.org/CORBA/Current:1.0"
00138         ) ||
00139       !ACE_OS::strcmp (
00140           value,
00141           "IDL:omg.org/CORBA/LocalObject:1.0"
00142         ) ||
00143       !ACE_OS::strcmp (
00144           value,
00145           "IDL:omg.org/CORBA/Object:1.0"
00146         )
00147     )
00148     {
00149       return true; // success using local knowledge
00150     }
00151   else
00152     {
00153       return false;
00154     }
00155 }

CORBA::Current_ptr CORBA::Current::_narrow CORBA::Object_ptr  obj  )  [static]
 

Implemented in CORBA::PolicyCurrent.

Definition at line 90 of file CurrentC.cpp.

References CORBA::Object_ptr.

00094 {
00095   return Current::_duplicate (
00096       dynamic_cast<Current_ptr> (_tao_objref)
00097     );
00098 }

Current_ptr CORBA::Current::_nil void   )  [inline, static]
 

Return a NULL object.

Reimplemented from CORBA::Object.

Implemented in CORBA::PolicyCurrent.

Definition at line 118 of file CurrentC.h.

References CORBA::Current_ptr.

00119     {
00120       return static_cast<Current_ptr> (0);
00121     }

void CORBA::Current::_tao_release Current_ptr  obj  )  [static]
 

Definition at line 123 of file CurrentC.cpp.

References CORBA::Current_ptr.

00124 {
00125   ::CORBA::release (obj);
00126 }

CORBA::Current_ptr CORBA::Current::_unchecked_narrow CORBA::Object_ptr  obj  )  [static]
 

Implemented in CORBA::PolicyCurrent.

Definition at line 101 of file CurrentC.cpp.

References CORBA::Object_ptr.

00105 {
00106   return Current::_duplicate (
00107       dynamic_cast<Current_ptr> (_tao_objref)
00108     );
00109 }

CORBA::Boolean CORBA::Current::marshal TAO_OutputCDR cdr  )  [virtual]
 

Allows us to forbid marshaling of local interfaces.

Reimplemented from CORBA::Object.

Implemented in CORBA::PolicyCurrent.

Definition at line 163 of file CurrentC.cpp.

00164 {
00165   return false;
00166 }

void CORBA::Current::operator= const Current  )  [private]
 


The documentation for this interface was generated from the following files:
Generated on Thu Nov 9 12:24:41 2006 for TAO by doxygen 1.3.6