Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTScheduling / RTScheduler_Loader.h
blob8ca3432c6bbf8d5068d4c2a3def7dbc58a8b8be3
1 // -*- C++ -*-
3 //=============================================================================
4 /**
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)
20 # 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
32 public:
33 /// Constructor.
34 TAO_RTScheduler_Loader ();
36 /// Destructor.
37 virtual ~TAO_RTScheduler_Loader ();
39 /// Initialize the RTScheduler loader hooks.
40 int init (int argc, ACE_TCHAR* []) override;
42 private:
43 /// Set to true after init is called.
44 bool initialized_;
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 */