00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RT_ORB_Loader.h 00006 * 00007 * $Id: RT_ORB_Loader.h 87582 2009-11-16 16:04:12Z vzykov $ 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/orbconf.h" 00021 00022 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0 00023 00024 #include "tao/RTCORBA/rtcorba_export.h" 00025 #include "ace/Service_Object.h" 00026 #include "ace/Service_Config.h" 00027 00028 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00029 # pragma once 00030 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00031 00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00033 00034 class TAO_ORB_Core; 00035 00036 class TAO_RTCORBA_Export TAO_RT_ORB_Loader : public ACE_Service_Object 00037 { 00038 public: 00039 00040 /// Constructor. 00041 TAO_RT_ORB_Loader (void); 00042 00043 /// Destructor. 00044 virtual ~TAO_RT_ORB_Loader (void); 00045 00046 /// Initialize the RT ORB loader hooks. 00047 virtual int init (int argc, ACE_TCHAR* []); 00048 00049 private: 00050 /// Set to true after init is called. 00051 bool initialized_; 00052 }; 00053 00054 00055 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTCORBA, TAO_RT_ORB_Loader) 00056 ACE_FACTORY_DECLARE (TAO_RTCORBA, TAO_RT_ORB_Loader) 00057 00058 TAO_END_VERSIONED_NAMESPACE_DECL 00059 00060 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */ 00061 00062 #include /**/ "ace/post.h" 00063 #endif /* TAO_RT_ORB_LOADER_H */