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