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 throw ( ::CORBA::SystemException, ::CORBA::PolicyError ) |
virtual::CORBA::Policy_ptr | _create_policy (CORBA::PolicyType type) throw ( CORBA::SystemException , CORBA::PolicyError ) |
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 101 of file PolicyFactoryC.h. |
|
Reimplemented from CORBA::Object. Definition at line 102 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 170 of file PolicyFactoryC.cpp. References ACE_THROW_RETURN.
00174 { 00175 ACE_THROW_RETURN (CORBA::PolicyError (CORBA::BAD_POLICY_TYPE), 00176 CORBA::Policy::_nil ()); 00177 } |
|
Definition at line 112 of file PolicyFactoryC.cpp. Referenced by TAO_PolicyFactory_Registry::register_policy_factory().
00113 { 00114 if (! ::CORBA::is_nil (obj)) 00115 { 00116 obj->_add_ref (); 00117 } 00118 00119 return obj; 00120 } |
|
Reimplemented from CORBA::Object. Definition at line 157 of file PolicyFactoryC.cpp.
00158 { 00159 return "IDL:omg.org/PortableInterceptor/PolicyFactory:1.0"; 00160 } |
|
Reimplemented from CORBA::Object. Definition at line 129 of file PolicyFactoryC.cpp. References ACE_OS::strcmp().
00133 { 00134 if ( 00135 !ACE_OS::strcmp ( 00136 value, 00137 "IDL:omg.org/PortableInterceptor/PolicyFactory: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 } |
|
Definition at line 90 of file PolicyFactoryC.cpp.
00094 {
00095 return PolicyFactory::_duplicate (
00096 dynamic_cast<PolicyFactory_ptr> (_tao_objref)
00097 );
00098 }
|
|
Reimplemented from CORBA::Object. Definition at line 119 of file PolicyFactoryC.h. References PortableInterceptor::PolicyFactory_ptr. Referenced by TAO_PolicyFactory_Registry::_create_policy(), and TAO_PolicyFactory_Registry::create_policy().
00120 {
00121 return static_cast<PolicyFactory_ptr> (0);
00122 }
|
|
Definition at line 123 of file PolicyFactoryC.cpp.
00124 { 00125 ::CORBA::release (obj); 00126 } |
|
Definition at line 101 of file PolicyFactoryC.cpp.
00105 {
00106 return PolicyFactory::_duplicate (
00107 dynamic_cast<PolicyFactory_ptr> (_tao_objref)
00108 );
00109 }
|
|
|
|
|
|
Reimplemented from CORBA::Object. Definition at line 163 of file PolicyFactoryC.cpp.
00164 { 00165 return false; 00166 } |
|
|