Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Param_Test / objref.h
blob672ffd948d43bac02627753127271cc5c9dc8605
2 //=============================================================================
3 /**
4 * @file objref.h
6 * Tests object references
8 * @author Aniruddha Gokhale
9 */
10 //=============================================================================
13 #ifndef PARAM_TEST_OBJREF_H
14 #define PARAM_TEST_OBJREF_H
16 #include "param_testC.h"
18 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
19 // test objrefs
20 // =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
21 class Test_ObjRef
23 public:
24 /// ctor
25 Test_ObjRef ();
27 /// dtor
28 ~Test_ObjRef ();
30 /// run the SII test
31 int run_sii_test (Param_Test_ptr objref);
33 /// return operation name
34 const char *opname () const;
36 /// set values for parameters
37 int init_parameters (Param_Test_ptr objref);
39 /// reset values for CORBA
40 int reset_parameters ();
42 /// check if results are valid
43 CORBA::Boolean check_validity ();
45 /// check if results are valid. This is used for DII results
46 CORBA::Boolean check_validity (CORBA::Request_ptr req);
48 /// print all the values
49 void print_values ();
51 /// invoke DII request with appropriate exception handling.
52 void dii_req_invoke (CORBA::Request *);
54 private:
55 /// operation name
56 char *opname_;
58 /// in parameter
59 Coffee_var in_;
61 /// inout parameter
62 Coffee_var inout_;
64 /// out parameter
65 Coffee_var out_;
67 /// return value
68 Coffee_var ret_;
71 #endif /* PARAM_TEST_OBJREF_H */