00001 // -*- C++ -*- 00002 00003 00004 //============================================================================= 00005 /** 00006 * @file IORManip_Loader.h 00007 * 00008 * $Id: IORManip_Loader.h 84281 2009-01-30 15:01:17Z wotte $ 00009 * 00010 * @author Carlos O'Ryan <coryan@uci.edu> 00011 */ 00012 //============================================================================= 00013 00014 00015 #ifndef TAO_IORMANIP_LOADER_H 00016 #define TAO_IORMANIP_LOADER_H 00017 #include /**/ "ace/pre.h" 00018 00019 #include "tao/IORManipulation/ior_manip_export.h" 00020 #include "tao/Object_Loader.h" 00021 #include "ace/Service_Config.h" 00022 00023 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00024 # pragma once 00025 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00026 00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00028 00029 class TAO_IORManip_Export TAO_IORManip_Loader : public TAO_Object_Loader 00030 { 00031 public: 00032 /// Constructor 00033 TAO_IORManip_Loader (void); 00034 00035 /// Creates a IORManip factory and returns it. 00036 virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb, 00037 int argc, 00038 ACE_TCHAR *argv []); 00039 00040 /// Used to force the initialization of the ORB code. 00041 static int Initializer (void); 00042 }; 00043 00044 static int 00045 TAO_Requires_IORManip_Initializer = TAO_IORManip_Loader::Initializer (); 00046 00047 00048 ACE_STATIC_SVC_DECLARE (TAO_IORManip_Loader) 00049 ACE_FACTORY_DECLARE (TAO_IORManip, TAO_IORManip_Loader) 00050 00051 TAO_END_VERSIONED_NAMESPACE_DECL 00052 00053 #define TAO_IORMANIP_SAFE_INCLUDE 00054 #include "tao/IORManipulation/IORC.h" 00055 #undef TAO_IORMANIP_SAFE_INCLUDE 00056 00057 #include /**/ "ace/post.h" 00058 #endif /* TAO_IORManip_H */