summaryrefslogtreecommitdiff
path: root/performance-tests/TTCP/ORBeline/ttcp_c.hh
blob: b8eaca3f9a8514f1caca558f25bc7960a8affdd2 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
#ifndef _ttcp_c_hh
#define _ttcp_c_hh

/* This file is automatically generated by Orbeline.         */
/* Do not modify this file.                                  */
/* Orbeline (c) is copyrighted by PostModern Computing, Inc. */

#include <corba.h>
#include <arrmac.h>
#include <seqmac.h>



class ttcp_sequence: public virtual CORBA::Object
{
    private:
	static const CORBA::TypeInfo _class_info;
    public:
	static const CORBA::TypeInfo *_desc();
	virtual const CORBA::TypeInfo *_type_info() const;
	virtual void *_safe_narrow(const CORBA::TypeInfo *) const;
	static CORBA::Object *_reader(NCistream& strm) {
		return new ttcp_sequence(strm);
	}
    protected:
#if defined(_MSC_BUG)
	ttcp_sequence(const char *obj_name = NULL) :Object(obj_name) {}
	ttcp_sequence(NCistream& strm) :Object(strm) {}
#else
	ttcp_sequence(const char *obj_name = NULL) :CORBA::Object(obj_name) {}
	ttcp_sequence(NCistream& strm) :CORBA::Object(strm) {}
#endif
	virtual ~ttcp_sequence() {}
    public:
	enum _ttcp_sequence_Methods {
		_ttcp_sequence_M_send = 0,
		_ttcp_sequence_M_send_hack,
		_ttcp_sequence_M_start_timer,
		_ttcp_sequence_M_stop_timer
	};
	static ttcp_sequence *_narrow(const CORBA::Object *obj);
	static ttcp_sequence *_bind(CORBA::Environment &_env, const char *object_name = NULL,
		const char *host_name = NULL, const CORBA::BindOptions* opt = NULL);
	static ttcp_sequence *_bind(const char *object_name = NULL,
		const char *host_name = NULL, const CORBA::BindOptions* opt = NULL) {
		CORBA::Environment env;
		return _bind(env, object_name, host_name, opt);
	}
	virtual const char *_interface_name() const { return "ttcp_sequence"; }

#ifndef _DECLARE_SEQUENCE_CORBA__Char_ttcp_sequence__
#define _DECLARE_SEQUENCE_CORBA__Char_ttcp_sequence__
#define _DECLARE_SEQUENCE_CORBA__Char_ttcp_sequence___ttcp_idl
DECLARE_PRIMITIVE_SEQUENCE(CORBA__Char,CORBA::Char);
#endif

	typedef ttcp_sequence::IDLSequence(CORBA__Char) my_sequence;
	
	
	
	
	void send(const ttcp_sequence::my_sequence& ttcp_rec, CORBA::Environment& _env);
	
	virtual void send(const ttcp_sequence::my_sequence& ttcp_rec) {
		send(ttcp_rec, _environment());
	}
	
	
	
	
	void send_hack(const CORBA::String& ttcp_string, CORBA::Environment& _env);
	
	virtual void send_hack(const CORBA::String& ttcp_string) {
		send_hack(ttcp_string, _environment());
	}
	
	
	
	
	void start_timer(CORBA::Environment& _env);
	
	virtual void start_timer() {
		start_timer(_environment());
	}
	
	
	
	
	void stop_timer(CORBA::Environment& _env);
	
	virtual void stop_timer() {
		stop_timer(_environment());
	}
	
	
};
typedef ttcp_sequence* ttcp_sequenceRef;




class ttcp_string: public virtual CORBA::Object
{
    private:
	static const CORBA::TypeInfo _class_info;
    public:
	static const CORBA::TypeInfo *_desc();
	virtual const CORBA::TypeInfo *_type_info() const;
	virtual void *_safe_narrow(const CORBA::TypeInfo *) const;
	static CORBA::Object *_reader(NCistream& strm) {
		return new ttcp_string(strm);
	}
    protected:
#if defined(_MSC_BUG)
	ttcp_string(const char *obj_name = NULL) :Object(obj_name) {}
	ttcp_string(NCistream& strm) :Object(strm) {}
#else
	ttcp_string(const char *obj_name = NULL) :CORBA::Object(obj_name) {}
	ttcp_string(NCistream& strm) :CORBA::Object(strm) {}
#endif
	virtual ~ttcp_string() {}
    public:
	enum _ttcp_string_Methods {
		_ttcp_string_M_send = 0,
		_ttcp_string_M_send_hack,
		_ttcp_string_M_start_timer,
		_ttcp_string_M_stop_timer
	};
	static ttcp_string *_narrow(const CORBA::Object *obj);
	static ttcp_string *_bind(CORBA::Environment &_env, const char *object_name = NULL,
		const char *host_name = NULL, const CORBA::BindOptions* opt = NULL);
	static ttcp_string *_bind(const char *object_name = NULL,
		const char *host_name = NULL, const CORBA::BindOptions* opt = NULL) {
		CORBA::Environment env;
		return _bind(env, object_name, host_name, opt);
	}
	virtual const char *_interface_name() const { return "ttcp_string"; }

	
	
	void send(const CORBA::String& ttcp_string, CORBA::Environment& _env);
	
	virtual void send(const CORBA::String& ttcp_string) {
		send(ttcp_string, _environment());
	}
	
	
	
	
	void send_hack(const CORBA::String& ttcp_string, CORBA::Environment& _env);
	
	virtual void send_hack(const CORBA::String& ttcp_string) {
		send_hack(ttcp_string, _environment());
	}
	
	
	
	
	void start_timer(CORBA::Environment& _env);
	
	virtual void start_timer() {
		start_timer(_environment());
	}
	
	
	
	
	void stop_timer(CORBA::Environment& _env);
	
	virtual void stop_timer() {
		stop_timer(_environment());
	}
	
	
};
typedef ttcp_string* ttcp_stringRef;



#endif