Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / RTServer_Setup.h
blob1df03597255df7ea5499c30c7b2c1b3c0dac5f7e
1 /**
2 * @file RTServer_Setup.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
7 #ifndef TAO_PERF_RTEC_RTSERVER_SETUP_H
8 #define TAO_PERF_RTEC_RTSERVER_SETUP_H
9 #include /**/ "ace/pre.h"
11 #include "RTClient_Setup.h"
12 #include "RTPOA_Setup.h"
13 #include <memory>
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 # pragma once
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
19 /**
20 * @class RTServer_Setup
22 * @brief Simplify the initialization of performance tests.
24 class TAO_RTEC_Perf_Export RTServer_Setup : public RTClient_Setup
26 public:
27 /// Constructor
28 RTServer_Setup (int use_rt_corba,
29 CORBA::ORB_ptr orb,
30 const RT_Class &rt_class,
31 int nthreads);
33 /// Return the POA configured by the RTPOA_Setup
34 PortableServer::POA_ptr poa ();
36 private:
37 PortableServer::POA_var poa_;
39 std::unique_ptr<RTPOA_Setup> rtpoa_setup_;
42 #if defined(__ACE_INLINE__)
43 #include "RTServer_Setup.inl"
44 #endif /* __ACE_INLINE__ */
46 #include /**/ "ace/post.h"
47 #endif /* TAO_PERF_RTEC_RTSERVER_SETUP_H */