Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_3582 / test_i.h
blob59f89e644283eba0eefcc4c0baaf7f81ec0da0df
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:
19 /// Constructor.
20 test_i (CORBA::Short num,
21 CORBA::ORB_ptr orb);
23 /// Destructor.
24 ~test_i ();
26 /// Return the number assigned to this object.
27 virtual CORBA::Short number ();
29 /// Shutdown the ORB.
30 virtual void shutdown ();
32 private:
33 /// The number assigned to this object.
34 CORBA::Short number_;
36 /// Pseudo-reference to the ORB.
37 CORBA::ORB_var orb_;
40 #endif /* TEST_I_H */