#include <Portable_Group_Map.h>
Collaboration diagram for TAO_Portable_Group_Map:
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 | |
GroupId_Table | map_ |
Id map. |
|
Id hash map.
|
|
|
|
Constructor.
|
|
Destructor.
|
|
Add a GroupId->ObjectKey mapping to the map. This function takes ownership of the memory pointed to be group_id |
|
Dispatch a request to all of the ObjectIds that belong to the specified group. |
|
Remove a GroupId->ObjectKey mapping from the map.
|
|
Id map. @ Frank: This class will need a mutex to protect this eventually... |