GCC Code Coverage Report


Directory: ./
File: src/hpp/constraints_idl/constraints-idl.hh
Date: 2024-12-13 15:50:05
Exec Total Coverage
Lines: 4 44 9.1%
Branches: 0 20 0.0%

Line Branch Exec Source
1 // This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit.
2 #ifndef pp_constraints_idl__constraints_hh__
3 #define pp_constraints_idl__constraints_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_constraints
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_constraints
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_constraints
17 #endif
18
19
20
21 #ifndef pp_constraints_idl__common_hh_EXTERNAL_GUARD__
22 #define pp_constraints_idl__common_hh_EXTERNAL_GUARD__
23 #include <hpp/common-idl.hh>
24 #endif
25
26
27
28 #ifdef USE_stub_in_nt_dll
29 # ifndef USE_core_stub_in_nt_dll
30 # define USE_core_stub_in_nt_dll
31 # endif
32 # ifndef USE_dyn_stub_in_nt_dll
33 # define USE_dyn_stub_in_nt_dll
34 # endif
35 #endif
36
37 #ifdef _core_attr
38 # error "A local CPP macro _core_attr has already been defined."
39 #else
40 # ifdef USE_core_stub_in_nt_dll
41 # define _core_attr _OMNIORB_NTDLL_IMPORT
42 # else
43 # define _core_attr
44 # endif
45 #endif
46
47 #ifdef _dyn_attr
48 # error "A local CPP macro _dyn_attr has already been defined."
49 #else
50 # ifdef USE_dyn_stub_in_nt_dll
51 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
52 # else
53 # define _dyn_attr
54 # endif
55 #endif
56
57
58
59 _CORBA_MODULE hpp
60
61 _CORBA_MODULE_BEG
62
63 _CORBA_MODULE constraints_idl
64
65 _CORBA_MODULE_BEG
66
67 #ifndef __hpp_mconstraints__idl_mDifferentiableFunction__
68 #define __hpp_mconstraints__idl_mDifferentiableFunction__
69 class DifferentiableFunction;
70 class _objref_DifferentiableFunction;
71 class _impl_DifferentiableFunction;
72
73 typedef _objref_DifferentiableFunction* DifferentiableFunction_ptr;
74 typedef DifferentiableFunction_ptr DifferentiableFunctionRef;
75
76 class DifferentiableFunction_Helper {
77 public:
78 typedef DifferentiableFunction_ptr _ptr_type;
79
80 static _ptr_type _nil();
81 static _CORBA_Boolean is_nil(_ptr_type);
82 static void release(_ptr_type);
83 static void duplicate(_ptr_type);
84 static void marshalObjRef(_ptr_type, cdrStream&);
85 static _ptr_type unmarshalObjRef(cdrStream&);
86 };
87
88 typedef _CORBA_ObjRef_Var<_objref_DifferentiableFunction, DifferentiableFunction_Helper> DifferentiableFunction_var;
89 typedef _CORBA_ObjRef_OUT_arg<_objref_DifferentiableFunction,DifferentiableFunction_Helper > DifferentiableFunction_out;
90
91 #endif
92
93 // interface DifferentiableFunction
94 class DifferentiableFunction {
95 public:
96 // Declarations for this interface type.
97 typedef DifferentiableFunction_ptr _ptr_type;
98 typedef DifferentiableFunction_var _var_type;
99
100 static _ptr_type _duplicate(_ptr_type);
101 static _ptr_type _narrow(::CORBA::Object_ptr);
102 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
103
104 static _ptr_type _nil();
105
106 static inline void _marshalObjRef(_ptr_type, cdrStream&);
107
108 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
109 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
110 if (o)
111 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
112 else
113 return _nil();
114 }
115
116 static inline _ptr_type _fromObjRef(omniObjRef* o) {
117 if (o)
118 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
119 else
120 return _nil();
121 }
122
123 static _core_attr const char* _PD_repoId;
124
125 // Other IDL defined within this scope.
126
127 };
128
129 class _objref_DifferentiableFunction :
130 public virtual ::CORBA::Object,
131 public virtual omniObjRef
132 {
133 public:
134 // IDL operations
135 floatSeq* value(const ::hpp::floatSeq& arg);
136 floatSeqSeq* jacobian(const ::hpp::floatSeq& arg);
137 size_type inputSize();
138 size_type inputDerivativeSize();
139 size_type outputSize();
140 size_type outputDerivativeSize();
141 char* name();
142 char* str();
143
144 // Constructors
145 inline _objref_DifferentiableFunction() { _PR_setobj(0); } // nil
146 _objref_DifferentiableFunction(omniIOR*, omniIdentity*);
147
148 protected:
149 virtual ~_objref_DifferentiableFunction();
150
151
152 private:
153 virtual void* _ptrToObjRef(const char*);
154
155 _objref_DifferentiableFunction(const _objref_DifferentiableFunction&);
156 _objref_DifferentiableFunction& operator = (const _objref_DifferentiableFunction&);
157 // not implemented
158
159 friend class DifferentiableFunction;
160 };
161
162 class _pof_DifferentiableFunction : public _OMNI_NS(proxyObjectFactory) {
163 public:
164 8 inline _pof_DifferentiableFunction() : _OMNI_NS(proxyObjectFactory)(DifferentiableFunction::_PD_repoId) {}
165 virtual ~_pof_DifferentiableFunction();
166
167 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
168 virtual _CORBA_Boolean is_a(const char*) const;
169 };
170
171 class _impl_DifferentiableFunction :
172 public virtual omniServant
173 {
174 public:
175 virtual ~_impl_DifferentiableFunction();
176
177 virtual floatSeq* value(const ::hpp::floatSeq& arg) = 0;
178 virtual floatSeqSeq* jacobian(const ::hpp::floatSeq& arg) = 0;
179 virtual size_type inputSize() = 0;
180 virtual size_type inputDerivativeSize() = 0;
181 virtual size_type outputSize() = 0;
182 virtual size_type outputDerivativeSize() = 0;
183 virtual char* name() = 0;
184 virtual char* str() = 0;
185
186 public: // Really protected, workaround for xlC
187 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
188
189 private:
190 virtual void* _ptrToInterface(const char*);
191 virtual const char* _mostDerivedRepoId();
192
193 };
194
195
196 #ifndef __hpp_mconstraints__idl_mImplicit__
197 #define __hpp_mconstraints__idl_mImplicit__
198 class Implicit;
199 class _objref_Implicit;
200 class _impl_Implicit;
201
202 typedef _objref_Implicit* Implicit_ptr;
203 typedef Implicit_ptr ImplicitRef;
204
205 class Implicit_Helper {
206 public:
207 typedef Implicit_ptr _ptr_type;
208
209 static _ptr_type _nil();
210 static _CORBA_Boolean is_nil(_ptr_type);
211 static void release(_ptr_type);
212 static void duplicate(_ptr_type);
213 static void marshalObjRef(_ptr_type, cdrStream&);
214 static _ptr_type unmarshalObjRef(cdrStream&);
215 };
216
217 typedef _CORBA_ObjRef_Var<_objref_Implicit, Implicit_Helper> Implicit_var;
218 typedef _CORBA_ObjRef_OUT_arg<_objref_Implicit,Implicit_Helper > Implicit_out;
219
220 #endif
221
222 // interface Implicit
223 class Implicit {
224 public:
225 // Declarations for this interface type.
226 typedef Implicit_ptr _ptr_type;
227 typedef Implicit_var _var_type;
228
229 static _ptr_type _duplicate(_ptr_type);
230 static _ptr_type _narrow(::CORBA::Object_ptr);
231 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
232
233 static _ptr_type _nil();
234
235 static inline void _marshalObjRef(_ptr_type, cdrStream&);
236
237 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
238 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
239 if (o)
240 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
241 else
242 return _nil();
243 }
244
245 static inline _ptr_type _fromObjRef(omniObjRef* o) {
246 if (o)
247 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
248 else
249 return _nil();
250 }
251
252 static _core_attr const char* _PD_repoId;
253
254 // Other IDL defined within this scope.
255
256 };
257
258 class _objref_Implicit :
259 public virtual ::CORBA::Object,
260 public virtual omniObjRef
261 {
262 public:
263 // IDL operations
264 DifferentiableFunction_ptr function();
265 size_type rightHandSideSize();
266 size_type parameterSize();
267 floatSeq* rightHandSideAt(::hpp::value_type s);
268 ComparisonTypes_t* getComparisonType();
269 void setComparisonType(const ::hpp::ComparisonTypes_t& compType);
270
271 // Constructors
272 inline _objref_Implicit() { _PR_setobj(0); } // nil
273 _objref_Implicit(omniIOR*, omniIdentity*);
274
275 protected:
276 virtual ~_objref_Implicit();
277
278
279 private:
280 virtual void* _ptrToObjRef(const char*);
281
282 _objref_Implicit(const _objref_Implicit&);
283 _objref_Implicit& operator = (const _objref_Implicit&);
284 // not implemented
285
286 friend class Implicit;
287 };
288
289 class _pof_Implicit : public _OMNI_NS(proxyObjectFactory) {
290 public:
291 8 inline _pof_Implicit() : _OMNI_NS(proxyObjectFactory)(Implicit::_PD_repoId) {}
292 virtual ~_pof_Implicit();
293
294 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
295 virtual _CORBA_Boolean is_a(const char*) const;
296 };
297
298 class _impl_Implicit :
299 public virtual omniServant
300 {
301 public:
302 virtual ~_impl_Implicit();
303
304 virtual DifferentiableFunction_ptr function() = 0;
305 virtual size_type rightHandSideSize() = 0;
306 virtual size_type parameterSize() = 0;
307 virtual floatSeq* rightHandSideAt(::hpp::value_type s) = 0;
308 virtual ComparisonTypes_t* getComparisonType() = 0;
309 virtual void setComparisonType(const ::hpp::ComparisonTypes_t& compType) = 0;
310
311 public: // Really protected, workaround for xlC
312 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
313
314 private:
315 virtual void* _ptrToInterface(const char*);
316 virtual const char* _mostDerivedRepoId();
317
318 };
319
320
321 #ifndef __hpp_mconstraints__idl_mLockedJoint__
322 #define __hpp_mconstraints__idl_mLockedJoint__
323 class LockedJoint;
324 class _objref_LockedJoint;
325 class _impl_LockedJoint;
326
327 typedef _objref_LockedJoint* LockedJoint_ptr;
328 typedef LockedJoint_ptr LockedJointRef;
329
330 class LockedJoint_Helper {
331 public:
332 typedef LockedJoint_ptr _ptr_type;
333
334 static _ptr_type _nil();
335 static _CORBA_Boolean is_nil(_ptr_type);
336 static void release(_ptr_type);
337 static void duplicate(_ptr_type);
338 static void marshalObjRef(_ptr_type, cdrStream&);
339 static _ptr_type unmarshalObjRef(cdrStream&);
340 };
341
342 typedef _CORBA_ObjRef_Var<_objref_LockedJoint, LockedJoint_Helper> LockedJoint_var;
343 typedef _CORBA_ObjRef_OUT_arg<_objref_LockedJoint,LockedJoint_Helper > LockedJoint_out;
344
345 #endif
346
347 // interface LockedJoint
348 class LockedJoint {
349 public:
350 // Declarations for this interface type.
351 typedef LockedJoint_ptr _ptr_type;
352 typedef LockedJoint_var _var_type;
353
354 static _ptr_type _duplicate(_ptr_type);
355 static _ptr_type _narrow(::CORBA::Object_ptr);
356 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
357
358 static _ptr_type _nil();
359
360 static inline void _marshalObjRef(_ptr_type, cdrStream&);
361
362 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
363 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
364 if (o)
365 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
366 else
367 return _nil();
368 }
369
370 static inline _ptr_type _fromObjRef(omniObjRef* o) {
371 if (o)
372 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
373 else
374 return _nil();
375 }
376
377 static _core_attr const char* _PD_repoId;
378
379 // Other IDL defined within this scope.
380
381 };
382
383 class _objref_LockedJoint :
384 public virtual _objref_Implicit
385 {
386 public:
387 // IDL operations
388 char* jointName();
389
390 // Constructors
391 inline _objref_LockedJoint() { _PR_setobj(0); } // nil
392 _objref_LockedJoint(omniIOR*, omniIdentity*);
393
394 protected:
395 virtual ~_objref_LockedJoint();
396
397
398 private:
399 virtual void* _ptrToObjRef(const char*);
400
401 _objref_LockedJoint(const _objref_LockedJoint&);
402 _objref_LockedJoint& operator = (const _objref_LockedJoint&);
403 // not implemented
404
405 friend class LockedJoint;
406 };
407
408 class _pof_LockedJoint : public _OMNI_NS(proxyObjectFactory) {
409 public:
410 8 inline _pof_LockedJoint() : _OMNI_NS(proxyObjectFactory)(LockedJoint::_PD_repoId) {}
411 virtual ~_pof_LockedJoint();
412
413 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
414 virtual _CORBA_Boolean is_a(const char*) const;
415 };
416
417 class _impl_LockedJoint :
418 public virtual _impl_Implicit
419 {
420 public:
421 virtual ~_impl_LockedJoint();
422
423 virtual char* jointName() = 0;
424
425 public: // Really protected, workaround for xlC
426 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
427
428 private:
429 virtual void* _ptrToInterface(const char*);
430 virtual const char* _mostDerivedRepoId();
431
432 };
433
434
435 #ifndef __hpp_mconstraints__idl_mConfigurationConstraint__
436 #define __hpp_mconstraints__idl_mConfigurationConstraint__
437 class ConfigurationConstraint;
438 class _objref_ConfigurationConstraint;
439 class _impl_ConfigurationConstraint;
440
441 typedef _objref_ConfigurationConstraint* ConfigurationConstraint_ptr;
442 typedef ConfigurationConstraint_ptr ConfigurationConstraintRef;
443
444 class ConfigurationConstraint_Helper {
445 public:
446 typedef ConfigurationConstraint_ptr _ptr_type;
447
448 static _ptr_type _nil();
449 static _CORBA_Boolean is_nil(_ptr_type);
450 static void release(_ptr_type);
451 static void duplicate(_ptr_type);
452 static void marshalObjRef(_ptr_type, cdrStream&);
453 static _ptr_type unmarshalObjRef(cdrStream&);
454 };
455
456 typedef _CORBA_ObjRef_Var<_objref_ConfigurationConstraint, ConfigurationConstraint_Helper> ConfigurationConstraint_var;
457 typedef _CORBA_ObjRef_OUT_arg<_objref_ConfigurationConstraint,ConfigurationConstraint_Helper > ConfigurationConstraint_out;
458
459 #endif
460
461 // interface ConfigurationConstraint
462 class ConfigurationConstraint {
463 public:
464 // Declarations for this interface type.
465 typedef ConfigurationConstraint_ptr _ptr_type;
466 typedef ConfigurationConstraint_var _var_type;
467
468 static _ptr_type _duplicate(_ptr_type);
469 static _ptr_type _narrow(::CORBA::Object_ptr);
470 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
471
472 static _ptr_type _nil();
473
474 static inline void _marshalObjRef(_ptr_type, cdrStream&);
475
476 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
477 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
478 if (o)
479 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
480 else
481 return _nil();
482 }
483
484 static inline _ptr_type _fromObjRef(omniObjRef* o) {
485 if (o)
486 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
487 else
488 return _nil();
489 }
490
491 static _core_attr const char* _PD_repoId;
492
493 // Other IDL defined within this scope.
494
495 };
496
497 class _objref_ConfigurationConstraint :
498 public virtual _objref_DifferentiableFunction
499 {
500 public:
501 // IDL operations
502 floatSeq* getWeights();
503 void setWeights(const ::hpp::floatSeq& weights);
504 floatSeq* getGoal();
505
506 // Constructors
507 inline _objref_ConfigurationConstraint() { _PR_setobj(0); } // nil
508 _objref_ConfigurationConstraint(omniIOR*, omniIdentity*);
509
510 protected:
511 virtual ~_objref_ConfigurationConstraint();
512
513
514 private:
515 virtual void* _ptrToObjRef(const char*);
516
517 _objref_ConfigurationConstraint(const _objref_ConfigurationConstraint&);
518 _objref_ConfigurationConstraint& operator = (const _objref_ConfigurationConstraint&);
519 // not implemented
520
521 friend class ConfigurationConstraint;
522 };
523
524 class _pof_ConfigurationConstraint : public _OMNI_NS(proxyObjectFactory) {
525 public:
526 8 inline _pof_ConfigurationConstraint() : _OMNI_NS(proxyObjectFactory)(ConfigurationConstraint::_PD_repoId) {}
527 virtual ~_pof_ConfigurationConstraint();
528
529 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
530 virtual _CORBA_Boolean is_a(const char*) const;
531 };
532
533 class _impl_ConfigurationConstraint :
534 public virtual _impl_DifferentiableFunction
535 {
536 public:
537 virtual ~_impl_ConfigurationConstraint();
538
539 virtual floatSeq* getWeights() = 0;
540 virtual void setWeights(const ::hpp::floatSeq& weights) = 0;
541 virtual floatSeq* getGoal() = 0;
542
543 public: // Really protected, workaround for xlC
544 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
545
546 private:
547 virtual void* _ptrToInterface(const char*);
548 virtual const char* _mostDerivedRepoId();
549
550 };
551
552
553 _CORBA_MODULE_END
554
555 _CORBA_MODULE_END
556
557
558
559 _CORBA_MODULE POA_hpp
560 _CORBA_MODULE_BEG
561
562 _CORBA_MODULE constraints_idl
563 _CORBA_MODULE_BEG
564
565 class DifferentiableFunction :
566 public virtual hpp::constraints_idl::_impl_DifferentiableFunction,
567 public virtual ::PortableServer::ServantBase
568 {
569 public:
570 virtual ~DifferentiableFunction();
571
572 inline ::hpp::constraints_idl::DifferentiableFunction_ptr _this() {
573 return (::hpp::constraints_idl::DifferentiableFunction_ptr) _do_this(::hpp::constraints_idl::DifferentiableFunction::_PD_repoId);
574 }
575 };
576
577 class Implicit :
578 public virtual hpp::constraints_idl::_impl_Implicit,
579 public virtual ::PortableServer::ServantBase
580 {
581 public:
582 virtual ~Implicit();
583
584 inline ::hpp::constraints_idl::Implicit_ptr _this() {
585 return (::hpp::constraints_idl::Implicit_ptr) _do_this(::hpp::constraints_idl::Implicit::_PD_repoId);
586 }
587 };
588
589 class LockedJoint :
590 public virtual hpp::constraints_idl::_impl_LockedJoint,
591 public virtual Implicit
592 {
593 public:
594 virtual ~LockedJoint();
595
596 inline ::hpp::constraints_idl::LockedJoint_ptr _this() {
597 return (::hpp::constraints_idl::LockedJoint_ptr) _do_this(::hpp::constraints_idl::LockedJoint::_PD_repoId);
598 }
599 };
600
601 class ConfigurationConstraint :
602 public virtual hpp::constraints_idl::_impl_ConfigurationConstraint,
603 public virtual DifferentiableFunction
604 {
605 public:
606 virtual ~ConfigurationConstraint();
607
608 inline ::hpp::constraints_idl::ConfigurationConstraint_ptr _this() {
609 return (::hpp::constraints_idl::ConfigurationConstraint_ptr) _do_this(::hpp::constraints_idl::ConfigurationConstraint::_PD_repoId);
610 }
611 };
612
613 _CORBA_MODULE_END
614
615 _CORBA_MODULE_END
616
617
618
619 _CORBA_MODULE OBV_hpp
620 _CORBA_MODULE_BEG
621
622 _CORBA_MODULE constraints_idl
623 _CORBA_MODULE_BEG
624
625 _CORBA_MODULE_END
626
627 _CORBA_MODULE_END
628
629
630
631
632
633 #undef _core_attr
634 #undef _dyn_attr
635
636
637
638 inline void
639 hpp::constraints_idl::DifferentiableFunction::_marshalObjRef(::hpp::constraints_idl::DifferentiableFunction_ptr obj, cdrStream& s) {
640 omniObjRef::_marshal(obj->_PR_getobj(),s);
641 }
642
643 inline void
644 hpp::constraints_idl::Implicit::_marshalObjRef(::hpp::constraints_idl::Implicit_ptr obj, cdrStream& s) {
645 omniObjRef::_marshal(obj->_PR_getobj(),s);
646 }
647
648 inline void
649 hpp::constraints_idl::LockedJoint::_marshalObjRef(::hpp::constraints_idl::LockedJoint_ptr obj, cdrStream& s) {
650 omniObjRef::_marshal(obj->_PR_getobj(),s);
651 }
652
653 inline void
654 hpp::constraints_idl::ConfigurationConstraint::_marshalObjRef(::hpp::constraints_idl::ConfigurationConstraint_ptr obj, cdrStream& s) {
655 omniObjRef::_marshal(obj->_PR_getobj(),s);
656 }
657
658
659
660 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_constraints
661 # undef USE_stub_in_nt_dll
662 # undef USE_stub_in_nt_dll_NOT_DEFINED_constraints
663 #endif
664 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_constraints
665 # undef USE_core_stub_in_nt_dll
666 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_constraints
667 #endif
668 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_constraints
669 # undef USE_dyn_stub_in_nt_dll
670 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_constraints
671 #endif
672
673 #endif // __constraints_hh__
674
675