Merge pull request #1815 from sonndinh/get_signal_info
[ACE_TAO.git] / TAO / tests / Collocation_Exception_Test / Hello.h
bloba75d4d64ea2194646a7a58f93ab7572240b1d300
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 (void);
25 virtual void system_exception_test (void);
27 virtual void user_exception_expected (void);
29 virtual void user_exception_not_expected (void);
31 virtual void shutdown (void);
33 private:
34 void throw_internal_b (void);
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 */