Line |
Branch |
Exec |
Source |
1 |
|
|
// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. |
2 |
|
|
#ifndef pp_manipulation_idl__device_hh__ |
3 |
|
|
#define pp_manipulation_idl__device_hh__ |
4 |
|
|
|
5 |
|
|
#ifndef __CORBA_H_EXTERNAL_GUARD__ |
6 |
|
|
#include <omniORB4/CORBA.h> |
7 |
|
|
#endif |
8 |
|
|
|
9 |
|
|
#ifndef USE_stub_in_nt_dll |
10 |
|
|
# define USE_stub_in_nt_dll_NOT_DEFINED_device |
11 |
|
|
#endif |
12 |
|
|
#ifndef USE_core_stub_in_nt_dll |
13 |
|
|
# define USE_core_stub_in_nt_dll_NOT_DEFINED_device |
14 |
|
|
#endif |
15 |
|
|
#ifndef USE_dyn_stub_in_nt_dll |
16 |
|
|
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_device |
17 |
|
|
#endif |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
#ifndef pp_manipulation_idl__common_hh_EXTERNAL_GUARD__ |
22 |
|
|
#define pp_manipulation_idl__common_hh_EXTERNAL_GUARD__ |
23 |
|
|
#include <hpp/common-idl.hh> |
24 |
|
|
#endif |
25 |
|
|
#ifndef pp_manipulation_idl__robots_hh_EXTERNAL_GUARD__ |
26 |
|
|
#define pp_manipulation_idl__robots_hh_EXTERNAL_GUARD__ |
27 |
|
|
#include <hpp/pinocchio_idl/robots-idl.hh> |
28 |
|
|
#endif |
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
#ifdef USE_stub_in_nt_dll |
33 |
|
|
# ifndef USE_core_stub_in_nt_dll |
34 |
|
|
# define USE_core_stub_in_nt_dll |
35 |
|
|
# endif |
36 |
|
|
# ifndef USE_dyn_stub_in_nt_dll |
37 |
|
|
# define USE_dyn_stub_in_nt_dll |
38 |
|
|
# endif |
39 |
|
|
#endif |
40 |
|
|
|
41 |
|
|
#ifdef _core_attr |
42 |
|
|
# error "A local CPP macro _core_attr has already been defined." |
43 |
|
|
#else |
44 |
|
|
# ifdef USE_core_stub_in_nt_dll |
45 |
|
|
# define _core_attr _OMNIORB_NTDLL_IMPORT |
46 |
|
|
# else |
47 |
|
|
# define _core_attr |
48 |
|
|
# endif |
49 |
|
|
#endif |
50 |
|
|
|
51 |
|
|
#ifdef _dyn_attr |
52 |
|
|
# error "A local CPP macro _dyn_attr has already been defined." |
53 |
|
|
#else |
54 |
|
|
# ifdef USE_dyn_stub_in_nt_dll |
55 |
|
|
# define _dyn_attr _OMNIORB_NTDLL_IMPORT |
56 |
|
|
# else |
57 |
|
|
# define _dyn_attr |
58 |
|
|
# endif |
59 |
|
|
#endif |
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
_CORBA_MODULE hpp |
64 |
|
|
|
65 |
|
|
_CORBA_MODULE_BEG |
66 |
|
|
|
67 |
|
|
_CORBA_MODULE manipulation_idl |
68 |
|
|
|
69 |
|
|
_CORBA_MODULE_BEG |
70 |
|
|
|
71 |
|
|
#ifndef __hpp_mmanipulation__idl_mHandle__ |
72 |
|
|
#define __hpp_mmanipulation__idl_mHandle__ |
73 |
|
|
class Handle; |
74 |
|
|
class _objref_Handle; |
75 |
|
|
class _impl_Handle; |
76 |
|
|
|
77 |
|
|
typedef _objref_Handle* Handle_ptr; |
78 |
|
|
typedef Handle_ptr HandleRef; |
79 |
|
|
|
80 |
|
|
class Handle_Helper { |
81 |
|
|
public: |
82 |
|
|
typedef Handle_ptr _ptr_type; |
83 |
|
|
|
84 |
|
|
static _ptr_type _nil(); |
85 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
86 |
|
|
static void release(_ptr_type); |
87 |
|
|
static void duplicate(_ptr_type); |
88 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
89 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
90 |
|
|
}; |
91 |
|
|
|
92 |
|
|
typedef _CORBA_ObjRef_Var<_objref_Handle, Handle_Helper> Handle_var; |
93 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_Handle,Handle_Helper > Handle_out; |
94 |
|
|
|
95 |
|
|
#endif |
96 |
|
|
|
97 |
|
|
// interface Handle |
98 |
|
|
class Handle { |
99 |
|
|
public: |
100 |
|
|
// Declarations for this interface type. |
101 |
|
|
typedef Handle_ptr _ptr_type; |
102 |
|
|
typedef Handle_var _var_type; |
103 |
|
|
|
104 |
|
|
static _ptr_type _duplicate(_ptr_type); |
105 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
106 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
107 |
|
|
|
108 |
|
|
static _ptr_type _nil(); |
109 |
|
|
|
110 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
111 |
|
|
|
112 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
113 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
114 |
|
✗ |
if (o) |
115 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
116 |
|
|
else |
117 |
|
✗ |
return _nil(); |
118 |
|
|
} |
119 |
|
|
|
120 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
121 |
|
|
if (o) |
122 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
123 |
|
|
else |
124 |
|
|
return _nil(); |
125 |
|
|
} |
126 |
|
|
|
127 |
|
|
static _core_attr const char* _PD_repoId; |
128 |
|
|
|
129 |
|
|
// Other IDL defined within this scope. |
130 |
|
|
|
131 |
|
|
}; |
132 |
|
|
|
133 |
|
|
class _objref_Handle : |
134 |
|
|
public virtual ::CORBA::Object, |
135 |
|
|
public virtual omniObjRef |
136 |
|
|
{ |
137 |
|
|
public: |
138 |
|
|
// IDL operations |
139 |
|
|
void setMask(const ::hpp::boolSeq& mask); |
140 |
|
|
|
141 |
|
|
// Constructors |
142 |
|
✗ |
inline _objref_Handle() { _PR_setobj(0); } // nil |
143 |
|
|
_objref_Handle(omniIOR*, omniIdentity*); |
144 |
|
|
|
145 |
|
|
protected: |
146 |
|
|
virtual ~_objref_Handle(); |
147 |
|
|
|
148 |
|
|
|
149 |
|
|
private: |
150 |
|
|
virtual void* _ptrToObjRef(const char*); |
151 |
|
|
|
152 |
|
|
_objref_Handle(const _objref_Handle&); |
153 |
|
|
_objref_Handle& operator = (const _objref_Handle&); |
154 |
|
|
// not implemented |
155 |
|
|
|
156 |
|
|
friend class Handle; |
157 |
|
|
}; |
158 |
|
|
|
159 |
|
|
class _pof_Handle : public _OMNI_NS(proxyObjectFactory) { |
160 |
|
|
public: |
161 |
|
✗ |
inline _pof_Handle() : _OMNI_NS(proxyObjectFactory)(Handle::_PD_repoId) {} |
162 |
|
|
virtual ~_pof_Handle(); |
163 |
|
|
|
164 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
165 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
166 |
|
|
}; |
167 |
|
|
|
168 |
|
|
class _impl_Handle : |
169 |
|
|
public virtual omniServant |
170 |
|
|
{ |
171 |
|
|
public: |
172 |
|
|
virtual ~_impl_Handle(); |
173 |
|
|
|
174 |
|
|
virtual void setMask(const ::hpp::boolSeq& mask) = 0; |
175 |
|
|
|
176 |
|
|
public: // Really protected, workaround for xlC |
177 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
178 |
|
|
|
179 |
|
|
private: |
180 |
|
|
virtual void* _ptrToInterface(const char*); |
181 |
|
|
virtual const char* _mostDerivedRepoId(); |
182 |
|
|
|
183 |
|
|
}; |
184 |
|
|
|
185 |
|
|
|
186 |
|
|
#ifndef __hpp_mmanipulation__idl_mDevice__ |
187 |
|
|
#define __hpp_mmanipulation__idl_mDevice__ |
188 |
|
|
class Device; |
189 |
|
|
class _objref_Device; |
190 |
|
|
class _impl_Device; |
191 |
|
|
|
192 |
|
|
typedef _objref_Device* Device_ptr; |
193 |
|
|
typedef Device_ptr DeviceRef; |
194 |
|
|
|
195 |
|
|
class Device_Helper { |
196 |
|
|
public: |
197 |
|
|
typedef Device_ptr _ptr_type; |
198 |
|
|
|
199 |
|
|
static _ptr_type _nil(); |
200 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
201 |
|
|
static void release(_ptr_type); |
202 |
|
|
static void duplicate(_ptr_type); |
203 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
204 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
205 |
|
|
}; |
206 |
|
|
|
207 |
|
|
typedef _CORBA_ObjRef_Var<_objref_Device, Device_Helper> Device_var; |
208 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_Device,Device_Helper > Device_out; |
209 |
|
|
|
210 |
|
|
#endif |
211 |
|
|
|
212 |
|
|
// interface Device |
213 |
|
|
class Device { |
214 |
|
|
public: |
215 |
|
|
// Declarations for this interface type. |
216 |
|
|
typedef Device_ptr _ptr_type; |
217 |
|
|
typedef Device_var _var_type; |
218 |
|
|
|
219 |
|
|
static _ptr_type _duplicate(_ptr_type); |
220 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
221 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
222 |
|
|
|
223 |
|
|
static _ptr_type _nil(); |
224 |
|
|
|
225 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
226 |
|
|
|
227 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
228 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
229 |
|
✗ |
if (o) |
230 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
231 |
|
|
else |
232 |
|
✗ |
return _nil(); |
233 |
|
|
} |
234 |
|
|
|
235 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
236 |
|
|
if (o) |
237 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
238 |
|
|
else |
239 |
|
|
return _nil(); |
240 |
|
|
} |
241 |
|
|
|
242 |
|
|
static _core_attr const char* _PD_repoId; |
243 |
|
|
|
244 |
|
|
// Other IDL defined within this scope. |
245 |
|
|
|
246 |
|
|
}; |
247 |
|
|
|
248 |
|
|
class _objref_Device : |
249 |
|
|
public virtual pinocchio_idl::_objref_Device |
250 |
|
|
{ |
251 |
|
|
public: |
252 |
|
|
// IDL operations |
253 |
|
|
Names_t* getHandleNames(); |
254 |
|
|
Handle_ptr getHandle(const char* name); |
255 |
|
|
|
256 |
|
|
// Constructors |
257 |
|
✗ |
inline _objref_Device() { _PR_setobj(0); } // nil |
258 |
|
|
_objref_Device(omniIOR*, omniIdentity*); |
259 |
|
|
|
260 |
|
|
protected: |
261 |
|
|
virtual ~_objref_Device(); |
262 |
|
|
|
263 |
|
|
|
264 |
|
|
private: |
265 |
|
|
virtual void* _ptrToObjRef(const char*); |
266 |
|
|
|
267 |
|
|
_objref_Device(const _objref_Device&); |
268 |
|
|
_objref_Device& operator = (const _objref_Device&); |
269 |
|
|
// not implemented |
270 |
|
|
|
271 |
|
|
friend class Device; |
272 |
|
|
}; |
273 |
|
|
|
274 |
|
|
class _pof_Device : public _OMNI_NS(proxyObjectFactory) { |
275 |
|
|
public: |
276 |
|
✗ |
inline _pof_Device() : _OMNI_NS(proxyObjectFactory)(Device::_PD_repoId) {} |
277 |
|
|
virtual ~_pof_Device(); |
278 |
|
|
|
279 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
280 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
281 |
|
|
}; |
282 |
|
|
|
283 |
|
|
class _impl_Device : |
284 |
|
|
public virtual pinocchio_idl::_impl_Device |
285 |
|
|
{ |
286 |
|
|
public: |
287 |
|
|
virtual ~_impl_Device(); |
288 |
|
|
|
289 |
|
|
virtual Names_t* getHandleNames() = 0; |
290 |
|
|
virtual Handle_ptr getHandle(const char* name) = 0; |
291 |
|
|
|
292 |
|
|
public: // Really protected, workaround for xlC |
293 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
294 |
|
|
|
295 |
|
|
private: |
296 |
|
|
virtual void* _ptrToInterface(const char*); |
297 |
|
|
virtual const char* _mostDerivedRepoId(); |
298 |
|
|
|
299 |
|
|
}; |
300 |
|
|
|
301 |
|
|
|
302 |
|
|
_CORBA_MODULE_END |
303 |
|
|
|
304 |
|
|
_CORBA_MODULE_END |
305 |
|
|
|
306 |
|
|
|
307 |
|
|
|
308 |
|
|
_CORBA_MODULE POA_hpp |
309 |
|
|
_CORBA_MODULE_BEG |
310 |
|
|
|
311 |
|
|
_CORBA_MODULE manipulation_idl |
312 |
|
|
_CORBA_MODULE_BEG |
313 |
|
|
|
314 |
|
|
class Handle : |
315 |
|
|
public virtual hpp::manipulation_idl::_impl_Handle, |
316 |
|
|
public virtual ::PortableServer::ServantBase |
317 |
|
|
{ |
318 |
|
|
public: |
319 |
|
|
virtual ~Handle(); |
320 |
|
|
|
321 |
|
✗ |
inline ::hpp::manipulation_idl::Handle_ptr _this() { |
322 |
|
✗ |
return (::hpp::manipulation_idl::Handle_ptr) _do_this(::hpp::manipulation_idl::Handle::_PD_repoId); |
323 |
|
|
} |
324 |
|
|
}; |
325 |
|
|
|
326 |
|
|
class Device : |
327 |
|
|
public virtual hpp::manipulation_idl::_impl_Device, |
328 |
|
|
public virtual pinocchio_idl::Device |
329 |
|
|
{ |
330 |
|
|
public: |
331 |
|
|
virtual ~Device(); |
332 |
|
|
|
333 |
|
✗ |
inline ::hpp::manipulation_idl::Device_ptr _this() { |
334 |
|
✗ |
return (::hpp::manipulation_idl::Device_ptr) _do_this(::hpp::manipulation_idl::Device::_PD_repoId); |
335 |
|
|
} |
336 |
|
|
}; |
337 |
|
|
|
338 |
|
|
_CORBA_MODULE_END |
339 |
|
|
|
340 |
|
|
_CORBA_MODULE_END |
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
_CORBA_MODULE OBV_hpp |
345 |
|
|
_CORBA_MODULE_BEG |
346 |
|
|
|
347 |
|
|
_CORBA_MODULE manipulation_idl |
348 |
|
|
_CORBA_MODULE_BEG |
349 |
|
|
|
350 |
|
|
_CORBA_MODULE_END |
351 |
|
|
|
352 |
|
|
_CORBA_MODULE_END |
353 |
|
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
|
|
#undef _core_attr |
359 |
|
|
#undef _dyn_attr |
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
|
|
inline void |
364 |
|
✗ |
hpp::manipulation_idl::Handle::_marshalObjRef(::hpp::manipulation_idl::Handle_ptr obj, cdrStream& s) { |
365 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
366 |
|
|
} |
367 |
|
|
|
368 |
|
|
inline void |
369 |
|
✗ |
hpp::manipulation_idl::Device::_marshalObjRef(::hpp::manipulation_idl::Device_ptr obj, cdrStream& s) { |
370 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
371 |
|
|
} |
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
|
|
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_device |
376 |
|
|
# undef USE_stub_in_nt_dll |
377 |
|
|
# undef USE_stub_in_nt_dll_NOT_DEFINED_device |
378 |
|
|
#endif |
379 |
|
|
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_device |
380 |
|
|
# undef USE_core_stub_in_nt_dll |
381 |
|
|
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_device |
382 |
|
|
#endif |
383 |
|
|
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_device |
384 |
|
|
# undef USE_dyn_stub_in_nt_dll |
385 |
|
|
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_device |
386 |
|
|
#endif |
387 |
|
|
|
388 |
|
|
#endif // __device_hh__ |
389 |
|
|
|
390 |
|
|
|