Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / LoadBalancing / LBPerf / CPU / Roundtrip.h
blob90c8481eb15b14fed6ed964d5810ab79032a3c14
1 // -*- C++ -*-
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 virtual Test::Timestamp test_method (Test::Timestamp send_time,
23 Test::number cl_number);
25 virtual void shutdown ();
27 private:
28 /// Use an ORB reference to convert strings to objects and shutdown
29 /// the application.
30 CORBA::ORB_var orb_;
32 int count_;
35 #if defined(_MSC_VER)
36 # pragma warning(pop)
37 #endif /* _MSC_VER */
39 #include /**/ "ace/post.h"
40 #endif /* ROUNDTRIP_H */