Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / RTPOA_Setup.h
blob03f667f3c6bf080b052035b08c818727da3e23a4
1 /**
2 * @file RTPOA_Setup.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
7 #ifndef TAO_PERF_RTEC_RTPOA_SETUP_H
8 #define TAO_PERF_RTEC_RTPOA_SETUP_H
10 #include "rtec_perf_export.h"
11 #include "tao/RTPortableServer/RTPortableServer.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
14 # pragma once
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 class RTCORBA_Setup;
19 /**
20 * @class RTPOA_Setup
22 * @brief Simplify the initialization of performance tests.
24 class TAO_RTEC_Perf_Export RTPOA_Setup
26 public:
27 /// Constructor
28 RTPOA_Setup (CORBA::ORB_ptr orb,
29 const RTCORBA_Setup &rtcorba_setup);
31 PortableServer::POA_ptr poa (void);
33 private:
34 PortableServer::POA_var poa_;
37 #if defined(__ACE_INLINE__)
38 #include "RTPOA_Setup.inl"
39 #endif /* __ACE_INLINE__ */
41 #endif /* TAO_PERF_RTEC_RTPOA_SETUP_H */