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


Public Types | |
| typedef Policy_ptr | _ptr_type |
| typedef Policy_var | _var_type |
| typedef Policy_out | _out_type |
Public Member Functions | |
| Policy | copy () |
| void | destroy () |
| 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 | |
| Policy_ptr | _duplicate (Policy_ptr obj) |
| void | _tao_release (Policy_ptr obj) |
| Policy_ptr | _narrow (CORBA::Object_ptr obj) |
| No-op it is just here to simplify some templates. | |
| Policy_ptr | _unchecked_narrow (CORBA::Object_ptr obj) |
| Policy_ptr | _nil (void) |
| Return a NULL object. | |
| void | _tao_any_destructor (void *) |
| Used in the implementation of CORBA::Any. | |
Public Attributes | |
| readonly attribute PolicyType | policy_type |
Protected Member Functions | |
| Policy (void) | |
| virtual void | CORBA_Policy_setup_collocation (void) |
| Policy (IOP::IOR *ior, TAO_ORB_Core *orb_core=0) | |
| Policy (TAO_Stub *objref, CORBA::Boolean _tao_collocated=0, 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 > |
|
|
Reimplemented from CORBA::Object. |
|
|
Reimplemented from CORBA::Object. |
|
|
Reimplemented from CORBA::Object. |
|
|
Definition at line 513 of file PolicyC.cpp. References CORBA_Policy_setup_collocation().
00514 : the_TAO_Policy_Proxy_Broker_ (0) 00515 { 00516 this->CORBA_Policy_setup_collocation (); 00517 } |
|
||||||||||||
|
Definition at line 51 of file PolicyC.inl.
00055 : ::CORBA::Object (ior, oc), 00056 the_TAO_Policy_Proxy_Broker_ (0) 00057 { 00058 } |
|
||||||||||||||||||||
|
Definition at line 38 of file PolicyC.inl. References CORBA_Policy_setup_collocation().
00044 : ::CORBA::Object (objref, _tao_collocated, servant, oc), 00045 the_TAO_Policy_Proxy_Broker_ (0) 00046 { 00047 this->CORBA_Policy_setup_collocation (); 00048 } |
|
|
Definition at line 529 of file PolicyC.cpp.
00530 {}
|
|
|
|
|
|
Definition at line 571 of file PolicyC.cpp. References CORBA::Object::_add_ref(), and CORBA::Policy_ptr. Referenced by TAO_Policy_Set::get_cached_policy(), TAO_Policy_Set::get_policy(), TAO_Policy_Set::get_policy_by_index(), and TAO_Policy_Set::get_policy_overrides().
00572 {
00573 if (! ::CORBA::is_nil (obj))
00574 {
00575 obj->_add_ref ();
00576 }
00577
00578 return obj;
00579 }
|
|
|
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 615 of file PolicyC.cpp.
00616 {
00617 return "IDL:omg.org/CORBA/Policy:1.0";
00618 }
|
|
|
Determine if we are of the type specified by the "logical_type_id".
Reimplemented from CORBA::Object. Definition at line 588 of file PolicyC.cpp. References ACE_OS::strcmp().
00592 {
00593 if (
00594 !ACE_OS::strcmp (
00595 value,
00596 "IDL:omg.org/CORBA/Policy:1.0"
00597 ) ||
00598 !ACE_OS::strcmp (
00599 value,
00600 "IDL:omg.org/CORBA/Object:1.0"
00601 )
00602 )
00603 {
00604 return true; // success using local knowledge
00605 }
00606 else
00607 {
00608 return this->::CORBA::Object::_is_a (
00609 value
00610
00611 );
00612 }
00613 }
|
|
|
No-op it is just here to simplify some templates.
Reimplemented from CORBA::Object. Definition at line 541 of file PolicyC.cpp. References CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer, TAO::Narrow_Utils< T >::narrow(), and CORBA::Object_ptr.
00545 {
00546 return
00547 TAO::Narrow_Utils<Policy>::narrow (
00548 _tao_objref,
00549 "IDL:omg.org/CORBA/Policy:1.0",
00550 CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer
00551
00552 );
00553 }
|
|
|
Return a NULL object.
Reimplemented from CORBA::Object. Definition at line 274 of file PolicyC.h. References CORBA::Policy_ptr. Referenced by TAO_Policy_Set::cleanup_i(), TAO_Policy_Set::get_cached_const_policy(), TAO_Policy_Set::get_cached_policy(), and TAO_Policy_Set::get_policy().
00275 {
00276 return static_cast<Policy_ptr> (0);
00277 }
|
|
|
Used in the implementation of CORBA::Any.
Reimplemented from CORBA::Object. Definition at line 533 of file PolicyC.cpp.
00534 {
00535 Policy *_tao_tmp_pointer =
00536 static_cast<Policy *> (_tao_void_pointer);
00537 ::CORBA::release (_tao_tmp_pointer);
00538 }
|
|
|
Definition at line 708 of file PolicyC.cpp. References TAO_CACHED_POLICY_UNCACHED. Referenced by TAO_Policy_Set::set_policy().
00709 {
00710 return TAO_CACHED_POLICY_UNCACHED;
00711 }
|
|
|
Definition at line 702 of file PolicyC.cpp.
00703 {
00704 return false;
00705 }
|
|
|
Definition at line 696 of file PolicyC.cpp.
00697 {
00698 return false;
00699 }
|
|
|
Definition at line 582 of file PolicyC.cpp. References CORBA::Policy_ptr.
00583 {
00584 ::CORBA::release (obj);
00585 }
|
|
|
Definition at line 714 of file PolicyC.cpp. References TAO_POLICY_DEFAULT_SCOPE. Referenced by TAO_Policy_Set::copy_from(), and TAO_Policy_Set::set_policy().
00715 {
00716 return TAO_POLICY_DEFAULT_SCOPE;
00717 }
|
|
|
Definition at line 556 of file PolicyC.cpp. References CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer, CORBA::Object_ptr, and TAO::Narrow_Utils< T >::unchecked_narrow().
00560 {
00561 return
00562 TAO::Narrow_Utils<Policy>::unchecked_narrow (
00563 _tao_objref,
00564 "IDL:omg.org/CORBA/Policy:1.0",
00565 CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer
00566
00567 );
00568 }
|
|
|
|
|
|
Definition at line 442 of file PolicyC.cpp. References CORBA_Policy_setup_collocation(), TAO::Invocation_Adapter::invoke(), CORBA::Object::is_evaluated(), and the_TAO_Policy_Proxy_Broker_. Referenced by TAO_Policy_Set::copy_from(), TAO_Policy_Set::set_policy(), and TAO_Policy_Set::TAO_Policy_Set().
00445 {
00446 if (!this->is_evaluated ())
00447 {
00448 ::CORBA::Object::tao_object_initialize (this);
00449 }
00450
00451 if (this->the_TAO_Policy_Proxy_Broker_ == 0)
00452 {
00453 CORBA_Policy_setup_collocation ();
00454 }
00455
00456 TAO::Arg_Traits< ::CORBA::Policy>::ret_val _tao_retval;
00457
00458 TAO::Argument *_the_tao_operation_signature [] =
00459 {
00460 &_tao_retval
00461 };
00462
00463 TAO::Invocation_Adapter _tao_call (
00464 this,
00465 _the_tao_operation_signature,
00466 1,
00467 "copy",
00468 4,
00469 this->the_TAO_Policy_Proxy_Broker_
00470 );
00471
00472 _tao_call.invoke (0, 0);
00473
00474 return _tao_retval.retn ();
00475 }
|
|
|
Definition at line 520 of file PolicyC.cpp. References the_TAO_Policy_Proxy_Broker_. Referenced by copy(), destroy(), and Policy().
00521 {
00522 if (::CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer)
00523 {
00524 this->the_TAO_Policy_Proxy_Broker_ =
00525 ::CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer (this);
00526 }
00527 }
|
|
|
|
|
|
Definition at line 480 of file PolicyC.cpp. References CORBA_Policy_setup_collocation(), TAO::Invocation_Adapter::invoke(), CORBA::Object::is_evaluated(), and the_TAO_Policy_Proxy_Broker_. Referenced by TAO_MProfile::~TAO_MProfile().
00483 {
00484 if (!this->is_evaluated ())
00485 {
00486 ::CORBA::Object::tao_object_initialize (this);
00487 }
00488
00489 if (this->the_TAO_Policy_Proxy_Broker_ == 0)
00490 {
00491 CORBA_Policy_setup_collocation ();
00492 }
00493
00494 TAO::Arg_Traits< void>::ret_val _tao_retval;
00495
00496 TAO::Argument *_the_tao_operation_signature [] =
00497 {
00498 &_tao_retval
00499 };
00500
00501 TAO::Invocation_Adapter _tao_call (
00502 this,
00503 _the_tao_operation_signature,
00504 1,
00505 "destroy",
00506 7,
00507 this->the_TAO_Policy_Proxy_Broker_
00508 );
00509
00510 _tao_call.invoke (0, 0);
00511 }
|
|
|
Allows us to forbid marshaling of local interfaces.
Reimplemented from CORBA::Object. Definition at line 621 of file PolicyC.cpp.
00622 {
00623 return (cdr << this);
00624 }
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 404 of file PolicyC.cpp. Referenced by TAO_Policy_Set::set_policy(), and TAO_Policy_Set::set_policy_overrides().
00407 {
00408 if (!this->is_evaluated ())
00409 {
00410 ::CORBA::Object::tao_object_initialize (this);
00411 }
00412
00413 if (this->the_TAO_Policy_Proxy_Broker_ == 0)
00414 {
00415 CORBA_Policy_setup_collocation ();
00416 }
00417
00418 TAO::Arg_Traits< ::CORBA::PolicyType>::ret_val _tao_retval;
00419
00420 TAO::Argument *_the_tao_operation_signature [] =
00421 {
00422 &_tao_retval
00423 };
00424
00425 TAO::Invocation_Adapter _tao_call (
00426 this,
00427 _the_tao_operation_signature,
00428 1,
00429 "_get_policy_type",
00430 16,
00431 this->the_TAO_Policy_Proxy_Broker_
00432 );
00433
00434 _tao_call.invoke (0, 0);
00435
00436 return _tao_retval.retn ();
00437 }
|
|
|
Definition at line 322 of file PolicyC.h. Referenced by copy(), CORBA_Policy_setup_collocation(), and destroy(). |
1.3.6