Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / examples / CosEC / RtEC_Based / lib / ConsumerAdmin_i.h
blob623b6fb2567325577990dba9bf3746f00d5560e4
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file ConsumerAdmin_i.h
7 * @author Pradeep Gore <pradeep@cs.wustl.edu>
9 * This has the implementation of the
10 * CosEventChannelAdmin::ConsumerAdmin interface.
12 //=============================================================================
15 #ifndef CONSUMERADMIN_I_H
16 #define CONSUMERADMIN_I_H
17 #include /**/ "ace/pre.h"
19 #include "orbsvcs/RtecEventChannelAdminC.h"
20 #include "orbsvcs/CosEventChannelAdminS.h"
21 #include "ProxyPushSupplier_i.h"
23 class TAO_RTEC_COSEC_Export TAO_CosEC_ConsumerAdmin_i :
24 public virtual POA_CosEventChannelAdmin::ConsumerAdmin
26 // = TITLE
27 // class TAO_CosEC_ConsumerAdmin_i implements the ConsumerAdmin interface.
29 // = DESCRIPTION
30 // This implementation of the ConsumerAdmin uses the
31 // RtecEventChannelAdmin::ConsumerAdmin.
32 public:
33 /// Constructor.
34 TAO_CosEC_ConsumerAdmin_i ();
36 /// Destructor.
37 ~TAO_CosEC_ConsumerAdmin_i () = default;
39 int init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos,
40 RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin);
42 /// Returns a new ProxyPushSupplier_ptr.
43 virtual CosEventChannelAdmin::ProxyPushSupplier_ptr
44 obtain_push_supplier();
46 /// Returns a new ProxyPullSupplier_ptr.
47 virtual CosEventChannelAdmin::ProxyPullSupplier_ptr
48 obtain_pull_supplier();
50 private:
51 /// The ConsumerQOS specified by the user of this class.
52 RtecEventChannelAdmin::ConsumerQOS qos_;
54 /// The RtecEventChannelAdmin::ConsumerAdmin specified by the user of
55 /// this class.
56 RtecEventChannelAdmin::ConsumerAdmin_var rtec_consumeradmin_;
59 #include /**/ "ace/post.h"
60 #endif /* CONSUMERADMIN_I_H */