summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Common/OrbRunner.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CSD_Strategy_Tests/TP_Common/OrbRunner.h')
-rw-r--r--TAO/tests/CSD_Strategy_Tests/TP_Common/OrbRunner.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Common/OrbRunner.h b/TAO/tests/CSD_Strategy_Tests/TP_Common/OrbRunner.h
new file mode 100644
index 00000000000..71c7c4e358c
--- /dev/null
+++ b/TAO/tests/CSD_Strategy_Tests/TP_Common/OrbRunner.h
@@ -0,0 +1,24 @@
+// $Id$
+#ifndef ORB_RUNNER_H
+#define ORB_RUNNER_H
+
+#include "CSD_TP_Test_Export.h"
+#include "tao/ORB.h"
+
+class CSD_TP_Test_Export OrbRunner
+{
+ public:
+
+ OrbRunner(CORBA::ORB_ptr orb, unsigned num_orb_threads = 1);
+ virtual ~OrbRunner();
+
+ void run(ACE_ENV_SINGLE_ARG_DECL);
+
+
+ private:
+
+ CORBA::ORB_var orb_;
+ unsigned num_orb_threads_;
+};
+
+#endif