Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / OBV / ValueBox / Test_impl.h
blobee148e839ba3a3db06bdbc9eceba858289a3ee72
2 //=============================================================================
3 /**
4 * @file Test_impl.h
6 * @author Gary Maxey
7 */
8 //=============================================================================
11 #ifndef TAO_TEST_IMPL_H
12 #define TAO_TEST_IMPL_H
14 #include "valueboxS.h"
17 class Test_impl : public POA_Test
19 public:
20 /// ctor
21 Test_impl (CORBA::ORB_ptr orb);
23 virtual VBlong * basic_op1 (
24 VBlong * p1,
25 VBlong *& p2,
26 VBlong_out p3);
28 virtual vb_basic::M_VBlong * basic_op2(vb_basic::M_VBlong * p1,
29 vb_basic::M_VBlong *& p2,
30 vb_basic::M_VBlong_out p3);
32 virtual ::CORBA::Long basic_op3 (
33 ::CORBA::Long p1,
34 ::CORBA::Long& p2,
35 ::CORBA::Long_out p3);
37 virtual VBstring * string_op1 (::VBstring * p1,
38 ::VBstring *& p2,
39 ::VBstring_out p3);
41 virtual char * string_op2 (const char * p1,
42 char *& p2,
43 CORBA::String_out p3);
45 virtual ::VBseqlong * seq_op1 (::VBseqlong * p1,
46 ::VBseqlong *& p2,
47 ::VBseqlong_out p3);
49 virtual void seq_op2 (const ::TDseqlong & p1,
50 ::TDseqlong & p2,
51 ::TDseqlong_out p3);
53 virtual ::VBfixed_struct1 * struct_op1 (
54 ::VBfixed_struct1 * p1,
55 ::VBfixed_struct1 *& p2,
56 ::VBfixed_struct1_out p3);
58 virtual void struct_op2 (const ::Fixed_Struct1 & p1,
59 ::Fixed_Struct1 & p2,
60 ::Fixed_Struct1_out p3);
62 virtual ::VBvariable_struct1 * struct_op3 (::VBvariable_struct1 * p1,
63 ::VBvariable_struct1 *& p2,
64 ::VBvariable_struct1_out p3);
67 virtual void struct_op4 (const ::Variable_Struct1 & p1,
68 ::Variable_Struct1 & p2,
69 ::Variable_Struct1_out p3);
71 virtual ::VBlongarray * array_op1 (::VBlongarray * p1,
72 ::VBlongarray *& p2,
73 ::VBlongarray_out p3);
76 virtual void array_op2 (const ::LongArray p1,
77 ::LongArray p2,
78 ::LongArray_out p3);
80 virtual ::VBstringarray * array_op3 (::VBstringarray * p1,
81 ::VBstringarray *& p2,
82 ::VBstringarray_out p3);
84 virtual void array_op4 (const ::StringArray p1,
85 ::StringArray p2,
86 ::StringArray_out p3);
88 virtual ::VBfixed_union1 * union_op1 (::VBfixed_union1 * p1,
89 ::VBfixed_union1 *& p2,
90 ::VBfixed_union1_out p3);
92 virtual void union_op2 (const ::Fixed_Union1 & p1,
93 ::Fixed_Union1 & p2,
94 ::Fixed_Union1_out p3);
96 virtual ::VBvariable_union1 * union_op3 (::VBvariable_union1 * p1,
97 ::VBvariable_union1 *& p2,
98 ::VBvariable_union1_out p3);
100 virtual void union_op4 (const ::Variable_Union1 & p1,
101 ::Variable_Union1 & p2,
102 ::Variable_Union1_out p3);
105 virtual void shutdown ();
107 private:
108 /// The ORB
109 CORBA::ORB_var orb_;
112 #endif /* TAO_TEST_IMPL_H */