Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / TransportCurrent / Current_ORBInitializer_Base.h
blob8cc02736757cda57887cff875fbadef09e6e9087
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file Current_ORBInitializer_Base.h
7 * @author Iliyan Jeliazkov <iliyan@ociweb.com>
8 */
9 //=============================================================================
12 #ifndef CURRENT_ORBINITIALIZER_BASE_H
13 #define CURRENT_ORBINITIALIZER_BASE_H
15 #include /**/ "ace/pre.h"
17 #include "ace/SString.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/PI/PI.h"
24 #include "tao/LocalObject.h"
25 #include "tao/TransportCurrent/TCC.h"
27 #include "tao/TransportCurrent/Transport_Current_Export.h"
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 namespace TAO
33 namespace Transport
35 class TAO_Transport_Current_Export Current_ORBInitializer_Base
36 : public virtual PortableInterceptor::ORBInitializer
37 , public virtual ::CORBA::LocalObject
39 public:
40 Current_ORBInitializer_Base (const ACE_TCHAR* id);
41 virtual ~Current_ORBInitializer_Base ();
43 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr);
45 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
46 protected:
47 virtual TAO::Transport::Current_ptr
48 make_current_instance (TAO_ORB_Core* core, size_t tss_slot_id) = 0;
49 protected:
50 const ACE_TString id_;
51 Current_ORBInitializer_Base (const Current_ORBInitializer_Base &) = delete;
52 Current_ORBInitializer_Base &operator = (const Current_ORBInitializer_Base &) = delete;
54 } /* namespace Transport */
56 } /* namespace TAO */
58 TAO_END_VERSIONED_NAMESPACE_DECL
60 #include /**/ "ace/post.h"
62 #endif /* CURRENT_ORBINITIALIZER_BASE_H */