#include <Regular_POA.h>
Inheritance diagram for TAO_Regular_POA:
Public Member Functions | |
TAO_Regular_POA (const String &name, PortableServer::POAManager_ptr poa_manager, const TAO_POA_Policy_Set &policies, TAO_Root_POA *parent, ACE_Lock &lock, TAO_SYNCH_MUTEX &thread_lock, TAO_ORB_Core &orb_core, TAO_Object_Adapter *object_adapter) | |
virtual | ~TAO_Regular_POA (void) |
PortableServer::POA_ptr | the_parent () throw (CORBA::SystemException) |
Protected Member Functions | |
virtual void | remove_from_parent_i () |
virtual CORBA::Boolean | root (void) const |
virtual char | root_key_type (void) |
Protected Attributes | |
TAO_Root_POA * | parent_ |
Implementation of the PortableServer::POA interface.
Definition at line 37 of file Regular_POA.h.
|
Definition at line 14 of file Regular_POA.cpp. References ACE_ENV_ARG_PARAMETER, PortableServer::POAManager_ptr, and TAO_Root_POA::String.
00023 : TAO_Root_POA (name, 00024 poa_manager, 00025 policies, 00026 parent, 00027 lock, 00028 thread_lock, 00029 orb_core, 00030 object_adapter 00031 ACE_ENV_ARG_PARAMETER), 00032 parent_ (parent) 00033 { 00034 } |
|
Definition at line 36 of file Regular_POA.cpp.
00037 { 00038 } |
|
Reimplemented from TAO_Root_POA. Definition at line 41 of file Regular_POA.cpp. References ACE_THROW, and TAO_Root_POA::delete_child().
00042 { 00043 // Remove POA from the parent 00044 if (this->parent_ != 0) 00045 { 00046 int result = this->parent_->delete_child (this->name_); 00047 if (result != 0) 00048 { 00049 ACE_THROW (CORBA::OBJ_ADAPTER ()); 00050 } 00051 } 00052 } |
|
Reimplemented from TAO_Root_POA. Definition at line 55 of file Regular_POA.cpp.
00056 { 00057 return (parent_ == 0); 00058 } |
|
Reimplemented from TAO_Root_POA. Definition at line 61 of file Regular_POA.cpp. References TAO_Root_POA::non_root_key_char(), and TAO_Root_POA::root_key_type().
00062 { 00063 if (this->parent_ != 0) 00064 { 00065 return TAO_Root_POA::non_root_key_char (); 00066 } 00067 else 00068 { 00069 return TAO_Root_POA::root_key_type (); 00070 } 00071 } |
|
Reimplemented from TAO_Root_POA. |
|
The parent of this POA, be aware that in case this pointer is nill, we are a parent. This can be achieved by deriving from this Regular_POA and pass a nill pointer as parent with the constructor. Definition at line 66 of file Regular_POA.h. |