Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / IORInterceptor / IORInterceptor_Adapter_Factory_Impl.h
blobadb68179abd76ca9aee0a5a89f53de8e039a3514
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file IORInterceptor_Adapter_Factory_Impl.h
7 * @author George Edwards <g.edwards@vanderbilt.edu>
8 */
9 //=============================================================================
12 #ifndef TAO_IORINTERCEPTOR_ADAPTER_FACTORY_IMPL_H
13 #define TAO_IORINTERCEPTOR_ADAPTER_FACTORY_IMPL_H
15 #include /**/ "ace/pre.h"
17 #include "tao/IORInterceptor/iorinterceptor_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/IORInterceptor_Adapter_Factory.h"
24 #include "ace/Service_Config.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 class TAO_IORInterceptor_Adapter;
30 /**
31 * @class TAO_IORInterceptor_Adapter_Factory_Impl
33 * @brief TAO_IORInterceptor_Adapter_Factory_Impl.
35 * Class that creates instances of TAO_IORInterceptor_Adapter (one per ORB).
36 * This is the derived class that contains the actual implementations.
38 class TAO_IORInterceptor_Export TAO_IORInterceptor_Adapter_Factory_Impl
39 : public TAO_IORInterceptor_Adapter_Factory
41 public:
42 virtual ~TAO_IORInterceptor_Adapter_Factory_Impl ();
44 virtual TAO_IORInterceptor_Adapter *create ();
46 // Used to force the initialization of the ORB code.
47 static int Initializer ();
50 static int
51 TAO_Requires_IORInterceptor_Initializer =
52 TAO_IORInterceptor_Adapter_Factory_Impl::Initializer ();
54 TAO_END_VERSIONED_NAMESPACE_DECL
56 ACE_STATIC_SVC_DECLARE (TAO_IORInterceptor_Adapter_Factory_Impl)
57 ACE_FACTORY_DECLARE (TAO_IORInterceptor, TAO_IORInterceptor_Adapter_Factory_Impl)
59 #define TAO_IORINTERCEPTOR_SAFE_INCLUDE
60 #include "tao/IORInterceptor/IORInterceptorC.h"
61 #undef TAO_IORINTERCEPTOR_SAFE_INCLUDE
63 #include /**/ "ace/post.h"
65 #endif /* TAO_IORINTERCEPTOR_ADAPTER_FACTORY_IMPL_H */