Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Collocation_Exception_Test / Hello.h
blob913b0708fd44e1289391ec42e70467fb6034b3b5
2 #ifndef HELLO_H
3 #define HELLO_H
4 #include /**/ "ace/pre.h"
6 #include "TestS.h"
8 #if defined (_MSC_VER)
9 # pragma warning(push)
10 # pragma warning (disable:4250)
11 #endif /* _MSC_VER */
13 /// Implement the Test::Hello interface
14 class Hello
15 : public virtual POA_Test::Hello
17 public:
18 /// Constructor
19 Hello (CORBA::ORB_ptr orb,
20 ACE_thread_t thr_id);
22 // = The skeleton methods
23 virtual char * get_string ();
25 virtual void system_exception_test ();
27 virtual void user_exception_expected ();
29 virtual void user_exception_not_expected ();
31 virtual void shutdown ();
33 private:
34 void throw_internal_b ();
36 /// Use an ORB reference to convert strings to objects and shutdown
37 /// the application.
38 CORBA::ORB_var orb_;
40 ACE_thread_t thr_id_;
43 #if defined(_MSC_VER)
44 # pragma warning(pop)
45 #endif /* _MSC_VER */
47 #include /**/ "ace/post.h"
48 #endif /* HELLO_H */