
Public Member Functions | |
| MemberInfo (CORBA::Object_ptr member, const PortableGroup::Location &location) | |
| Construct an application-supplied member. | |
| MemberInfo (CORBA::Object_ptr member, const PortableGroup::Location &location, PortableGroup::GenericFactory_ptr factory, PortableGroup::GenericFactory::FactoryCreationId factory_id) | |
| Construct a infrastructure-created member. | |
| ~MemberInfo () | |
| Destructor. | |
Public Attributes | |
| CORBA::Object_var | member_ |
| Reference to the member. | |
| PortableGroup::GenericFactory_var | factory_ |
| PortableGroup::GenericFactory::FactoryCreationId | factory_id_ |
| FactoryCreationId assigned to the member. Empty if application created. | |
| PortableGroup::Location | location_ |
| Location where this member exists. | |
| CORBA::Boolean | is_primary_ |
| TRUE if this is primary member. | |
Definition at line 61 of file PG_Object_Group.h.
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO::PG_Object_Group::MemberInfo::MemberInfo | ( | CORBA::Object_ptr | member, | |
| const PortableGroup::Location & | location | |||
| ) |
Construct an application-supplied member.
Definition at line 31 of file PG_Object_Group.cpp.
00034 : member_ (CORBA::Object::_duplicate (member)) 00035 , factory_(PortableGroup::GenericFactory::_nil ()) 00036 , location_ (location) 00037 , is_primary_ (0) 00038 { 00039 }
| TAO::PG_Object_Group::MemberInfo::MemberInfo | ( | CORBA::Object_ptr | member, | |
| const PortableGroup::Location & | location, | |||
| PortableGroup::GenericFactory_ptr | factory, | |||
| PortableGroup::GenericFactory::FactoryCreationId | factory_id | |||
| ) |
Construct a infrastructure-created member.
Definition at line 41 of file PG_Object_Group.cpp.
00046 : member_ (CORBA::Object::_duplicate (member)) 00047 , factory_ (PortableGroup::GenericFactory::_duplicate (factory)) 00048 , factory_id_ (factory_id) 00049 , location_ (location) 00050 , is_primary_ (0) 00051 { 00052 }
| TAO::PG_Object_Group::MemberInfo::~MemberInfo | ( | ) |
Destructor.
Definition at line 54 of file PG_Object_Group.cpp.
References factory_, and CORBA::is_nil().
00055 { 00056 if( ! CORBA::is_nil (this->factory_.in())) 00057 { 00058 this->factory_->delete_object (this->factory_id_); 00059 } 00060 }
| PortableGroup::GenericFactory_var TAO::PG_Object_Group::MemberInfo::factory_ |
The factory that was used to create this object nil if application created.
Definition at line 68 of file PG_Object_Group.h.
Referenced by ~MemberInfo().
FactoryCreationId assigned to the member. Empty if application created.
Definition at line 71 of file PG_Object_Group.h.
TRUE if this is primary member.
Definition at line 78 of file PG_Object_Group.h.
Referenced by TAO::PG_Object_Group::set_primary_member().
Reference to the member.
Definition at line 64 of file PG_Object_Group.h.
Referenced by TAO::PG_Object_Group::get_member_reference(), TAO::PG_Object_Group::remove_member(), and TAO::PG_Object_Group::set_primary_member().
1.4.7