More tests update
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_3582 / test_i.h
blob8757a4d19ab1d5cdaec1480df60e807efa16cbbc
1 // -*- C++ -*-
3 #ifndef TEST_I_H
4 #define TEST_I_H
6 #include "testS.h"
7 #include "tao/PortableServer/POAC.h"
9 /**
10 * @class test_i
12 * @brief Simple test class.
14 * This class implements the "test" interface used in this test.
16 class test_i : public virtual POA_RTTest::test
18 public:
20 /// Constructor.
21 test_i (CORBA::Short num,
22 CORBA::ORB_ptr orb);
24 /// Destructor.
25 ~test_i (void);
27 /// Return the number assigned to this object.
28 virtual CORBA::Short number (void);
30 /// Shutdown the ORB.
31 virtual void shutdown (void);
33 private:
35 /// The number assigned to this object.
36 CORBA::Short number_;
38 /// Pseudo-reference to the ORB.
39 CORBA::ORB_var orb_;
42 #endif /* TEST_I_H */