#include <PG_Object_Group.h>
|
| 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, const TAO::PG_Property_Set_var &type_properties) |
|
| PG_Object_Group (CORBA::ORB_ptr orb, PortableGroup::FactoryRegistry_ptr factory_registry, TAO::PG_Object_Group_Manipulator &manipulator) |
|
virtual | ~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 |
|
virtual const PortableGroup::Location & | get_primary_location () |
|
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) |
|
void | get_properties (PortableGroup::Properties_var &result) const |
|
virtual PortableGroup::ObjectGroupId | get_object_group_id () const |
|
virtual void | add_member (const PortableGroup::Location &the_location, CORBA::Object_ptr member) |
|
virtual int | set_primary_member (TAO_IOP::TAO_IOR_Property *prop, const PortableGroup::Location &the_location) |
|
virtual void | remove_member (const PortableGroup::Location &the_location) |
|
virtual void | create_member (const PortableGroup::Location &the_location, const char *type_id, const PortableGroup::Criteria &the_criteria) |
|
virtual PortableGroup::Locations * | locations_of_members () |
|
virtual CORBA::Object_ptr | get_member_reference (const PortableGroup::Location &the_location) |
|
virtual void | initial_populate () |
|
virtual void | minimum_populate () |
|
virtual int | has_member_at (const PortableGroup::Location &location) |
|
virtual void | distribute (int value) |
|
virtual void | set_name (const char *group_name) |
|
virtual const char * | get_name () |
|
◆ MemberMap
◆ MemberMap_Entry
◆ MemberMap_Iterator
◆ MemberMapMutex
◆ PG_Object_Group() [1/4]
◆ PG_Object_Group() [2/4]
This constructor is to be used for initialization when reading the object group from a stream.
◆ ~PG_Object_Group()
TAO::PG_Object_Group::~PG_Object_Group |
( |
| ) |
|
|
virtual |
◆ PG_Object_Group() [3/4]
TAO::PG_Object_Group::PG_Object_Group |
( |
| ) |
|
|
private |
◆ PG_Object_Group() [4/4]
◆ add_member()
Add a new member to the group.
- Parameters
-
the_location | the location for the new member |
member | the member to be added |
Reimplemented in TAO::PG_Object_Group_Storable.
◆ add_member_to_iogr()
PortableGroup::ObjectGroup_ptr TAO::PG_Object_Group::add_member_to_iogr |
( |
CORBA::Object_ptr | member | ) |
|
|
protectedvirtual |
◆ clear_members_map()
void TAO::PG_Object_Group::clear_members_map |
( |
| ) |
|
|
protected |
◆ create_member()
◆ create_members()
void TAO::PG_Object_Group::create_members |
( |
size_t | count | ) |
|
|
private |
◆ distribute()
void TAO::PG_Object_Group::distribute |
( |
int | value | ) |
|
|
virtual |
◆ distribute_iogr()
void TAO::PG_Object_Group::distribute_iogr |
( |
| ) |
|
|
private |
◆ get_group_specific_factories()
Note the caller receives a copy of the factoryinfos in the result argument. inefficient, but thread safe.
◆ get_initial_number_members()
◆ get_member_reference()
◆ get_membership_style()
◆ get_minimum_number_members()
◆ get_name()
const char * TAO::PG_Object_Group::get_name |
( |
| ) |
|
|
virtual |
◆ get_object_group_id()
PortableGroup::ObjectGroupId TAO::PG_Object_Group::get_object_group_id |
( |
| ) |
const |
|
virtual |
◆ get_primary_location()
◆ get_properties()
void TAO::PG_Object_Group::get_properties |
( |
PortableGroup::Properties_var & | result | ) |
const |
◆ get_type_id()
PortableGroup::TypeId TAO::PG_Object_Group::get_type_id |
( |
| ) |
const |
returns a duplicate caller must release
◆ has_member_at()
◆ increment_version()
int TAO::PG_Object_Group::increment_version |
( |
| ) |
|
|
private |
◆ initial_populate()
void TAO::PG_Object_Group::initial_populate |
( |
| ) |
|
|
virtual |
◆ locations_of_members()
◆ minimum_populate()
void TAO::PG_Object_Group::minimum_populate |
( |
| ) |
|
|
virtual |
◆ operator=()
◆ reference()
PortableGroup::ObjectGroup_ptr TAO::PG_Object_Group::reference |
( |
| ) |
const |
return a duplicated reference to this group (IOGR)
◆ remove_member()
◆ set_name()
void TAO::PG_Object_Group::set_name |
( |
const char * | group_name | ) |
|
|
virtual |
◆ set_primary_member()
int TAO::PG_Object_Group::set_primary_member |
( |
TAO_IOP::TAO_IOR_Property * | prop, |
|
|
const PortableGroup::Location & | the_location ) |
|
virtual |
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.
Reimplemented in TAO::PG_Object_Group_Storable.
◆ set_properties_dynamically()
◆ distribute_
int TAO::PG_Object_Group::distribute_ |
|
protected |
boolean true if updates should be distributed
◆ empty_
int TAO::PG_Object_Group::empty_ |
|
protected |
boolean true if empty group
◆ factory_registry_
PortableGroup::FactoryRegistry_var TAO::PG_Object_Group::factory_registry_ |
|
private |
Where to find the factories for replicas.
◆ group_name_
char* TAO::PG_Object_Group::group_name_ |
|
protected |
an optional attribute of the object group which is a string name that is assigned to the object group by the creator.
◆ group_specific_factories_
◆ initial_number_members_
◆ internals_
◆ manipulator_
◆ members_
◆ minimum_number_members_
◆ object_id_
The CORBA object id assigned to this object group
◆ orb_
◆ primary_location_
◆ properties_
◆ reference_
PortableGroup::ObjectGroup_var TAO::PG_Object_Group::reference_ |
|
protected |
the reference (IOGR) to this group
◆ role_
◆ tagged_component_
PortableGroup::TagGroupTaggedComponent TAO::PG_Object_Group::tagged_component_ |
|
protected |
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;
◆ type_id_
PortableGroup::TypeId_var TAO::PG_Object_Group::type_id_ |
|
protected |
The documentation for this class was generated from the following files: