summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-04 16:56:37 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-04 16:56:37 +0000
commit7ae64b51c9dcdfac8297efb61a281c5aebc26a54 (patch)
tree50363360fdbbc1a4e222061296ec50841613ebeb /TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h
parente805d2c5fc3858bf3b4c4a777f81d510042d6190 (diff)
downloadATCD-7ae64b51c9dcdfac8297efb61a281c5aebc26a54.tar.gz
ChangeLogTag:Mon Mar 04 11:35:34 2002 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h')
-rw-r--r--TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h45
1 files changed, 45 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..dc3d19f0054
--- /dev/null
+++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/RTPOA_Setup.h
@@ -0,0 +1,45 @@
+/**
+ * @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
+ ACE_ENV_ARG_DECL);
+
+ 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 */