summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/tests/FtRtEvent/PushConsumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/FtRtEvent/PushConsumer.h')
-rw-r--r--ACE/TAO/orbsvcs/tests/FtRtEvent/PushConsumer.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/FtRtEvent/PushConsumer.h b/ACE/TAO/orbsvcs/tests/FtRtEvent/PushConsumer.h
new file mode 100644
index 00000000000..c1af32ca71f
--- /dev/null
+++ b/ACE/TAO/orbsvcs/tests/FtRtEvent/PushConsumer.h
@@ -0,0 +1,34 @@
+// -*- C++ -*-
+//=============================================================================
+/**
+ * @file PushConsumer.h
+ *
+ * $Id$
+ *
+ * @author Huang-Ming Huang <hh1@cse.wustl.edu>
+ */
+//=============================================================================
+
+#ifndef PUSHCONSUMERIMPL_H
+#define PUSHCONSUMERIMPL_H
+
+#include "orbsvcs/RtecEventCommS.h"
+
+class PushConsumer_impl :
+public virtual POA_RtecEventComm::PushConsumer
+{
+public:
+ PushConsumer_impl(CORBA::ORB_ptr orb);
+
+ virtual void push (
+ const RtecEventComm::EventSet & data
+ );
+
+ virtual void disconnect_push_consumer (
+ );
+private:
+ CORBA::ORB_var orb_;
+ PushConsumer_impl(const PushConsumer_impl&);
+ bool operator==(const PushConsumer_impl&);
+};
+#endif