summaryrefslogtreecommitdiff
path: root/quellcode/versuch2/CPXEventConsumer_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'quellcode/versuch2/CPXEventConsumer_i.h')
-rwxr-xr-xquellcode/versuch2/CPXEventConsumer_i.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/quellcode/versuch2/CPXEventConsumer_i.h b/quellcode/versuch2/CPXEventConsumer_i.h
new file mode 100755
index 0000000..7eacdea
--- /dev/null
+++ b/quellcode/versuch2/CPXEventConsumer_i.h
@@ -0,0 +1,17 @@
+#ifndef CPXEVENTCONSUMER_H
+#define CPXEVENTCONSUMER_H
+
+#include <orbsvcs/RtecEventCommS.h>
+#include <iostream>
+
+class CPXEventConsumer_i : public virtual POA_RtecEventComm::PushConsumer
+{
+public:
+ CPXEventConsumer_i(CORBA::ORB_ptr orb/*, int event_limit*/);
+ virtual void push(const RtecEventComm::EventSet& events) throw(CORBA::SystemException);
+ virtual void disconnect_push_consumer() throw(CORBA::SystemException);
+private:
+ CORBA::ORB_var orb_;
+};
+
+#endif