00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RT_ORB_Loader.h 00006 * 00007 * RT_ORB_Loader.h,v 1.11 2006/03/10 07:19:16 jtc Exp 00008 * 00009 * Header file for Loading RT_ORB. 00010 * 00011 * 00012 * @author Priyanka Gontla <gontla_p@ociweb.com> 00013 */ 00014 //============================================================================= 00015 00016 #ifndef TAO_RT_ORB_LOADER_H 00017 #define TAO_RT_ORB_LOADER_H 00018 #include /**/ "ace/pre.h" 00019 00020 #include "tao/RTCORBA/rtcorba_export.h" 00021 00022 #include "tao/orbconf.h" 00023 00024 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 00025 00026 #include "ace/Service_Object.h" 00027 #include "ace/Service_Config.h" 00028 00029 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00030 # pragma once 00031 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00032 00033 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00034 00035 class TAO_ORB_Core; 00036 00037 class TAO_RTCORBA_Export TAO_RT_ORB_Loader : public ACE_Service_Object 00038 { 00039 public: 00040 00041 /// Destructor. 00042 virtual ~TAO_RT_ORB_Loader (void); 00043 00044 /// Initialize the RT ORB loader hooks. 00045 virtual int init (int argc, 00046 ACE_TCHAR* []); 00047 }; 00048 00049 TAO_END_VERSIONED_NAMESPACE_DECL 00050 00051 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTCORBA, TAO_RT_ORB_Loader) 00052 ACE_FACTORY_DECLARE (TAO_RTCORBA, TAO_RT_ORB_Loader) 00053 00054 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */ 00055 00056 #include /**/ "ace/post.h" 00057 #endif /* TAO_RT_ORB_LOADER_H */