00001 // -*- C++ -*- 00002 00003 // $Id: RTScheduler.h 71473 2006-03-10 07:19:20Z jtc $ 00004 00005 //============================================================================= 00006 /** 00007 * @file RTScheduler.h 00008 * 00009 * $Id: RTScheduler.h 71473 2006-03-10 07:19:20Z jtc $ 00010 * 00011 * Takes care of the RT Scheduler loading on static build. 00012 * 00013 * 00014 * @author Yamuna Krishnamurthy <yamuna@oomworks.com> 00015 */ 00016 //============================================================================= 00017 00018 #ifndef TAO_RTSCHEDULER_H_ 00019 #define TAO_RTSCHEDULER_H_ 00020 #include /**/ "ace/pre.h" 00021 00022 #include "tao/RTScheduling/rtscheduler_export.h" 00023 00024 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00025 # pragma once 00026 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00027 00028 #include "tao/Versioned_Namespace.h" 00029 00030 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00031 00032 class TAO_RTScheduler_Export TAO_RTScheduler_Initializer 00033 { 00034 public: 00035 // Constructor. 00036 TAO_RTScheduler_Initializer (void); 00037 }; 00038 00039 static TAO_RTScheduler_Initializer TAO_RTScheduler_initializer; 00040 00041 TAO_END_VERSIONED_NAMESPACE_DECL 00042 00043 #define TAO_RTSCHEDULER_SAFE_INCLUDE 00044 #include "tao/RTScheduling/RTSchedulerC.h" 00045 #undef TAO_RTSCHEDULER_SAFE_INCLUDE 00046 00047 #include /**/ "ace/post.h" 00048 #endif /* TAO_RTSCHEDULER_H_ */