blob: 623b6fb2567325577990dba9bf3746f00d5560e4 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file ConsumerAdmin_i.h
*
* @author Pradeep Gore <pradeep@cs.wustl.edu>
*
* This has the implementation of the
* CosEventChannelAdmin::ConsumerAdmin interface.
*/
//=============================================================================
#ifndef CONSUMERADMIN_I_H
#define CONSUMERADMIN_I_H
#include /**/ "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/CosEventChannelAdminS.h"
#include "ProxyPushSupplier_i.h"
class TAO_RTEC_COSEC_Export TAO_CosEC_ConsumerAdmin_i :
public virtual POA_CosEventChannelAdmin::ConsumerAdmin
{
// = TITLE
// class TAO_CosEC_ConsumerAdmin_i implements the ConsumerAdmin interface.
//
// = DESCRIPTION
// This implementation of the ConsumerAdmin uses the
// RtecEventChannelAdmin::ConsumerAdmin.
public:
/// Constructor.
TAO_CosEC_ConsumerAdmin_i ();
/// Destructor.
~TAO_CosEC_ConsumerAdmin_i () = default;
int init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos,
RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin);
/// Returns a new ProxyPushSupplier_ptr.
virtual CosEventChannelAdmin::ProxyPushSupplier_ptr
obtain_push_supplier();
/// Returns a new ProxyPullSupplier_ptr.
virtual CosEventChannelAdmin::ProxyPullSupplier_ptr
obtain_pull_supplier();
private:
/// The ConsumerQOS specified by the user of this class.
RtecEventChannelAdmin::ConsumerQOS qos_;
/// The RtecEventChannelAdmin::ConsumerAdmin specified by the user of
/// this class.
RtecEventChannelAdmin::ConsumerAdmin_var rtec_consumeradmin_;
};
#include /**/ "ace/post.h"
#endif /* CONSUMERADMIN_I_H */
|