00001 /* -*- C++ -*- */ 00002 00003 //============================================================================= 00004 /** 00005 * @file Current_ORBInitializer.h 00006 * 00007 * $Id: Current_ORBInitializer.h 88803 2010-02-02 11:13:27Z vzykov $ 00008 * 00009 * @author Iliyan Jeliazkov <iliyan@ociweb.com> 00010 */ 00011 //============================================================================= 00012 00013 00014 #ifndef CURRENT_ORBINITIALIZER_H 00015 #define CURRENT_ORBINITIALIZER_H 00016 00017 #include /**/ "ace/pre.h" 00018 00019 #include "tao/TransportCurrent/Current_ORBInitializer_Base.h" 00020 00021 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00022 # pragma once 00023 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00024 00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00026 00027 namespace TAO 00028 { 00029 namespace Transport 00030 { 00031 00032 template <typename Impl> 00033 class Current_ORBInitializer 00034 : public Current_ORBInitializer_Base 00035 { 00036 public: 00037 Current_ORBInitializer (const ACE_TCHAR* id); 00038 00039 protected: 00040 virtual TAO::Transport::Current_ptr 00041 make_current_instance (TAO_ORB_Core* c, size_t s); 00042 }; 00043 } 00044 } 00045 00046 TAO_END_VERSIONED_NAMESPACE_DECL 00047 00048 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE) 00049 #include "tao/TransportCurrent/Current_ORBInitializer.cpp" 00050 #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ 00051 00052 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) 00053 #pragma implementation ("tao/TransportCurrent/Current_ORBInitializer.cpp") 00054 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ 00055 00056 00057 #include /**/ "ace/post.h" 00058 00059 #endif /* CURRENT_ORBINITIALIZER_H */