summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.h')
-rw-r--r--TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.h b/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.h
new file mode 100644
index 00000000000..ddd8ed23da8
--- /dev/null
+++ b/TAO/orbsvcs/examples/Notify/Lanes/ORB_Objects.h
@@ -0,0 +1,56 @@
+/* -*- C++ -*- */
+/**
+ * @file ORB_Objects.h
+ *
+ * $Id$
+ *
+ * @author Pradeep Gore <pradeep@oomworks.com>
+ *
+ *
+ */
+
+#ifndef TAO_Notify_ORB_OBJECTS_H
+#define TAO_Notify_ORB_OBJECTS_H
+
+#include /**/ "ace/pre.h"
+
+#include "tao/RTCORBA/RTCORBA.h"
+#include "tao/PortableServer/PortableServer.h"
+#include "orbsvcs/NotifyExtC.h"
+#include "orbsvcs/CosNamingC.h"
+
+/**
+ * @class TAO_Notify_ORB_Objects
+ *
+ * @brief Handy Objects that we keep asking the ORB for.
+ *
+ */
+class TAO_Notify_ORB_Objects
+{
+public:
+ /// Constuctor
+ TAO_Notify_ORB_Objects (void);
+
+ /// Destructor
+ ~TAO_Notify_ORB_Objects ();
+
+ /// Resolves all the references.
+ void init (CORBA::ORB_var& orb);
+
+ /// Resolve Notification
+ CosNotifyChannelAdmin::EventChannelFactory_ptr notify_factory (void);
+
+ ///= Public Data
+ CORBA::ORB_var orb_;
+
+ PortableServer::POA_var root_poa_;
+
+ RTCORBA::RTORB_var rt_orb_;
+
+ RTCORBA::Current_var current_;
+
+ CosNaming::NamingContextExt_var naming_;
+};
+
+#include /**/ "ace/post.h"
+#endif /* TAO_Notify_ORB_OBJECTS_H */