=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / examples / Callback_Quoter / Consumer_i.h
blobc9c85e1534d58068f875c67a3befd2e85f610927
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file Consumer_i.h
7 * Defines the implementation header for the Consumer interface.
9 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
11 //=============================================================================
14 #ifndef CONSUMER_I_H
15 #define CONSUMER_I_H
16 #include "ConsumerS.h"
17 #include "ConsumerC.h"
18 #include "NotifierS.h"
20 /**
21 * @class Consumer_i
23 * @brief Consumer object implementation.
25 * This class has methods that are called by the callback quoter
26 * server.
28 class Consumer_i : public POA_Callback_Quoter::Consumer
30 public:
31 /// Constructor.
32 Consumer_i () = default;
34 /// Destructor.
35 ~Consumer_i () = default;
37 /// Gets the stock information from the Notifier.
38 void push (const Callback_Quoter::Info & data) override;
40 /// Used to get the consumer to shut down.
41 void shutdown () override;
43 /// Set the ORB pointer.
44 void orb (CORBA::ORB_ptr o);
46 private:
47 /// ORB pointer.
48 CORBA::ORB_var orb_;
50 // @@ Please rename to Notifier.
51 /// Smart pointer to the Notifier object.
52 Notifier_var server_;
55 #endif /* CONSUMER_I_H */