summaryrefslogtreecommitdiff
path: root/tests/Alt_Mapping/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Alt_Mapping/options.h')
-rw-r--r--tests/Alt_Mapping/options.h64
1 files changed, 30 insertions, 34 deletions
diff --git a/tests/Alt_Mapping/options.h b/tests/Alt_Mapping/options.h
index 8002cafc481..30c882358bc 100644
--- a/tests/Alt_Mapping/options.h
+++ b/tests/Alt_Mapping/options.h
@@ -1,21 +1,17 @@
-// -*- c++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Param_Test
-//
-// = FILENAME
-// options.h
-//
-// = DESCRIPTION
-// Options for the Param_Test application
-//
-// = AUTHORS
-// Aniruddha Gokhale
-//
-// ============================================================================
+
+//=============================================================================
+/**
+ * @file options.h
+ *
+ * $Id$
+ *
+ * Options for the Param_Test application
+ *
+ *
+ * @author Aniruddha Gokhale
+ */
+//=============================================================================
+
#ifndef OPTIONS_H
#define OPTIONS_H
@@ -51,54 +47,54 @@ public:
DII
};
+ /// constructor
Options (void);
- // constructor
+ /// destructor
~Options (void);
- // destructor
+ /// Parses the arguments passed on the command line.
int parse_args (int argc, ACE_TCHAR **argv);
- // Parses the arguments passed on the command line.
+ /// return the IOR for the servant
char const * param_test_ior (void) const;
- // return the IOR for the servant
+ /// what test to run
TEST_TYPE test_type (void);
- // what test to run
+ /// whether to use SII or DII
INVOKE_TYPE invoke_type (void);
- // whether to use SII or DII
+ /// number of times to run the test
CORBA::ULong loop_count (void);
- // number of times to run the test
+ /// whether debug option is on or not
CORBA::Boolean debug (void) const;
- // whether debug option is on or not
+ /// If we should request the server to shutdown.
CORBA::Boolean shutdown (void) const;
- // If we should request the server to shutdown.
private:
+ /// Function to read the servant IOR from a file.
int read_ior (ACE_TCHAR *filename);
- // Function to read the servant IOR from a file.
+ /// IOR for the servant
CORBA::String_var ior_;
- // IOR for the servant
+ /// what test to run
TEST_TYPE test_type_;
- // what test to run
+ /// whether SII or DII
INVOKE_TYPE invoke_type_;
- // whether SII or DII
+ /// Number of times to do the "test_*" operations.
CORBA::ULong loop_count_;
- // Number of times to do the "test_*" operations.
+ /// debugging output values
CORBA::Boolean debug_;
- // debugging output values
+ /// server shutdown flag.
CORBA::Boolean shutdown_;
- // server shutdown flag.
};
typedef ACE_Singleton<Options, TAO_SYNCH_RECURSIVE_MUTEX> OPTIONS;