2 //=============================================================================
6 * Defines a helper class that can generate values for the parameters used
7 * for the Param_Test example
9 * @author Aniruddha Gokhale
11 //=============================================================================
17 #include "param_testC.h"
18 #include "tao/DynamicInterface/Request.h"
19 #include "ace/Singleton.h"
30 CORBA::Short
gen_short (void);
31 CORBA::Long
gen_long (void);
32 char* gen_string (void);
33 char* gen_string (int maxlength
);
34 CORBA::WChar
* gen_wstring (void);
35 CORBA::WChar
* gen_wstring (int maxlength
);
36 const Param_Test::Fixed_Struct
gen_fixed_struct (void);
37 const Param_Test::Step
gen_step (void);
39 Param_Test::Fixed_Struct fixed_struct_
;
40 Param_Test::Step step_
;
43 typedef ACE_Singleton
<Generator
, TAO_SYNCH_RECURSIVE_MUTEX
> GENERATOR
;