Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / IORTable / Async_IOR_Table_Impl.h
blobe5ce2e137a622f790be6c4196185ae9c231573cd
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Async_IOR_Table_Impl.h
7 * @author Phil Mesnier <mesnier_p@ociweb.com>
8 */
9 //=============================================================================
12 #ifndef TAO_ASYNC_IOR_TABLE_IMPL_H
13 #define TAO_ASYNC_IOR_TABLE_IMPL_H
15 #include /**/ "ace/pre.h"
17 #include "tao/IORTable/Async_IORTable.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "ace/Hash_Map_Manager_T.h"
24 #include "ace/Null_Mutex.h"
25 #include "tao/LocalObject.h"
26 #include "ace/SString.h"
27 #include "tao/Objref_VarOut_T.h"
28 #include "tao/IORTable/IOR_Table_Impl.h"
30 #if defined(_MSC_VER)
31 #pragma warning(push)
32 #pragma warning(disable:4250)
33 #endif /* _MSC_VER */
35 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
37 class TAO_Async_IOR_Table_Impl : public virtual TAO_IOR_Table_Impl
39 public:
40 /// Constructor
41 TAO_Async_IOR_Table_Impl ();
42 virtual ~TAO_Async_IOR_Table_Impl ();
44 virtual bool async_available () { return true; }
46 virtual void async_find (::IORTable::Locate_ResponseHandler rh,
47 const char *object_key);
49 virtual void set_locator (IORTable::Locator_ptr locator);
51 private:
52 /// The locator
53 IORTable::AsyncLocator_var async_locator_;
56 TAO_END_VERSIONED_NAMESPACE_DECL
58 #if defined(_MSC_VER)
59 #pragma warning(pop)
60 #endif /* _MSC_VER */
62 #include /**/ "ace/post.h"
64 #endif /* TAO_ASYNC_IOR_TABLE_IMPL */