blob: 0de419f732bc946efd0ece0191f5c2958f2153e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#ifndef FOO_B_I_H
#define FOO_B_I_H
#include "CSD_TP_Foo_B_Export.h"
#include "Foo_BS.h"
#include "Foo_B_Statistics.h"
class CSD_TP_Foo_B_Export Foo_B_i : public virtual POA_Foo_B
{
public:
Foo_B_i();
virtual ~Foo_B_i();
virtual void op1();
virtual void op2(CORBA::Long value);
virtual CORBA::Long op3(CORBA::Long value);
virtual void op4(CORBA::Long value);
virtual void op5();
virtual CORBA::Boolean op6(const TimeOfDay& t,
char*& message);
virtual void op7(Callback_ptr cb);
virtual void test_unbounded_string_arg(const char* message);
virtual void test_bounded_string_arg(const char* message);
virtual void test_fixed_array_arg(const Fixed_Array message);
virtual void test_var_array_arg(const Var_Array messages);
virtual void test_bounded_var_size_arg(const Bounded_Var_Size& message);
virtual void test_unbounded_var_size_arg(const Unbounded_Var_Size& message);
virtual void test_fixed_size_arg(const TimeOfDay& t);
virtual void test_special_basic_arg(CORBA::Boolean value,
CORBA::Long client_id);
virtual void test_objref_arg(Callback_ptr cb);
virtual void done();
void gather_stats (Foo_B_Statistics& stats);
private:
LongVector in_long_ [16];
StringVector in_string_ [16];
unsigned op_count_ [16];
unsigned error_count_;
};
#endif
|