#include <PG_Group_Factory.h>
List of all members.
Public Member Functions |
| PG_Group_Factory () |
| Constructor.
|
| ~PG_Group_Factory () |
| Destructor.
|
void | init (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableGroup::FactoryRegistry_ptr factory_registry) |
TAO::PG_Object_Group * | create_group (const char *type_id, const PortableGroup::Criteria &the_criteria, TAO::PG_Property_Set *typeid_properties) |
void | delete_group (PortableGroup::ObjectGroup_ptr object_group) |
void | delete_group (PortableGroup::ObjectGroupId group_id) |
PortableGroup::ObjectGroups * | groups_at_location (const PortableGroup::Location &the_location) |
int | insert_group (::TAO::PG_Object_Group *group) |
int | insert_group (PortableGroup::ObjectGroupId group_id,::TAO::PG_Object_Group *group) |
int | find_group (PortableGroup::ObjectGroupId group_id,::TAO::PG_Object_Group *&group) const |
int | find_group (PortableGroup::ObjectGroup_ptr object_group,::TAO::PG_Object_Group *&group) const |
int | destroy_group (PortableGroup::ObjectGroupId object_group_id) |
int | destroy_group (PortableGroup::ObjectGroup_ptr object_group) |
Private Types |
typedef
ACE_Hash_Map_Manager_Ex
< PortableGroup::ObjectGroupId,::TAO::PG_Object_Group
*, ACE_Hash< ACE_UINT64 >
, ACE_Equal_To< ACE_UINT64 >
, TAO_SYNCH_MUTEX > | Group_Map |
typedef ACE_Hash_Map_Entry
< PortableGroup::ObjectGroupId,::TAO::PG_Object_Group * > | Group_Map_Entry |
typedef
ACE_Hash_Map_Iterator_Ex
< PortableGroup::ObjectGroupId,::TAO::PG_Object_Group
*, ACE_Hash< ACE_UINT64 >
, ACE_Equal_To< ACE_UINT64 >
, TAO_SYNCH_MUTEX > | Group_Map_Iterator |
Private Attributes |
CORBA::ORB_var | orb_ |
PortableServer::POA_var | poa_ |
| Reference to the POA used to create object group references.
|
PortableGroup::FactoryRegistry_var | factory_registry_ |
| The factory registry for replica factories.
|
::TAO::PG_Object_Group_Manipulator | manipulator_ |
const char * | domain_id_ |
Group_Map | group_map_ |
Detailed Description
Member Typedef Documentation
typedef ACE_Hash_Map_Entry<PortableGroup::ObjectGroupId, ::TAO::PG_Object_Group *> TAO::PG_Group_Factory::Group_Map_Entry |
|
private |
Constructor & Destructor Documentation
TAO::PG_Group_Factory::PG_Group_Factory |
( |
| ) |
|
TAO::PG_Group_Factory::~PG_Group_Factory |
( |
void |
| ) |
|
Member Function Documentation
TAO::PG_Object_Group * TAO::PG_Group_Factory::create_group |
( |
const char * |
type_id, |
|
|
const PortableGroup::Criteria & |
the_criteria, |
|
|
TAO::PG_Property_Set * |
typeid_properties |
|
) |
| |
void TAO::PG_Group_Factory::delete_group |
( |
PortableGroup::ObjectGroup_ptr |
object_group | ) |
|
void TAO::PG_Group_Factory::delete_group |
( |
PortableGroup::ObjectGroupId |
group_id | ) |
|
int TAO::PG_Group_Factory::destroy_group |
( |
PortableGroup::ObjectGroupId |
object_group_id | ) |
|
remove group from map and delete it.
- Returns:
- bool true if found
int TAO::PG_Group_Factory::destroy_group |
( |
PortableGroup::ObjectGroup_ptr |
object_group | ) |
|
remove group from map and delete it. note: uses group id extracted from object_group
- Returns:
- bool true if found
int TAO::PG_Group_Factory::find_group |
( |
PortableGroup::ObjectGroupId |
group_id, |
|
|
::TAO::PG_Object_Group *& |
group |
|
) |
| const |
find group
- Returns:
- bool true if found
int TAO::PG_Group_Factory::find_group |
( |
PortableGroup::ObjectGroup_ptr |
object_group, |
|
|
::TAO::PG_Object_Group *& |
group |
|
) |
| const |
find group note: uses group id extracted from object_group
- Returns:
- bool true if found
int TAO::PG_Group_Factory::insert_group |
( |
::TAO::PG_Object_Group * |
group | ) |
|
insert existing group. Take ownership note: uses group id extracted from group object
- Returns:
- bool true if insertion successful
int TAO::PG_Group_Factory::insert_group |
( |
PortableGroup::ObjectGroupId |
group_id, |
|
|
::TAO::PG_Object_Group * |
group |
|
) |
| |
insert group. Take ownership
- Returns:
- bool true if insertion successful
Member Data Documentation
const char* TAO::PG_Group_Factory::domain_id_ |
|
private |
PortableGroup::FactoryRegistry_var TAO::PG_Group_Factory::factory_registry_ |
|
private |
The factory registry for replica factories.
::TAO::PG_Object_Group_Manipulator TAO::PG_Group_Factory::manipulator_ |
|
private |
Reference to the POA used to create object group references.
The documentation for this class was generated from the following files: