Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Bug_3647_Regression / Middle_Impl.h
blob8c551e21c7b9d1218699c902fc3b9ea841310c3f
1 #ifndef Bug_3647_Regression_Middle_Impl_h
2 #define Bug_3647_Regression_Middle_Impl_h
4 #include "TestS.h"
6 namespace Bug_3647_Regression
8 /**
9 * @class Middle
11 * Implement the Bug_3647_Regression::Middle interface
13 class Middle_Impl : public POA_Bug_3647_Regression::Middle
15 public:
16 Middle_Impl(
17 Backend_ptr backend,
18 CORBA::ORB_ptr orb,
19 bool verbose);
20 virtual ~Middle_Impl() = default;
22 virtual void startup_test();
23 virtual void ping();
25 virtual void shutdown();
27 private:
28 /// Keep a reference to the backend so we can call it, shutdown, etc.
29 Backend_var backend_;
31 /// Keep a reference to the ORB so we can shutdown the application.
32 CORBA::ORB_var orb_;
34 /// Use this flag to decide if the program should produce any output.
35 bool verbose_;
37 } // namespace Bug_3647_Regression
39 #endif // Bug_3647_Regression_Middle_hpp