Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / performance-tests / Sequence_Latency / AMI / Roundtrip.h
blob45e0ab7007885335ee1d5e438688ee4986027299
2 #ifndef ROUNDTRIP_H
3 #define ROUNDTRIP_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::Roundtrip interface
14 class Roundtrip
15 : public virtual POA_Test::Roundtrip
17 public:
18 /// Constructor
19 Roundtrip (CORBA::ORB_ptr orb);
21 // = The skeleton methods
22 Test::Timestamp test_octet_method (const Test::octet_load& ol,
23 Test::Timestamp send_time);
25 Test::Timestamp test_long_method (const Test::long_load& ol,
26 Test::Timestamp send_time);
28 Test::Timestamp test_short_method (const Test::short_load& ol,
29 Test::Timestamp send_time);
31 Test::Timestamp test_char_method (const Test::char_load& ol,
32 Test::Timestamp send_time);
34 Test::Timestamp test_longlong_method (const Test::longlong_load& ol,
35 Test::Timestamp send_time);
37 Test::Timestamp test_double_method (const Test::double_load& ol,
38 Test::Timestamp send_time);
40 virtual void shutdown ();
42 private:
43 /// Use an ORB reference to convert strings to objects and shutdown
44 /// the application.
45 CORBA::ORB_var orb_;
48 #if defined(_MSC_VER)
49 # pragma warning(pop)
50 #endif /* _MSC_VER */
52 #include /**/ "ace/post.h"
53 #endif /* ROUNDTRIP_H */