00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RTScheduler_Loader.h 00006 * 00007 * $Id: RTScheduler_Loader.h 90353 2010-05-31 08:42:46Z vzykov $ 00008 * 00009 * Header file for Loading RTScheduler. 00010 * 00011 * 00012 * @author Yamuna Krishnamurthy <yamuna@oomworks.com> 00013 */ 00014 //============================================================================= 00015 00016 #ifndef TAO_RTSCHEDULER_LOADER_H 00017 #define TAO_RTSCHEDULER_LOADER_H 00018 #include /**/ "ace/pre.h" 00019 00020 #include "tao/RTScheduling/rtscheduler_export.h" 00021 00022 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00023 # pragma once 00024 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00025 00026 #include "tao/Versioned_Namespace.h" 00027 00028 #include "ace/Service_Object.h" 00029 #include "ace/Service_Config.h" 00030 00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00032 00033 class TAO_RTScheduler_Export TAO_RTScheduler_Loader : public ACE_Service_Object 00034 { 00035 public: 00036 /// Constructor. 00037 TAO_RTScheduler_Loader (void); 00038 00039 /// Destructor. 00040 virtual ~TAO_RTScheduler_Loader (void); 00041 00042 /// Initialize the RTScheduler loader hooks. 00043 virtual int init (int argc, ACE_TCHAR* []); 00044 00045 private: 00046 /// Set to true after init is called. 00047 bool initialized_; 00048 }; 00049 00050 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTScheduler, TAO_RTScheduler_Loader) 00051 ACE_FACTORY_DECLARE (TAO_RTScheduler, TAO_RTScheduler_Loader) 00052 00053 TAO_END_VERSIONED_NAMESPACE_DECL 00054 00055 #include /**/ "ace/post.h" 00056 #endif /* TAO_RTSCHEDULER_LOADER_H */