#include <PolicyC.h>
Public Types | |
typedef Policy_ptr | _ptr_type |
typedef Policy_var | _var_type |
typedef Policy_out | _out_type |
Public Member Functions | |
virtual CORBA::PolicyType | policy_type (void) |
virtual ::CORBA::Policy_ptr | copy (void) |
virtual void | destroy (void) |
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. | |
virtual CORBA::Boolean | _tao_encode (TAO_OutputCDR &) |
virtual CORBA::Boolean | _tao_decode (TAO_InputCDR &) |
virtual TAO_Cached_Policy_Type | _tao_cached_type (void) const |
virtual TAO_Policy_Scope | _tao_scope (void) const |
Static Public Member Functions | |
static Policy_ptr | _duplicate (Policy_ptr obj) |
static void | _tao_release (Policy_ptr obj) |
static Policy_ptr | _narrow (CORBA::Object_ptr obj) |
No-op it is just here to simplify some templates. | |
static Policy_ptr | _unchecked_narrow (CORBA::Object_ptr obj) |
static Policy_ptr | _nil (void) |
Return a NULL object. | |
static void | _tao_any_destructor (void *) |
Used in the implementation of CORBA::Any. | |
Protected Member Functions | |
Policy (void) | |
virtual void | CORBA_Policy_setup_collocation (void) |
Policy (IOP::IOR *ior, TAO_ORB_Core *orb_core) | |
Policy (TAO_Stub *objref, CORBA::Boolean _tao_collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0) | |
virtual | ~Policy (void) |
Private Member Functions | |
Policy (const Policy &) | |
void | operator= (const Policy &) |
Private Attributes | |
TAO::Collocation_Proxy_Broker * | the_TAO_Policy_Proxy_Broker_ |
Friends | |
class | TAO::Narrow_Utils< Policy > |
Definition at line 246 of file PolicyC.h.
typedef Policy_out CORBA::Policy::_out_type |
Reimplemented from CORBA::Object.
typedef Policy_ptr CORBA::Policy::_ptr_type |
Reimplemented from CORBA::Object.
typedef Policy_var CORBA::Policy::_var_type |
Reimplemented from CORBA::Object.
CORBA::Policy::Policy | ( | void | ) | [protected] |
Definition at line 514 of file PolicyC.cpp.
: the_TAO_Policy_Proxy_Broker_ (0) { this->CORBA_Policy_setup_collocation (); }
CORBA::Policy::Policy | ( | IOP::IOR * | ior, | |
TAO_ORB_Core * | orb_core | |||
) | [protected] |
Definition at line 51 of file PolicyC.inl.
: ::CORBA::Object (ior, oc), the_TAO_Policy_Proxy_Broker_ (0) { }
CORBA::Policy::Policy | ( | TAO_Stub * | objref, | |
CORBA::Boolean | _tao_collocated = false , |
|||
TAO_Abstract_ServantBase * | servant = 0 , |
|||
TAO_ORB_Core * | orb_core = 0 | |||
) | [protected] |
Definition at line 38 of file PolicyC.inl.
: ::CORBA::Object (objref, _tao_collocated, servant, oc), the_TAO_Policy_Proxy_Broker_ (0) { this->CORBA_Policy_setup_collocation (); }
CORBA::Policy::~Policy | ( | void | ) | [protected, virtual] |
Definition at line 530 of file PolicyC.cpp.
{}
CORBA::Policy::Policy | ( | const Policy & | ) | [private] |
CORBA::Policy_ptr CORBA::Policy::_duplicate | ( | Policy_ptr | obj | ) | [static] |
Definition at line 572 of file PolicyC.cpp.
{ if (! ::CORBA::is_nil (obj)) { obj->_add_ref (); } return obj; }
const char * CORBA::Policy::_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.
Definition at line 616 of file PolicyC.cpp.
{ return "IDL:omg.org/CORBA/Policy:1.0"; }
CORBA::Boolean CORBA::Policy::_is_a | ( | const char * | logical_type_id | ) | [virtual] |
Determine if we are of the type specified by the "logical_type_id".
Reimplemented from CORBA::Object.
Definition at line 589 of file PolicyC.cpp.
{ if ( !ACE_OS::strcmp ( value, "IDL:omg.org/CORBA/Policy:1.0" ) || !ACE_OS::strcmp ( value, "IDL:omg.org/CORBA/Object:1.0" ) ) { return true; // success using local knowledge } else { return this->::CORBA::Object::_is_a ( value ); } }
CORBA::Policy_ptr CORBA::Policy::_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
No-op it is just here to simplify some templates.
Reimplemented from CORBA::Object.
Definition at line 542 of file PolicyC.cpp.
{ return TAO::Narrow_Utils<Policy>::narrow ( _tao_objref, "IDL:omg.org/CORBA/Policy:1.0", CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer ); }
static Policy_ptr CORBA::Policy::_nil | ( | void | ) | [inline, static] |
Return a NULL object.
Reimplemented from CORBA::Object.
Definition at line 270 of file PolicyC.h.
{ return static_cast<Policy_ptr> (0); }
void CORBA::Policy::_tao_any_destructor | ( | void * | x | ) | [static] |
Used in the implementation of CORBA::Any.
Reimplemented from CORBA::Object.
Definition at line 534 of file PolicyC.cpp.
{ Policy *_tao_tmp_pointer = static_cast<Policy *> (_tao_void_pointer); ::CORBA::release (_tao_tmp_pointer); }
TAO_Cached_Policy_Type CORBA::Policy::_tao_cached_type | ( | void | ) | const [virtual] |
Definition at line 709 of file PolicyC.cpp.
{
return TAO_CACHED_POLICY_UNCACHED;
}
CORBA::Boolean CORBA::Policy::_tao_decode | ( | TAO_InputCDR & | ) | [virtual] |
Definition at line 703 of file PolicyC.cpp.
{ return false; }
CORBA::Boolean CORBA::Policy::_tao_encode | ( | TAO_OutputCDR & | ) | [virtual] |
Definition at line 697 of file PolicyC.cpp.
{ return false; }
void CORBA::Policy::_tao_release | ( | Policy_ptr | obj | ) | [static] |
Definition at line 583 of file PolicyC.cpp.
{ ::CORBA::release (obj); }
TAO_Policy_Scope CORBA::Policy::_tao_scope | ( | void | ) | const [virtual] |
Definition at line 715 of file PolicyC.cpp.
{
return TAO_POLICY_DEFAULT_SCOPE;
}
CORBA::Policy_ptr CORBA::Policy::_unchecked_narrow | ( | CORBA::Object_ptr | obj | ) | [static] |
Definition at line 557 of file PolicyC.cpp.
{ return TAO::Narrow_Utils<Policy>::unchecked_narrow ( _tao_objref, "IDL:omg.org/CORBA/Policy:1.0", CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer ); }
CORBA::Policy_ptr CORBA::Policy::copy | ( | void | ) |
Definition at line 443 of file PolicyC.cpp.
{ if (!this->is_evaluated ()) { ::CORBA::Object::tao_object_initialize (this); } if (this->the_TAO_Policy_Proxy_Broker_ == 0) { CORBA_Policy_setup_collocation (); } TAO::Arg_Traits< ::CORBA::Policy>::ret_val _tao_retval; TAO::Argument *_the_tao_operation_signature [] = { &_tao_retval }; TAO::Invocation_Adapter _tao_call ( this, _the_tao_operation_signature, 1, "copy", 4, this->the_TAO_Policy_Proxy_Broker_ ); _tao_call.invoke (0, 0); return _tao_retval.retn (); }
void CORBA::Policy::CORBA_Policy_setup_collocation | ( | void | ) | [protected, virtual] |
Definition at line 521 of file PolicyC.cpp.
void CORBA::Policy::destroy | ( | void | ) | [virtual] |
Definition at line 481 of file PolicyC.cpp.
{ if (!this->is_evaluated ()) { ::CORBA::Object::tao_object_initialize (this); } if (this->the_TAO_Policy_Proxy_Broker_ == 0) { CORBA_Policy_setup_collocation (); } TAO::Arg_Traits< void>::ret_val _tao_retval; TAO::Argument *_the_tao_operation_signature [] = { &_tao_retval }; TAO::Invocation_Adapter _tao_call ( this, _the_tao_operation_signature, 1, "destroy", 7, this->the_TAO_Policy_Proxy_Broker_ ); _tao_call.invoke (0, 0); }
CORBA::Boolean CORBA::Policy::marshal | ( | TAO_OutputCDR & | cdr | ) | [virtual] |
Allows us to forbid marshaling of local interfaces.
Reimplemented from CORBA::Object.
Definition at line 622 of file PolicyC.cpp.
{ return (cdr << this); }
void CORBA::Policy::operator= | ( | const Policy & | ) | [private] |
CORBA::PolicyType CORBA::Policy::policy_type | ( | void | ) | [virtual] |
Definition at line 405 of file PolicyC.cpp.
{ if (!this->is_evaluated ()) { ::CORBA::Object::tao_object_initialize (this); } if (this->the_TAO_Policy_Proxy_Broker_ == 0) { CORBA_Policy_setup_collocation (); } TAO::Arg_Traits< ::CORBA::PolicyType>::ret_val _tao_retval; TAO::Argument *_the_tao_operation_signature [] = { &_tao_retval }; TAO::Invocation_Adapter _tao_call ( this, _the_tao_operation_signature, 1, "_get_policy_type", 16, this->the_TAO_Policy_Proxy_Broker_ ); _tao_call.invoke (0, 0); return _tao_retval.retn (); }
TAO::Collocation_Proxy_Broker* CORBA::Policy::the_TAO_Policy_Proxy_Broker_ [private] |