import "PolicyFactory.pidl";
Inheritance diagram for PortableInterceptor::PolicyFactory:
Public Types | |
typedef PolicyFactory_ptr | _ptr_type |
typedef PolicyFactory_var | _var_type |
Public Member Functions | |
CORBA::Policy | create_policy (in CORBA::PolicyType type, in any value) raises (CORBA::PolicyError) |
virtual::CORBA::Policy_ptr | create_policy (::CORBA::PolicyType type, const::CORBA::Any &value)=0 |
virtual::CORBA::Policy_ptr | _create_policy (CORBA::PolicyType type) |
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 | |
PolicyFactory_ptr | _duplicate (PolicyFactory_ptr obj) |
void | _tao_release (PolicyFactory_ptr obj) |
PolicyFactory_ptr | _narrow (::CORBA::Object_ptr obj) |
PolicyFactory_ptr | _unchecked_narrow (::CORBA::Object_ptr obj) |
PolicyFactory_ptr | _nil (void) |
Protected Member Functions | |
PolicyFactory (void) | |
virtual | ~PolicyFactory (void) |
Private Member Functions | |
PolicyFactory (const PolicyFactory &) | |
void | operator= (const PolicyFactory &) |
|
Reimplemented from CORBA::Object. Definition at line 99 of file PolicyFactoryC.h. |
|
Reimplemented from CORBA::Object. Definition at line 100 of file PolicyFactoryC.h. |
|
Definition at line 83 of file PolicyFactoryC.cpp.
00084 {} |
|
Definition at line 86 of file PolicyFactoryC.cpp.
00087 {} |
|
|
|
Definition at line 165 of file PolicyFactoryC.cpp.
00166 { 00167 throw ::CORBA::PolicyError (CORBA::BAD_POLICY_TYPE); 00168 } |
|
Definition at line 110 of file PolicyFactoryC.cpp. Referenced by TAO_PolicyFactory_Registry::register_policy_factory().
00111 { 00112 if (! ::CORBA::is_nil (obj)) 00113 { 00114 obj->_add_ref (); 00115 } 00116 00117 return obj; 00118 } |
|
Reimplemented from CORBA::Object. Definition at line 152 of file PolicyFactoryC.cpp.
00153 { 00154 return "IDL:omg.org/PortableInterceptor/PolicyFactory:1.0"; 00155 } |
|
Reimplemented from CORBA::Object. Definition at line 127 of file PolicyFactoryC.cpp. References ACE_OS::strcmp().
00128 { 00129 if ( 00130 !ACE_OS::strcmp ( 00131 value, 00132 "IDL:omg.org/PortableInterceptor/PolicyFactory:1.0" 00133 ) || 00134 !ACE_OS::strcmp ( 00135 value, 00136 "IDL:omg.org/CORBA/LocalObject:1.0" 00137 ) || 00138 !ACE_OS::strcmp ( 00139 value, 00140 "IDL:omg.org/CORBA/Object:1.0" 00141 ) 00142 ) 00143 { 00144 return true; // success using local knowledge 00145 } 00146 else 00147 { 00148 return false; 00149 } 00150 } |
|
Definition at line 90 of file PolicyFactoryC.cpp.
00093 {
00094 return PolicyFactory::_duplicate (
00095 dynamic_cast<PolicyFactory_ptr> (_tao_objref)
00096 );
00097 }
|
|
Reimplemented from CORBA::Object. Definition at line 117 of file PolicyFactoryC.h. References PortableInterceptor::PolicyFactory_ptr. Referenced by TAO_PolicyFactory_Registry::_create_policy(), and TAO_PolicyFactory_Registry::create_policy().
00118 {
00119 return static_cast<PolicyFactory_ptr> (0);
00120 }
|
|
Definition at line 121 of file PolicyFactoryC.cpp.
00122 { 00123 ::CORBA::release (obj); 00124 } |
|
Definition at line 100 of file PolicyFactoryC.cpp.
00103 {
00104 return PolicyFactory::_duplicate (
00105 dynamic_cast<PolicyFactory_ptr> (_tao_objref)
00106 );
00107 }
|
|
|
|
|
|
Reimplemented from CORBA::Object. Definition at line 158 of file PolicyFactoryC.cpp.
00159 { 00160 return false; 00161 } |
|
|