Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef PI_DLL_RESIDENT_ORB_INITIALIZER_H
00015 #define PI_DLL_RESIDENT_ORB_INITIALIZER_H
00016
00017 #include "ace/pre.h"
00018 #include "ace/DLL.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024 #include "tao/PI/PI.h"
00025 #include "tao/LocalObject.h"
00026
00027
00028
00029
00030 #if defined(_MSC_VER)
00031 #pragma warning(push)
00032 #pragma warning(disable:4250)
00033 #endif
00034
00035 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00036
00037 namespace PortableInterceptor
00038 {
00039
00040
00041
00042
00043
00044
00045
00046
00047 class TAO_PI_Export DLL_Resident_ORB_Initializer
00048 : public virtual PortableInterceptor::ORBInitializer
00049 {
00050 public:
00051 DLL_Resident_ORB_Initializer (
00052 PortableInterceptor::ORBInitializer_ptr initializer,
00053 const ACE_TCHAR * dll_name);
00054 virtual ~DLL_Resident_ORB_Initializer ();
00055
00056 virtual void pre_init (
00057 ::PortableInterceptor::ORBInitInfo_ptr info
00058 );
00059
00060 virtual void post_init (
00061 ::PortableInterceptor::ORBInitInfo_ptr info
00062 );
00063
00064 private:
00065 PortableInterceptor::ORBInitializer_var initializer_;
00066 #if 1 // to re-inject the CSD vs SSLIOP bug, make this a zero
00067 ACE_DLL dll_;
00068 #else // CSD vs SSLIOP
00069 const ACE_TCHAR * dll_;
00070 #endif // CSD vs SSLIOP
00071 };
00072 }
00073 TAO_END_VERSIONED_NAMESPACE_DECL
00074
00075 #if defined(_MSC_VER)
00076 #pragma warning(pop)
00077 #endif
00078
00079 #include "ace/post.h"
00080
00081 #endif
00082
00083
00084
00085