#include <NAM_Map.h>
Collaboration diagram for CIAO::NAM_Map:
Public Member Functions | |
NAM_Map (void) | |
Constructor. | |
bool | is_available (const ACE_CString &str) const |
Determine if there is a NAM associated with a UUID. | |
bool | insert_nam (const ACE_CString &str, const PortableServer::ObjectId &oid) |
Insert a NAM OID into the collection. | |
::PortableServer::ObjectId | get_nam (const ACE_CString &str) |
Get a specified NAM. | |
bool | remove_nam (const PortableServer::ObjectId &oid) |
Remove a nam from the map, given its oid. | |
Private Types | |
typedef ACE_Hash_Map_Manager_Ex< ACE_CString,::PortableServer::ObjectId_var, ACE_Hash< ACE_CString >, ACE_Equal_To< ACE_CString >, ACE_Null_Mutex > | MAP |
typedef MAP::iterator | Iterator |
Private Attributes | |
MAP | map_ |
This table is used by the NodeManager to keep track of NAMs started for multiple assemblies.
typedef ACE_Hash_Map_Manager_Ex<ACE_CString, ::PortableServer::ObjectId_var, ACE_Hash<ACE_CString>, ACE_Equal_To<ACE_CString>, ACE_Null_Mutex> CIAO::NAM_Map::MAP [private] |
typedef MAP::iterator CIAO::NAM_Map::Iterator [private] |
CIAO::NAM_Map::NAM_Map | ( | void | ) |
Constructor.
bool CIAO::NAM_Map::is_available | ( | const ACE_CString & | str | ) | const |
Determine if there is a NAM associated with a UUID.
bool CIAO::NAM_Map::insert_nam | ( | const ACE_CString & | str, | |
const PortableServer::ObjectId & | oid | |||
) |
Insert a NAM OID into the collection.
PortableServer::ObjectId CIAO::NAM_Map::get_nam | ( | const ACE_CString & | str | ) |
Get a specified NAM.
bool CIAO::NAM_Map::remove_nam | ( | const PortableServer::ObjectId & | oid | ) |
Remove a nam from the map, given its oid.
MAP CIAO::NAM_Map::map_ [private] |