summaryrefslogtreecommitdiff
path: root/TAO/tao/IORTable/IOR_Table_Impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IORTable/IOR_Table_Impl.h')
-rw-r--r--TAO/tao/IORTable/IOR_Table_Impl.h113
1 files changed, 0 insertions, 113 deletions
diff --git a/TAO/tao/IORTable/IOR_Table_Impl.h b/TAO/tao/IORTable/IOR_Table_Impl.h
deleted file mode 100644
index a3f12c2d94c..00000000000
--- a/TAO/tao/IORTable/IOR_Table_Impl.h
+++ /dev/null
@@ -1,113 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// IORTable
-//
-// = FILENAME
-// Object_Adapter.h
-//
-// = AUTHOR
-// Carlos O'Ryan (coryan@uci.edu)
-//
-// ============================================================================
-
-#ifndef TAO_IOR_TABLE_IMPL_H
-#define TAO_IOR_TABLE_IMPL_H
-#include "ace/pre.h"
-
-#include "IORTable.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/Hash_Map_Manager.h"
-#include "ace/SString.h"
-
-#if defined(_MSC_VER)
-#if (_MSC_VER >= 1200)
-#pragma warning(push)
-#endif /* _MSC_VER >= 1200 */
-#pragma warning(disable:4250)
-#endif /* _MSC_VER */
-
-class TAO_IORTable_Export TAO_IOR_Table_Impl : public virtual IORTable::Table, public virtual TAO_Local_RefCounted_Object
-{
-public:
- TAO_IOR_Table_Impl (void);
- // Constructor
-
- char *find (
- const char *object_key,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- IORTable::NotFound
- ));
- // Find the object, using the locator if it is not on the table.
-
- // = The IORTable::Table methods, check the IORTable.pidl file for
- // details.
- virtual void bind (
- const char * object_key,
- const char * IOR,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- IORTable::AlreadyBound
- ));
-
- virtual void rebind (
- const char * object_key,
- const char * IOR,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void unbind (
- const char * object_key,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- IORTable::NotFound
- ));
-
- virtual void set_locator (
- IORTable::Locator_ptr the_locator,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- typedef ACE_Hash_Map_Manager<ACE_CString,ACE_CString,ACE_Null_Mutex> Map;
-
- Map map_;
- // The map
-
- IORTable::Locator_var locator_;
- // The locator
-
- ACE_SYNCH_MUTEX lock_;
- // Synchronization
-};
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-#pragma warning(pop)
-#endif /* _MSC_VER */
-
-#include "ace/post.h"
-#endif /* TAO_IOR_TABLE_IMPL */