summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.h')
-rw-r--r--TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.h74
1 files changed, 33 insertions, 41 deletions
diff --git a/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.h b/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.h
index 8914549880c..75c8e5a09ee 100644
--- a/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.h
+++ b/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.h
@@ -1,5 +1,3 @@
-// This may look like C, but it's really -*- C++ -*-
-
//=============================================================================
/**
* @file ClientApp.h
@@ -15,47 +13,41 @@
#include "tao/ORB.h"
#include "ace/SString.h"
-
class ClientApp : public TestAppBase
{
- public:
-
- ClientApp();
- virtual ~ClientApp();
-
-
- protected:
-
- virtual int run_i(int argc, ACE_TCHAR* argv[]);
-
-
- private:
-
- // These are all called, in order, by the run_i() method.
- int init(int argc, ACE_TCHAR* argv[]);
- void client_setup(void);
- int run_engine(void);
- void cleanup();
-
- // Helper methods used by the methods above.
- int parse_args(int argc, ACE_TCHAR* argv[]);
-
- int set_arg(unsigned& value,
- const ACE_TCHAR* arg,
- char opt,
- const char* name,
- int min = 0);
-
- void usage_statement();
- int arg_dependency_checks();
-
-
- CORBA::ORB_var orb_;
- ACE_TString exe_name_;
- ACE_TString ior_;
- ClientEngine_Handle engine_;
- unsigned client_id_;
- unsigned num_loops_;
+public:
+ ClientApp();
+ virtual ~ClientApp();
+
+protected:
+ virtual int run_i(int argc, ACE_TCHAR* argv[]);
+
+private:
+ // These are all called, in order, by the run_i() method.
+ int init(int argc, ACE_TCHAR* argv[]);
+ void client_setup(void);
+ int run_engine(void);
+ void cleanup();
+
+ // Helper methods used by the methods above.
+ int parse_args(int argc, ACE_TCHAR* argv[]);
+
+ int set_arg(unsigned& value,
+ const ACE_TCHAR* arg,
+ char opt,
+ const char* name,
+ int min = 0);
+
+ void usage_statement();
+ int arg_dependency_checks();
+
+
+ CORBA::ORB_var orb_;
+ ACE_TString exe_name_;
+ ACE_TString ior_;
+ ClientEngine_Handle engine_;
+ unsigned client_id_;
+ unsigned num_loops_;
};
#endif