00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef CURRENT_ORBINITIALIZER_BASE_H
00015 #define CURRENT_ORBINITIALIZER_BASE_H
00016
00017 #include "ace/pre.h"
00018
00019 #include "ace/SString.h"
00020
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif
00024
00025 #include "tao/PI/PI.h"
00026 #include "tao/LocalObject.h"
00027 #include "tao/TransportCurrent/TCC.h"
00028
00029 #include "tao/TransportCurrent/Transport_Current_Export.h"
00030
00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00032
00033 namespace TAO
00034 {
00035 namespace Transport
00036 {
00037 class TAO_Transport_Current_Export Current_ORBInitializer_Base
00038 : public virtual PortableInterceptor::ORBInitializer
00039 , public virtual ::CORBA::LocalObject
00040 {
00041 public:
00042 Current_ORBInitializer_Base (const ACE_TCHAR* id);
00043 virtual ~Current_ORBInitializer_Base (void);
00044
00045 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr);
00046
00047 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
00048 protected:
00049 virtual TAO::Transport::Current_ptr
00050 make_current_instance (TAO_ORB_Core* core, size_t tss_slot_id)
00051 = 0;
00052 protected:
00053 const ACE_TString id_;
00054 };
00055
00056 }
00057
00058 }
00059
00060 TAO_END_VERSIONED_NAMESPACE_DECL
00061
00062 #include "ace/post.h"
00063
00064 #endif