Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO_Portable_Group_Map Class Reference

Map of GroupIds to ObjectKeys. More...

#include <Portable_Group_Map.h>

Collaboration diagram for TAO_Portable_Group_Map:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_Hash_Map_Manager_Ex<
PortableGroup::TagGroupTaggedComponent *,
Map_Entry *, TAO_GroupId_Hash,
TAO_GroupId_Equal_To, ACE_Null_Mutex
GroupId_Table
 Id hash map.
typedef GroupId_Table::iterator Iterator

Public Member Functions

 TAO_Portable_Group_Map ()
 Constructor.
 ~TAO_Portable_Group_Map (void)
 Destructor.
void add_groupid_objectkey_pair (PortableGroup::TagGroupTaggedComponent *group_id, const TAO::ObjectKey &key ACE_ENV_ARG_DECL)
void remove_groupid_objectkey_pair (const PortableGroup::TagGroupTaggedComponent *group_id, const TAO::ObjectKey &key ACE_ENV_ARG_DECL)
 Remove a GroupId->ObjectKey mapping from the map.
void dispatch (PortableGroup::TagGroupTaggedComponent *group_id, TAO_ORB_Core *orb_core, TAO_ServerRequest &request, CORBA::Object_out forward_to ACE_ENV_ARG_DECL)

Protected Attributes

TAO_SYNCH_MUTEX lock_
 Lock used to synchronize access to map_.
GroupId_Table map_
 Id map.

Detailed Description

Map of GroupIds to ObjectKeys.


Member Typedef Documentation

typedef ACE_Hash_Map_Manager_Ex< PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex> TAO_Portable_Group_Map::GroupId_Table
 

Id hash map.

typedef GroupId_Table::iterator TAO_Portable_Group_Map::Iterator
 


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Portable_Group_Map::TAO_Portable_Group_Map  ) 
 

Constructor.

TAO_Portable_Group_Map::~TAO_Portable_Group_Map void   ) 
 

Destructor.


Member Function Documentation

void TAO_Portable_Group_Map::add_groupid_objectkey_pair PortableGroup::TagGroupTaggedComponent *  group_id,
const TAO::ObjectKey &key  ACE_ENV_ARG_DECL
 

Add a GroupId->ObjectKey mapping to the map. This function takes ownership of the memory pointed to be group_id

void TAO_Portable_Group_Map::dispatch PortableGroup::TagGroupTaggedComponent *  group_id,
TAO_ORB_Core orb_core,
TAO_ServerRequest request,
CORBA::Object_out forward_to  ACE_ENV_ARG_DECL
 

Dispatch a request to all of the ObjectIds that belong to the specified group.

void TAO_Portable_Group_Map::remove_groupid_objectkey_pair const PortableGroup::TagGroupTaggedComponent *  group_id,
const TAO::ObjectKey &key  ACE_ENV_ARG_DECL
 

Remove a GroupId->ObjectKey mapping from the map.


Member Data Documentation

TAO_SYNCH_MUTEX TAO_Portable_Group_Map::lock_ [protected]
 

Lock used to synchronize access to map_.

GroupId_Table TAO_Portable_Group_Map::map_ [protected]
 

Id map.


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 23:55:45 2005 for TAO_PortableGroup by  doxygen 1.3.9.1