Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_3080 / test_i.h
blob230593e47fb691d08407d65c2369a6df59ddb9cb
1 // -*- C++ -*-
3 #ifndef TEST_I_H
4 #define TEST_I_H
6 #include "testS.h"
8 /**
9 * @class test_i
11 * @brief Simple test class.
13 * This class implements the "test" interface used in this test.
15 class test_i : public virtual POA_RedirectionTest::test
17 public:
18 /// Constructor.
19 test_i (CORBA::Short num,
20 CORBA::ORB_ptr orb);
22 /// Destructor.
23 ~test_i ();
25 /// Return the number assigned to this object.
26 virtual CORBA::Short number ();
28 /// Shutdown the ORB.
29 virtual void shutdown ();
31 private:
32 /// The number assigned to this object.
33 CORBA::Short number_;
35 /// Pseudo-reference to the ORB.
36 CORBA::ORB_var orb_;
39 #endif /* TEST_I_H */