summaryrefslogtreecommitdiff
path: root/TAO/tao/RTScheduling/RTScheduler_Initializer.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTScheduling/RTScheduler_Initializer.h')
-rw-r--r--TAO/tao/RTScheduling/RTScheduler_Initializer.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/TAO/tao/RTScheduling/RTScheduler_Initializer.h b/TAO/tao/RTScheduling/RTScheduler_Initializer.h
new file mode 100644
index 00000000000..47c5ab040f3
--- /dev/null
+++ b/TAO/tao/RTScheduling/RTScheduler_Initializer.h
@@ -0,0 +1,63 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file RTScheduler_Initializer.h
+ *
+ * $Id$
+ *
+ * @author Yamuna Krishnamurthy <yamuna@oomworks.com>
+ */
+//=============================================================================
+
+
+#ifndef TAO_RTSCHEDULER_INITIALIZER_H
+#define TAO_RTSCHEDULER_INITIALIZER_H
+
+#include /**/ "ace/pre.h"
+
+#include "tao/Basic_Types.h"
+#include "tao/RTScheduling/rtscheduler_export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/PI/PI.h"
+#include "tao/LocalObject.h"
+
+// This is to remove "inherits via dominance" warnings from MSVC.
+// MSVC is being a little too paranoid.
+#if defined(_MSC_VER)
+#pragma warning(push)
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_RTScheduler_Current;
+
+/// RTCORBA ORB initializer.
+class TAO_RTScheduler_ORB_Initializer
+ : public virtual PortableInterceptor::ORBInitializer
+ , public virtual TAO_Local_RefCounted_Object
+{
+public:
+ virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
+
+ virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
+private:
+
+ TAO_RTScheduler_Current* current_;
+
+};
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#if defined(_MSC_VER)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include /**/ "ace/post.h"
+
+#endif /* TAO_RTSCHEDULER_INITIALIZER_H */