3 //=============================================================================
5 * @file RTScheduler_Loader.h
7 * Header file for Loading RTScheduler.
9 * @author Yamuna Krishnamurthy <yamuna@oomworks.com>
11 //=============================================================================
13 #ifndef TAO_RTSCHEDULER_LOADER_H
14 #define TAO_RTSCHEDULER_LOADER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/RTScheduling/rtscheduler_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/Versioned_Namespace.h"
25 #include "ace/Service_Object.h"
26 #include "ace/Service_Config.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 class TAO_RTScheduler_Export TAO_RTScheduler_Loader
: public ACE_Service_Object
34 TAO_RTScheduler_Loader ();
37 virtual ~TAO_RTScheduler_Loader ();
39 /// Initialize the RTScheduler loader hooks.
40 int init (int argc
, ACE_TCHAR
* []) override
;
43 /// Set to true after init is called.
47 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_RTScheduler
, TAO_RTScheduler_Loader
)
48 ACE_FACTORY_DECLARE (TAO_RTScheduler
, TAO_RTScheduler_Loader
)
50 TAO_END_VERSIONED_NAMESPACE_DECL
52 #include /**/ "ace/post.h"
53 #endif /* TAO_RTSCHEDULER_LOADER_H */