Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / performance-tests / Sequence_Latency / Single_Threaded / Roundtrip.h
blob7c2cf8697321ffc3c74e996d6a23afd6f3f1aa34
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:
19 /// Constructor
20 Roundtrip (CORBA::ORB_ptr orb);
22 // = The skeleton methods
23 Test::Timestamp test_octet_method (const Test::octet_load& ol,
24 Test::Timestamp send_time);
26 Test::Timestamp test_long_method (const Test::long_load& ol,
27 Test::Timestamp send_time);
29 Test::Timestamp test_short_method (const Test::short_load& ol,
30 Test::Timestamp send_time);
32 Test::Timestamp test_char_method (const Test::char_load& ol,
33 Test::Timestamp send_time);
35 Test::Timestamp test_longlong_method (const Test::longlong_load& ol,
36 Test::Timestamp send_time);
38 Test::Timestamp test_double_method (const Test::double_load& ol,
39 Test::Timestamp send_time);
41 virtual void shutdown (void);
43 private:
44 /// Use an ORB reference to convert strings to objects and shutdown
45 /// the application.
46 CORBA::ORB_var orb_;
49 #if defined(_MSC_VER)
50 # pragma warning(pop)
51 #endif /* _MSC_VER */
53 #include /**/ "ace/post.h"
54 #endif /* ROUNDTRIP_H */