|
Public Member Functions |
| 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) |
| ~PG_Object_Group () |
| Destructor.
|
PortableGroup::ObjectGroup_ptr | reference () const |
| return a duplicated reference to this group (IOGR)
|
void | get_group_specific_factories (PortableGroup::FactoryInfos &result) const |
const PortableGroup::Location & | get_primary_location () const |
PortableGroup::TypeId | get_type_id () const |
PortableGroup::MembershipStyleValue | get_membership_style () const |
PortableGroup::MinimumNumberMembersValue | get_minimum_number_members () const |
PortableGroup::InitialNumberMembersValue | get_initial_number_members () const |
void | set_properties_dynamically (const PortableGroup::Properties &overrides ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableGroup::InvalidProperty, PortableGroup::UnsupportedProperty) |
void | get_properties (PortableGroup::Properties_var &result) const throw (CORBA::SystemException) |
PortableGroup::ObjectGroupId | get_object_group_id () const |
void | add_member (const PortableGroup::Location &the_location, CORBA::Object_ptr member ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableGroup::ObjectNotAdded) |
int | set_primary_member (TAO_IOP::TAO_IOR_Property *prop, const PortableGroup::Location &the_location ACE_ENV_ARG_DECL) throw ( CORBA::SystemException , PortableGroup::MemberNotFound ) |
void | remove_member (const PortableGroup::Location &the_location ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableGroup::MemberNotFound) |
void | create_member (const PortableGroup::Location &the_location, const char *type_id, const PortableGroup::Criteria &the_criteria ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableGroup::MemberAlreadyPresent, PortableGroup::NoFactory, PortableGroup::ObjectNotCreated, PortableGroup::InvalidCriteria, PortableGroup::CannotMeetCriteria) |
PortableGroup::Locations * | locations_of_members (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException) |
CORBA::Object_ptr | get_member_reference (const PortableGroup::Location &the_location ACE_ENV_ARG_DECL) throw ( CORBA::SystemException, PortableGroup::MemberNotFound) |
void | initial_populate (ACE_ENV_SINGLE_ARG_DECL) |
void | minimum_populate (ACE_ENV_SINGLE_ARG_DECL) |
int | has_member_at (const PortableGroup::Location &location) |
Private Types |
typedef TAO_SYNCH_MUTEX | MemberMapMutex |
typedef ACE_Hash_Map_Manager_Ex<
PortableGroup::Location,
MemberInfo *, TAO_PG_Location_Hash,
TAO_PG_Location_Equal_To,
MemberMapMutex > | MemberMap |
typedef ACE_Hash_Map_Entry<
PortableGroup::Location,
MemberInfo * > | MemberMap_Entry |
typedef ACE_Hash_Map_Iterator_Ex<
PortableGroup::Location,
MemberInfo *, TAO_PG_Location_Hash,
TAO_PG_Location_Equal_To,
MemberMapMutex > | MemberMap_Iterator |
Private Member Functions |
int | increment_version () |
void | distribute_iogr (ACE_ENV_SINGLE_ARG_DECL) |
PortableGroup::ObjectGroup_ptr | add_member_to_iogr (CORBA::Object_ptr member ACE_ENV_ARG_DECL) |
void | create_members (size_t count ACE_ENV_ARG_DECL) throw ( CORBA::SystemException, PortableGroup::NoFactory ) |
| PG_Object_Group () |
| PG_Object_Group (const PG_Object_Group &rhs) |
PG_Object_Group & | operator= (const PG_Object_Group &rhs) |
Private Attributes |
TAO_SYNCH_MUTEX | internals_ |
CORBA::ORB_var | orb_ |
PortableGroup::FactoryRegistry_var | factory_registry_ |
| Where to find the factories for replicas.
|
TAO::PG_Object_Group_Manipulator & | manipulator_ |
int | empty_ |
| boolean true if empty group
|
ACE_CString | role_ |
PortableGroup::TypeId_var | type_id_ |
PortableGroup::TagGroupTaggedComponent | tagged_component_ |
PortableGroup::ObjectGroup_var | reference_ |
PortableServer::ObjectId_var | object_id_ |
MemberMap | members_ |
PortableGroup::Location | primary_location_ |
TAO::PG_Property_Set | properties_ |
PortableGroup::InitialNumberMembersValue | initial_number_members_ |
PortableGroup::MinimumNumberMembersValue | minimum_number_members_ |
PortableGroup::FactoryInfos | group_specific_factories_ |