summaryrefslogtreecommitdiff
path: root/TAO/tao/RT_ORB_Loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RT_ORB_Loader.h')
-rw-r--r--TAO/tao/RT_ORB_Loader.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/TAO/tao/RT_ORB_Loader.h b/TAO/tao/RT_ORB_Loader.h
new file mode 100644
index 00000000000..01f1b7d04d5
--- /dev/null
+++ b/TAO/tao/RT_ORB_Loader.h
@@ -0,0 +1,50 @@
+/* -*- C++ -*- */
+
+//=============================================================================
+/**
+ * @file RT_ORB_Loader.h
+ *
+ * $Id$
+ *
+ * Header file for Loading RT_ORB.
+ *
+ *
+ * @author Priyanka Gontla <gontla_p@ociweb.com>
+ */
+//=============================================================================
+
+#ifndef TAO_RT_ORB_LOADER_H
+#define TAO_RT_ORB_LOADER_H
+#include "ace/pre.h"
+
+#include "tao/ORB_Core.h"
+#include "tao/Object_Loader.h"
+#include "ace/Service_Config.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+class TAO_Export TAO_RT_ORB_Loader : public TAO_Object_Loader
+{
+public:
+
+ /// Constructor
+ TAO_RT_ORB_Loader (void);
+
+ /// Creates a RT_ORB and returns it.
+ virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
+ int argc,
+ char *argv [],
+ CORBA::Environment &)
+ ACE_THROW_SPEC (());
+
+ /// Sets RT_Current and Priority_Mapping_Manager
+ void set_objects (TAO_ORB_Core *orb_core);
+};
+
+ACE_STATIC_SVC_DECLARE (TAO_RT_ORB_Loader)
+ACE_FACTORY_DECLARE (TAO, TAO_RT_ORB_Loader)
+
+#include "ace/post.h"
+#endif /* TAO_RT_ORB_LOADER_H */