#include <PG_Object_Group.h>
typedef ACE_Hash_Map_Manager_Ex< PortableGroup::Location, MemberInfo *, TAO_PG_Location_Hash, TAO_PG_Location_Equal_To, MemberMapMutex> TAO::TAO::PG_Object_Group::MemberMap [private] |
typedef ACE_Hash_Map_Entry<PortableGroup::Location, MemberInfo *> TAO::TAO::PG_Object_Group::MemberMap_Entry [private] |
typedef ACE_Hash_Map_Iterator_Ex< PortableGroup::Location, MemberInfo *, TAO_PG_Location_Hash, TAO_PG_Location_Equal_To, MemberMapMutex> TAO::TAO::PG_Object_Group::MemberMap_Iterator [private] |
typedef TAO_SYNCH_MUTEX TAO::TAO::PG_Object_Group::MemberMapMutex [private] |
TAO::TAO::PG_Object_Group::PG_Object_Group | ( | CORBA::ORB_ptr | orb, | |
PortableGroup::FactoryRegistry_ptr | factory_registry, | |||
TAO::PG_Object_Group_Manipulator & | manipulator, | |||
CORBA::Object_ptr | empty_group, | |||
const PortableGroup::TagGroupTaggedComponent & | tagged_component, | |||
const char * | type_id, | |||
const PortableGroup::Criteria & | the_criteria, | |||
TAO::PG_Property_Set * | type_properties | |||
) |
@TODO DOC
TAO::TAO::PG_Object_Group::~PG_Object_Group | ( | void | ) |
Destructor.
TAO::TAO::PG_Object_Group::PG_Object_Group | ( | ) | [private] |
TAO::TAO::PG_Object_Group::PG_Object_Group | ( | const PG_Object_Group & | rhs | ) | [private] |
void TAO::TAO::PG_Object_Group::add_member | ( | const PortableGroup::Location & | the_location, | |
CORBA::Object_ptr | member | |||
) |
Add a new member to the group.
the_location | the location for the new member | |
member | the member to be added |
PortableGroup::ObjectGroup_ptr TAO::TAO::PG_Object_Group::add_member_to_iogr | ( | CORBA::Object_ptr | member | ) | [private] |
void TAO::TAO::PG_Object_Group::create_member | ( | const PortableGroup::Location & | the_location, | |
const char * | type_id, | |||
const PortableGroup::Criteria & | the_criteria | |||
) |
@TODO DOC
void TAO::TAO::PG_Object_Group::create_members | ( | size_t | count | ) | [private] |
void TAO::TAO::PG_Object_Group::distribute_iogr | ( | void | ) | [private] |
void TAO::TAO::PG_Object_Group::get_group_specific_factories | ( | PortableGroup::FactoryInfos & | result | ) | const |
Note the caller receives a copy of the factoryinfos in the result argument. inefficient, but thread safe.
PortableGroup::InitialNumberMembersValue TAO::TAO::PG_Object_Group::get_initial_number_members | ( | void | ) | const |
@TODO DOC
CORBA::Object_ptr TAO::TAO::PG_Object_Group::get_member_reference | ( | const PortableGroup::Location & | the_location | ) |
@TODO DOC
PortableGroup::MembershipStyleValue TAO::TAO::PG_Object_Group::get_membership_style | ( | void | ) | const |
@TODO DOC
PortableGroup::MinimumNumberMembersValue TAO::TAO::PG_Object_Group::get_minimum_number_members | ( | void | ) | const |
@TODO DOC
PortableGroup::ObjectGroupId TAO::TAO::PG_Object_Group::get_object_group_id | ( | void | ) | const |
@TODO DOC
const PortableGroup::Location & TAO::TAO::PG_Object_Group::get_primary_location | ( | void | ) | const |
get location of primary member
void TAO::TAO::PG_Object_Group::get_properties | ( | PortableGroup::Properties_var & | result | ) | const |
@TODO DOC
PortableGroup::TypeId TAO::TAO::PG_Object_Group::get_type_id | ( | void | ) | const |
returns a duplicate caller must release
int TAO::TAO::PG_Object_Group::has_member_at | ( | const PortableGroup::Location & | location | ) |
@TODO DOC
int TAO::TAO::PG_Object_Group::increment_version | ( | void | ) | [private] |
void TAO::TAO::PG_Object_Group::initial_populate | ( | void | ) |
@TODO DOC
PortableGroup::Locations * TAO::TAO::PG_Object_Group::locations_of_members | ( | void | ) |
@TODO DOC
void TAO::TAO::PG_Object_Group::minimum_populate | ( | void | ) |
@TODO DOC
PG_Object_Group& TAO::TAO::PG_Object_Group::operator= | ( | const PG_Object_Group & | rhs | ) | [private] |
PortableGroup::ObjectGroup_ptr TAO::TAO::PG_Object_Group::reference | ( | void | ) | const |
return a duplicated reference to this group (IOGR)
void TAO::TAO::PG_Object_Group::remove_member | ( | const PortableGroup::Location & | the_location | ) |
@TODO DOC
int TAO::TAO::PG_Object_Group::set_primary_member | ( | TAO_IOP::TAO_IOR_Property * | prop, | |
const PortableGroup::Location & | the_location | |||
) |
set the replica at the given location to be primary. Note: This should return void and throw FT::PrimaryNotSet but to avoid dependancies between PortableGroup and FaultTolerance it returns a boolean result. A false return means caller should throw FT::PrimaryNot_Set.
void TAO::TAO::PG_Object_Group::set_properties_dynamically | ( | const PortableGroup::Properties & | overrides | ) |
@TODO DOC
int TAO::TAO::PG_Object_Group::empty_ [private] |
boolean true if empty group
PortableGroup::FactoryRegistry_var TAO::TAO::PG_Object_Group::factory_registry_ [private] |
Where to find the factories for replicas.
PortableGroup::FactoryInfos TAO::TAO::PG_Object_Group::group_specific_factories_ [private] |
PortableGroup::InitialNumberMembersValue TAO::TAO::PG_Object_Group::initial_number_members_ [private] |
TAO_SYNCH_MUTEX TAO::TAO::PG_Object_Group::internals_ [mutable, private] |
Protect internal state.
TAO::PG_Object_Group_Manipulator& TAO::TAO::PG_Object_Group::manipulator_ [private] |
MemberMap TAO::TAO::PG_Object_Group::members_ [private] |
PortableGroup::MinimumNumberMembersValue TAO::TAO::PG_Object_Group::minimum_number_members_ [private] |
PortableServer::ObjectId_var TAO::TAO::PG_Object_Group::object_id_ [private] |
The CORBA object id assigned to this object group
CORBA::ORB_var TAO::TAO::PG_Object_Group::orb_ [private] |
PortableGroup::Location TAO::TAO::PG_Object_Group::primary_location_ [private] |
TAO::PG_Property_Set TAO::TAO::PG_Object_Group::properties_ [private] |
PortableGroup::ObjectGroup_var TAO::TAO::PG_Object_Group::reference_ [private] |
the reference (IOGR) to this group
ACE_CString TAO::TAO::PG_Object_Group::role_ [private] |
PortableGroup::TagGroupTaggedComponent TAO::TAO::PG_Object_Group::tagged_component_ [private] |
the GroupTaggedComponent that defines this group contains: GIOP::Version component_version; TAO::String_Manager group_domain_id; PortableGroup::ObjectGroupId object_group_id; PortableGroup::ObjectGroupRefVersion object_group_ref_version;
PortableGroup::TypeId_var TAO::TAO::PG_Object_Group::type_id_ [private] |