📄 consumer_i.h
字号:
// Consumer_i.h
// Implements a TypedPushConsumer.
#ifndef _Consumer_i_h_
#define _Consumer_i_h_
#include <orbsvcs/CosTypedEventCommS.h> // for POA_CosTypedEventComm::TypedPushConsumer
class Consumer_i
: public virtual POA_CosTypedEventComm::TypedPushConsumer
{
public:
// Constructor
Consumer_i(CORBA::ORB_ptr orb,
CORBA::Object_ptr obj);
// Override operations from TypedPushConsumer interface.
virtual CORBA::Object_ptr get_typed_consumer ()
throw (CORBA::SystemException);
virtual void push(const CORBA::Any & data)
throw(CORBA::SystemException);
virtual void disconnect_push_consumer()
throw(CORBA::SystemException);
private:
CORBA::ORB_var orb_;
CORBA::Object_var object_;
};
#endif // _Consumer_i_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -