#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 (void) |
Protected Member Functions | |
| virtual void | remove_from_parent_i (void) |
| 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 39 of file Regular_POA.h.
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 15 of file Regular_POA.cpp. References PortableServer::POAManager_ptr, and TAO_Root_POA::String.
00024 : TAO_Root_POA (name, 00025 poa_manager, 00026 policies, 00027 parent, 00028 lock, 00029 thread_lock, 00030 orb_core, 00031 object_adapter 00032 ), 00033 parent_ (parent) 00034 { 00035 } |
|
|
Definition at line 37 of file Regular_POA.cpp.
00038 {
00039 }
|
|
|
Reimplemented from TAO_Root_POA. Definition at line 42 of file Regular_POA.cpp. References TAO_Root_POA::delete_child().
00043 {
00044 // Remove POA from the parent
00045 if (this->parent_ != 0)
00046 {
00047 int const result = this->parent_->delete_child (this->name_);
00048 if (result != 0)
00049 {
00050 throw ::CORBA::OBJ_ADAPTER ();
00051 }
00052 }
00053 }
|
|
|
Reimplemented from TAO_Root_POA. Definition at line 56 of file Regular_POA.cpp.
00057 {
00058 return (parent_ == 0);
00059 }
|
|
|
Reimplemented from TAO_Root_POA. Definition at line 62 of file Regular_POA.cpp. References TAO_Root_POA::non_root_key_char(), and TAO_Root_POA::root_key_type().
00063 {
00064 if (this->parent_ != 0)
00065 {
00066 return TAO_Root_POA::non_root_key_char ();
00067 }
00068 else
00069 {
00070 return TAO_Root_POA::root_key_type ();
00071 }
00072 }
|
|
|
Reimplemented from TAO_Root_POA. Definition at line 10 of file Regular_POA.inl.
00011 {
00012 return PortableServer::POA::_duplicate (this->parent_);
00013 }
|
|
|
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 67 of file Regular_POA.h. |
1.3.6