Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / docs / tutorials / Quoter / RT_Event_Service / Stock_i.h
blobb9190335beb11e682f2d09c41252d406c5ff46b5
2 #ifndef TAO_TUTORIAL_QUOTER_RT_EVENT_SERVICE_STOCK_I_H
3 #define TAO_TUTORIAL_QUOTER_RT_EVENT_SERVICE_STOCK_I_H
5 #include "QuoterS.h"
6 #include <orbsvcs/RtecEventCommS.h>
7 #include <orbsvcs/RtecEventChannelAdminC.h>
9 class Quoter_Stock_i
10 : public virtual POA_Quoter::Modify_Stock
12 public:
13 Quoter_Stock_i (const char *symbol,
14 const char *full_name,
15 CORBA::Double price);
16 ~Quoter_Stock_i ();
18 char *symbol ();
19 char *full_name ();
20 CORBA::Double price ();
21 void set_price (CORBA::Double new_price);
23 void disconnect_push_supplier ();
25 void connect (RtecEventChannelAdmin::SupplierAdmin_ptr supplier_admin);
27 private:
28 Quoter::Event data_;
30 RtecEventChannelAdmin::ProxyPushConsumer_var consumer_proxy_;
32 POA_RtecEventComm::PushSupplier_tie<Quoter_Stock_i> &supplier_personality_;
35 #endif /* TAO_TUTORIAL_QUOTER_RT_EVENT_SERVICE_STOCK_I_H */