Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3926_Regression / test_i.h
blobb906f280e9edd4b40430587fb961f5f4c433030e
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file test_i.h
7 * Implementation header for the "test" IDL interface for the
8 * PortableInterceptor::ForwardRequest test.
10 * @author Ossama Othman <ossama@uci.edu>
12 //=============================================================================
14 #ifndef TEST_I_H
15 #define TEST_I_H
17 #include "testS.h"
19 /**
20 * @class test_i
22 * @brief Simple test class.
24 * This class implements the "test" interface used in this test.
26 class test_i : public virtual POA_hello::GoodDay
28 public:
30 /// Constructor.
31 test_i (CORBA::Short num,
32 CORBA::ORB_ptr orb);
34 /// Destructor.
35 ~test_i (void);
37 /// Return the number assigned to this object.
38 virtual CORBA::Short number (void);
40 /// Shutdown the ORB.
41 virtual void shutdown (void);
43 private:
45 /// The number assigned to this object.
46 CORBA::Short number_;
48 /// Pseudo-reference to the ORB.
49 CORBA::ORB_var orb_;
53 #endif /* TEST_I_H */