2 * @file RTServer_Setup.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
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"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 * @class RTServer_Setup
22 * @brief Simplify the initialization of performance tests.
24 class TAO_RTEC_Perf_Export RTServer_Setup
: public RTClient_Setup
28 RTServer_Setup (int use_rt_corba
,
30 const RT_Class
&rt_class
,
33 /// Return the POA configured by the RTPOA_Setup
34 PortableServer::POA_ptr
poa ();
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 */