diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/NodeManager/NAM_Map.h')
-rw-r--r-- | TAO/CIAO/DAnCE/NodeManager/NAM_Map.h | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/TAO/CIAO/DAnCE/NodeManager/NAM_Map.h b/TAO/CIAO/DAnCE/NodeManager/NAM_Map.h deleted file mode 100644 index 4cd115d64ed..00000000000 --- a/TAO/CIAO/DAnCE/NodeManager/NAM_Map.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * @file NAM_Map.h - * @author Will Otte <wotte@dre.vanderbilt.edu> - * - * Map of NodeApplicationManagers, inspired by the DAM_Map - * class. - * - * $Id$ - */ - -#ifndef CIAO_NAM_MAP_H -#define CIAO_NAM_MAP_H - -#include /**/ "ace/pre.h" - -#include "ace/Null_Mutex.h" -#include "ace/Hash_Map_Manager.h" -#include "ciao/DeploymentC.h" -#include "ace/SString.h" -#include "tao/PortableServer/PortableServer.h" -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -namespace CIAO -{ - /** - * @class NAM_Map - * @brief Implementation of a map of NodeApplicationManagers. - * - * This table is used by the Node_Daemon to keep track of - * NAMs started for multiple assemblies. - */ - class NAM_Map - { - public: - /// Constructor - NAM_Map (void); - - /// Determine if there is a NAM associated with a UUID - bool is_available (const ACE_CString &str); - - /// Insert a NAM OID into the collection - bool insert_nam (const ACE_CString &str, - const PortableServer::ObjectId &oid); - - /// Get a specified NAM. - ::PortableServer::ObjectId - get_nam (const ACE_CString &str); - - /// Remove a nam from the map, given its oid. - bool remove_nam (const PortableServer::ObjectId &oid); - - private: - 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; - - MAP map_; - - }; -} - -#include /**/ "ace/post.h" - -#endif /*CIAO_NAM_MAP_H*/ |