3 //=============================================================================
5 * @file Current_ORBInitializer_Base.h
7 * @author Iliyan Jeliazkov <iliyan@ociweb.com>
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)
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
35 class TAO_Transport_Current_Export Current_ORBInitializer_Base
36 : public virtual PortableInterceptor::ORBInitializer
37 , public virtual ::CORBA::LocalObject
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
);
47 virtual TAO::Transport::Current_ptr
48 make_current_instance (TAO_ORB_Core
* core
, size_t tss_slot_id
) = 0;
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 */
58 TAO_END_VERSIONED_NAMESPACE_DECL
60 #include /**/ "ace/post.h"
62 #endif /* CURRENT_ORBINITIALIZER_BASE_H */