blob: 6af0ab7bc63e0b51b6efdb6ef77406e0700d117b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// $Id$
// 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 ();
virtual void push(const CORBA::Any & data) ;
virtual void disconnect_push_consumer();
private:
CORBA::ORB_var orb_;
CORBA::Object_var object_;
};
#endif // _Consumer_i_h_
|