3 //=============================================================================
5 * @file RTScheduler_Initializer.h
7 * @author Yamuna Krishnamurthy <yamuna@oomworks.com>
9 //=============================================================================
12 #ifndef TAO_RTSCHEDULER_INITIALIZER_H
13 #define TAO_RTSCHEDULER_INITIALIZER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/Basic_Types.h"
18 #include "tao/RTScheduling/rtscheduler_export.h"
19 #include "tao/RTScheduling/Current.h"
21 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 #include "tao/PI_Server/PI_Server.h"
26 #include "tao/LocalObject.h"
28 // This is to remove "inherits via dominance" warnings from MSVC.
29 // MSVC is being a little too paranoid.
32 #pragma warning(disable:4250)
35 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
37 /// RTCORBA ORB initializer.
38 class TAO_RTScheduler_ORB_Initializer
39 : public virtual PortableInterceptor::ORBInitializer
40 , public virtual ::CORBA::LocalObject
43 void pre_init (PortableInterceptor::ORBInitInfo_ptr info
) override
;
45 void post_init (PortableInterceptor::ORBInitInfo_ptr info
) override
;
48 TAO_RTScheduler_Current_var current_
;
51 TAO_END_VERSIONED_NAMESPACE_DECL
57 #include /**/ "ace/post.h"
59 #endif /* TAO_RTSCHEDULER_INITIALIZER_H */