summaryrefslogtreecommitdiff
path: root/quellcode/versuch2/CPXEventConsumer_i.h
blob: 7eacdeae78040275b69d15c3789490598021863f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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