import "Current.pidl";
Inheritance diagram for CORBA::Current:


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 &) |
|
|
Reimplemented from CORBA::Object. Implemented in CORBA::PolicyCurrent. Definition at line 100 of file CurrentC.h. |
|
|
Reimplemented from CORBA::Object. Implemented in CORBA::PolicyCurrent. Definition at line 101 of file CurrentC.h. |
|
|
Definition at line 83 of file CurrentC.cpp.
00084 {}
|
|
|
Definition at line 86 of file CurrentC.cpp.
00087 {}
|
|
|
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
Definition at line 123 of file CurrentC.cpp. References CORBA::Current_ptr.
00124 {
00125 ::CORBA::release (obj);
00126 }
|
|
|
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 }
|
|
|
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 }
|
|
|
|
1.3.6