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 () throw ( CORBA::SystemException ) |
| virtual::CORBA::Policy_ptr | copy () throw ( CORBA::SystemException ) |
| virtual void | destroy () throw ( CORBA::SystemException ) |
| 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) |
| 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. Implemented in CORBA::ConstructionPolicy, and TAO::BufferingConstraintPolicy. |
|
|
Reimplemented from CORBA::Object. Implemented in CORBA::ConstructionPolicy, and TAO::BufferingConstraintPolicy. |
|
|
Definition at line 535 of file PolicyC.cpp. References CORBA_Policy_setup_collocation().
00536 : the_TAO_Policy_Proxy_Broker_ (0) 00537 { 00538 this->CORBA_Policy_setup_collocation (); 00539 } |
|
||||||||||||
|
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 551 of file PolicyC.cpp.
00552 {}
|
|
|
|
|
|
Definition at line 593 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().
00594 {
00595 if (! ::CORBA::is_nil (obj))
00596 {
00597 obj->_add_ref ();
00598 }
00599
00600 return obj;
00601 }
|
|
|
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::ConstructionPolicy, and TAO::BufferingConstraintPolicy. Definition at line 637 of file PolicyC.cpp.
00638 {
00639 return "IDL:omg.org/CORBA/Policy:1.0";
00640 }
|
|
|
Determine if we are of the type specified by the "logical_type_id".
Reimplemented from CORBA::Object. Implemented in CORBA::ConstructionPolicy, and TAO::BufferingConstraintPolicy. Definition at line 610 of file PolicyC.cpp. References ACE_ENV_ARG_PARAMETER, and ACE_OS::strcmp().
00614 {
00615 if (
00616 !ACE_OS::strcmp (
00617 value,
00618 "IDL:omg.org/CORBA/Policy:1.0"
00619 ) ||
00620 !ACE_OS::strcmp (
00621 value,
00622 "IDL:omg.org/CORBA/Object:1.0"
00623 )
00624 )
00625 {
00626 return true; // success using local knowledge
00627 }
00628 else
00629 {
00630 return this->::CORBA::Object::_is_a (
00631 value
00632 ACE_ENV_ARG_PARAMETER
00633 );
00634 }
00635 }
|
|
|
Implemented in CORBA::ConstructionPolicy, and TAO::BufferingConstraintPolicy. Definition at line 563 of file PolicyC.cpp. References ACE_ENV_ARG_PARAMETER, CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer, TAO::Narrow_Utils< T >::narrow(), and CORBA::Object_ptr.
00567 {
00568 return
00569 TAO::Narrow_Utils<Policy>::narrow (
00570 _tao_objref,
00571 "IDL:omg.org/CORBA/Policy:1.0",
00572 CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer
00573 ACE_ENV_ARG_PARAMETER
00574 );
00575 }
|
|
|
Return a NULL object.
Reimplemented from CORBA::Object. Implemented in CORBA::ConstructionPolicy, and TAO::BufferingConstraintPolicy. Definition at line 275 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().
00276 {
00277 return static_cast<Policy_ptr> (0);
00278 }
|
|
|
Used in the implementation of CORBA::Any.
Reimplemented from CORBA::Object. Implemented in CORBA::ConstructionPolicy. Definition at line 555 of file PolicyC.cpp.
00556 {
00557 Policy *_tao_tmp_pointer =
00558 static_cast<Policy *> (_tao_void_pointer);
00559 ::CORBA::release (_tao_tmp_pointer);
00560 }
|
|
|
Implemented in TAO_Buffering_Constraint_Policy. Definition at line 996 of file PolicyC.cpp. References TAO_CACHED_POLICY_UNCACHED.
00997 {
00998 return TAO_CACHED_POLICY_UNCACHED;
00999 }
|
|
|
Definition at line 990 of file PolicyC.cpp.
00991 {
00992 return false;
00993 }
|
|
|
Definition at line 984 of file PolicyC.cpp.
00985 {
00986 return false;
00987 }
|
|
|
Definition at line 604 of file PolicyC.cpp. References CORBA::Policy_ptr.
00605 {
00606 ::CORBA::release (obj);
00607 }
|
|
|
Definition at line 1002 of file PolicyC.cpp. References TAO_POLICY_DEFAULT_SCOPE. Referenced by TAO_Policy_Set::copy_from().
01003 {
01004 return TAO_POLICY_DEFAULT_SCOPE;
01005 }
|
|
|
Implemented in CORBA::ConstructionPolicy, and TAO::BufferingConstraintPolicy. Definition at line 578 of file PolicyC.cpp. References ACE_ENV_ARG_PARAMETER, CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer, CORBA::Object_ptr, and TAO::Narrow_Utils< T >::unchecked_narrow().
00582 {
00583 return
00584 TAO::Narrow_Utils<Policy>::unchecked_narrow (
00585 _tao_objref,
00586 "IDL:omg.org/CORBA/Policy:1.0",
00587 CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer
00588 ACE_ENV_ARG_PARAMETER
00589 );
00590 }
|
|
|
Implemented in TAO_Buffering_Constraint_Policy, and TAO::BufferingConstraintPolicy. |
|
|
Implemented in TAO_Buffering_Constraint_Policy, and TAO::BufferingConstraintPolicy. Definition at line 456 of file PolicyC.cpp. References ACE_CHECK_RETURN, ACE_ENV_ARG_PARAMETER, and TAO::Invocation_Adapter::invoke(). Referenced by TAO_Policy_Set::copy_from(), and TAO_Policy_Set::TAO_Policy_Set().
00462 {
00463 if (!this->is_evaluated ())
00464 {
00465 ::CORBA::Object::tao_object_initialize (this);
00466 }
00467
00468 if (this->the_TAO_Policy_Proxy_Broker_ == 0)
00469 {
00470 CORBA_Policy_setup_collocation ();
00471 }
00472
00473 TAO::Arg_Traits< ::CORBA::Policy>::ret_val _tao_retval;
00474
00475 TAO::Argument *_the_tao_operation_signature [] =
00476 {
00477 &_tao_retval
00478 };
00479
00480 TAO::Invocation_Adapter _tao_call (
00481 this,
00482 _the_tao_operation_signature,
00483 1,
00484 "copy",
00485 4,
00486 this->the_TAO_Policy_Proxy_Broker_
00487 );
00488
00489 _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
00490 ACE_CHECK_RETURN (_tao_retval.excp ());
00491
00492 return _tao_retval.retn ();
00493 }
|
|
|
Definition at line 542 of file PolicyC.cpp. References the_TAO_Policy_Proxy_Broker_. Referenced by CORBA::ConstructionPolicy::CORBA_ConstructionPolicy_setup_collocation(), and Policy().
00543 {
00544 if (::CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer)
00545 {
00546 this->the_TAO_Policy_Proxy_Broker_ =
00547 ::CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer (this);
00548 }
00549 }
|
|
|
Implemented in TAO_Buffering_Constraint_Policy, and TAO::BufferingConstraintPolicy. |
|
|
Implemented in TAO_Buffering_Constraint_Policy, and TAO::BufferingConstraintPolicy. Definition at line 498 of file PolicyC.cpp. References ACE_CHECK, ACE_ENV_ARG_PARAMETER, and TAO::Invocation_Adapter::invoke(). Referenced by TAO_MProfile::~TAO_MProfile().
00504 {
00505 if (!this->is_evaluated ())
00506 {
00507 ::CORBA::Object::tao_object_initialize (this);
00508 }
00509
00510 if (this->the_TAO_Policy_Proxy_Broker_ == 0)
00511 {
00512 CORBA_Policy_setup_collocation ();
00513 }
00514
00515 TAO::Arg_Traits< void>::ret_val _tao_retval;
00516
00517 TAO::Argument *_the_tao_operation_signature [] =
00518 {
00519 &_tao_retval
00520 };
00521
00522 TAO::Invocation_Adapter _tao_call (
00523 this,
00524 _the_tao_operation_signature,
00525 1,
00526 "destroy",
00527 7,
00528 this->the_TAO_Policy_Proxy_Broker_
00529 );
00530
00531 _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
00532 ACE_CHECK;
00533 }
|
|
|
Allows us to forbid marshaling of local interfaces.
Reimplemented from CORBA::Object. Implemented in CORBA::ConstructionPolicy, and TAO::BufferingConstraintPolicy. Definition at line 643 of file PolicyC.cpp.
00644 {
00645 return (cdr << this);
00646 }
|
|
|
|
|
|
Implemented in TAO_Buffering_Constraint_Policy. |
|
|
|
|
|
Definition at line 414 of file PolicyC.cpp. Referenced by TAO_Policy_Set::set_policy_overrides().
00420 {
00421 if (!this->is_evaluated ())
00422 {
00423 ::CORBA::Object::tao_object_initialize (this);
00424 }
00425
00426 if (this->the_TAO_Policy_Proxy_Broker_ == 0)
00427 {
00428 CORBA_Policy_setup_collocation ();
00429 }
00430
00431 TAO::Arg_Traits< ::CORBA::PolicyType>::ret_val _tao_retval;
00432
00433 TAO::Argument *_the_tao_operation_signature [] =
00434 {
00435 &_tao_retval
00436 };
00437
00438 TAO::Invocation_Adapter _tao_call (
00439 this,
00440 _the_tao_operation_signature,
00441 1,
00442 "_get_policy_type",
00443 16,
00444 this->the_TAO_Policy_Proxy_Broker_
00445 );
00446
00447 _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
00448 ACE_CHECK_RETURN (_tao_retval.excp ());
00449
00450 return _tao_retval.retn ();
00451 }
|
|
|
Definition at line 332 of file PolicyC.h. Referenced by CORBA_Policy_setup_collocation(). |
1.3.6