?? echoeventconsumer_i.h
字號:
// EchoEventConsumer_i.h
// Implements a PushConsumer.
#ifndef _EchoEventConsumer_i_h_
#define _EchoEventConsumer_i_h_
#include <orbsvcs/RtecEventCommS.h> // for POA_CosEventComm::PushConsumer
#include <orbsvcs/RtecEventChannelAdminC.h>
class EchoEventConsumer_i : public virtual POA_RtecEventComm::PushConsumer
{
public:
// Constructor
EchoEventConsumer_i(CORBA::ORB_ptr orb,
RtecEventChannelAdmin::ProxyPushSupplier_ptr supplier,
int event_limit);
// Override operations from PushConsumer interface.
virtual void push(const RtecEventComm::EventSet& events)
throw(CORBA::SystemException);
virtual void disconnect_push_consumer()
throw(CORBA::SystemException);
private:
CORBA::ORB_var orb_;
RtecEventChannelAdmin::ProxyPushSupplier_var supplier_;
int event_limit_;
};
#endif // _EchoEventConsumer_i_h_
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -