diff options
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h')
-rw-r--r-- | TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h b/TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h new file mode 100644 index 00000000000..c69fd19dd0f --- /dev/null +++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h @@ -0,0 +1,44 @@ +/** + * @file RTPOA_Setup.h + * + * $Id$ + * + * @author Carlos O'Ryan <coryan@uci.edu> + */ + +#ifndef TAO_PERF_RTEC_RTPOA_SETUP_H +#define TAO_PERF_RTEC_RTPOA_SETUP_H + +#include "rtec_perf_export.h" +#include "tao/RTPortableServer/RTPortableServer.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +class RTCORBA_Setup; + +/** + * @class RTPOA_Setup + * + * @brief Simplify the initialization of performance tests. + * + */ +class TAO_RTEC_Perf_Export RTPOA_Setup +{ +public: + /// Constructor + RTPOA_Setup (CORBA::ORB_ptr orb, + const RTCORBA_Setup &rtcorba_setup); + + PortableServer::POA_ptr poa (void); + +private: + PortableServer::POA_var poa_; +}; + +#if defined(__ACE_INLINE__) +#include "RTPOA_Setup.inl" +#endif /* __ACE_INLINE__ */ + +#endif /* TAO_PERF_RTEC_RTPOA_SETUP_H */ |