diff options
Diffstat (limited to 'TAO/tests/Alt_Mapping/options.h')
-rw-r--r-- | TAO/tests/Alt_Mapping/options.h | 64 |
1 files changed, 30 insertions, 34 deletions
diff --git a/TAO/tests/Alt_Mapping/options.h b/TAO/tests/Alt_Mapping/options.h index d6596a5b74f..1c6d3fcbcc3 100644 --- a/TAO/tests/Alt_Mapping/options.h +++ b/TAO/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 @@ -46,54 +42,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; |