GCC Code Coverage Report


Directory: ./
File: src/hpp/core_idl/path_planners-idl.hh
Date: 2024-12-13 15:50:05
Exec Total Coverage
Lines: 4 53 7.5%
Branches: 0 24 0.0%

Line Branch Exec Source
1 // This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit.
2 #ifndef pp_core_idl__path__planners_hh__
3 #define pp_core_idl__path__planners_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_path__planners
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_path__planners
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__planners
17 #endif
18
19
20
21 #ifndef pp_core_idl__common_hh_EXTERNAL_GUARD__
22 #define pp_core_idl__common_hh_EXTERNAL_GUARD__
23 #include <hpp/common-idl.hh>
24 #endif
25 #ifndef pp_core_idl__paths_hh_EXTERNAL_GUARD__
26 #define pp_core_idl__paths_hh_EXTERNAL_GUARD__
27 #include <hpp/core_idl/paths-idl.hh>
28 #endif
29 #ifndef pp_core_idl__constraints_hh_EXTERNAL_GUARD__
30 #define pp_core_idl__constraints_hh_EXTERNAL_GUARD__
31 #include <hpp/constraints_idl/constraints-idl.hh>
32 #endif
33 #ifndef pp_core_idl____constraints_hh_EXTERNAL_GUARD__
34 #define pp_core_idl____constraints_hh_EXTERNAL_GUARD__
35 #include <hpp/core_idl/_constraints-idl.hh>
36 #endif
37
38
39
40 #ifdef USE_stub_in_nt_dll
41 # ifndef USE_core_stub_in_nt_dll
42 # define USE_core_stub_in_nt_dll
43 # endif
44 # ifndef USE_dyn_stub_in_nt_dll
45 # define USE_dyn_stub_in_nt_dll
46 # endif
47 #endif
48
49 #ifdef _core_attr
50 # error "A local CPP macro _core_attr has already been defined."
51 #else
52 # ifdef USE_core_stub_in_nt_dll
53 # define _core_attr _OMNIORB_NTDLL_IMPORT
54 # else
55 # define _core_attr
56 # endif
57 #endif
58
59 #ifdef _dyn_attr
60 # error "A local CPP macro _dyn_attr has already been defined."
61 #else
62 # ifdef USE_dyn_stub_in_nt_dll
63 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
64 # else
65 # define _dyn_attr
66 # endif
67 #endif
68
69
70
71 _CORBA_MODULE hpp
72
73 _CORBA_MODULE_BEG
74
75 _CORBA_MODULE core_idl
76
77 _CORBA_MODULE_BEG
78
79 #ifndef __hpp_mcore__idl_mPath__
80 #define __hpp_mcore__idl_mPath__
81 class Path;
82 class _objref_Path;
83 class _impl_Path;
84
85 typedef _objref_Path* Path_ptr;
86 typedef Path_ptr PathRef;
87
88 class Path_Helper {
89 public:
90 typedef Path_ptr _ptr_type;
91
92 static _ptr_type _nil();
93 static _CORBA_Boolean is_nil(_ptr_type);
94 static void release(_ptr_type);
95 static void duplicate(_ptr_type);
96 static void marshalObjRef(_ptr_type, cdrStream&);
97 static _ptr_type unmarshalObjRef(cdrStream&);
98 };
99
100 typedef _CORBA_ObjRef_Var<_objref_Path, Path_Helper> Path_var;
101 typedef _CORBA_ObjRef_OUT_arg<_objref_Path,Path_Helper > Path_out;
102
103 #endif
104
105 #ifndef __hpp_mcore__idl_mConnectedComponent__
106 #define __hpp_mcore__idl_mConnectedComponent__
107 class ConnectedComponent;
108 class _objref_ConnectedComponent;
109 class _impl_ConnectedComponent;
110
111 typedef _objref_ConnectedComponent* ConnectedComponent_ptr;
112 typedef ConnectedComponent_ptr ConnectedComponentRef;
113
114 class ConnectedComponent_Helper {
115 public:
116 typedef ConnectedComponent_ptr _ptr_type;
117
118 static _ptr_type _nil();
119 static _CORBA_Boolean is_nil(_ptr_type);
120 static void release(_ptr_type);
121 static void duplicate(_ptr_type);
122 static void marshalObjRef(_ptr_type, cdrStream&);
123 static _ptr_type unmarshalObjRef(cdrStream&);
124 };
125
126 typedef _CORBA_ObjRef_Var<_objref_ConnectedComponent, ConnectedComponent_Helper> ConnectedComponent_var;
127 typedef _CORBA_ObjRef_OUT_arg<_objref_ConnectedComponent,ConnectedComponent_Helper > ConnectedComponent_out;
128
129 #endif
130
131 // interface ConnectedComponent
132 class ConnectedComponent {
133 public:
134 // Declarations for this interface type.
135 typedef ConnectedComponent_ptr _ptr_type;
136 typedef ConnectedComponent_var _var_type;
137
138 static _ptr_type _duplicate(_ptr_type);
139 static _ptr_type _narrow(::CORBA::Object_ptr);
140 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
141
142 static _ptr_type _nil();
143
144 static inline void _marshalObjRef(_ptr_type, cdrStream&);
145
146 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
147 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
148 if (o)
149 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
150 else
151 return _nil();
152 }
153
154 static inline _ptr_type _fromObjRef(omniObjRef* o) {
155 if (o)
156 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
157 else
158 return _nil();
159 }
160
161 static _core_attr const char* _PD_repoId;
162
163 // Other IDL defined within this scope.
164
165 };
166
167 class _objref_ConnectedComponent :
168 public virtual ::CORBA::Object,
169 public virtual omniObjRef
170 {
171 public:
172 // IDL operations
173 void deleteThis();
174 ::CORBA::Boolean deleteIfExpired();
175 void persistantStorage(::CORBA::Boolean persistant);
176 floatSeqSeq* nodes();
177
178 // Constructors
179 inline _objref_ConnectedComponent() { _PR_setobj(0); } // nil
180 _objref_ConnectedComponent(omniIOR*, omniIdentity*);
181
182 protected:
183 virtual ~_objref_ConnectedComponent();
184
185
186 private:
187 virtual void* _ptrToObjRef(const char*);
188
189 _objref_ConnectedComponent(const _objref_ConnectedComponent&);
190 _objref_ConnectedComponent& operator = (const _objref_ConnectedComponent&);
191 // not implemented
192
193 friend class ConnectedComponent;
194 };
195
196 class _pof_ConnectedComponent : public _OMNI_NS(proxyObjectFactory) {
197 public:
198 8 inline _pof_ConnectedComponent() : _OMNI_NS(proxyObjectFactory)(ConnectedComponent::_PD_repoId) {}
199 virtual ~_pof_ConnectedComponent();
200
201 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
202 virtual _CORBA_Boolean is_a(const char*) const;
203 };
204
205 class _impl_ConnectedComponent :
206 public virtual omniServant
207 {
208 public:
209 virtual ~_impl_ConnectedComponent();
210
211 virtual void deleteThis() = 0;
212 virtual ::CORBA::Boolean deleteIfExpired() = 0;
213 virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
214 virtual floatSeqSeq* nodes() = 0;
215
216 public: // Really protected, workaround for xlC
217 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
218
219 private:
220 virtual void* _ptrToInterface(const char*);
221 virtual const char* _mostDerivedRepoId();
222
223 };
224
225
226 class ConnectedComponentSeq_var;
227
228 class ConnectedComponentSeq : public _CORBA_Unbounded_Sequence_ObjRef< _objref_ConnectedComponent, _CORBA_ObjRef_Element< _objref_ConnectedComponent, ConnectedComponent_Helper> , ConnectedComponent_Helper > {
229 public:
230 typedef ConnectedComponentSeq_var _var_type;
231 inline ConnectedComponentSeq() {}
232 inline ConnectedComponentSeq(const ConnectedComponentSeq& _s)
233 : _CORBA_Unbounded_Sequence_ObjRef< _objref_ConnectedComponent, _CORBA_ObjRef_Element< _objref_ConnectedComponent, ConnectedComponent_Helper> , ConnectedComponent_Helper > (_s) {}
234
235 inline ConnectedComponentSeq(_CORBA_ULong _max)
236 : _CORBA_Unbounded_Sequence_ObjRef< _objref_ConnectedComponent, _CORBA_ObjRef_Element< _objref_ConnectedComponent, ConnectedComponent_Helper> , ConnectedComponent_Helper > (_max) {}
237 inline ConnectedComponentSeq(_CORBA_ULong _max, _CORBA_ULong _len, ConnectedComponent_ptr* _val, _CORBA_Boolean _rel=0)
238 : _CORBA_Unbounded_Sequence_ObjRef< _objref_ConnectedComponent, _CORBA_ObjRef_Element< _objref_ConnectedComponent, ConnectedComponent_Helper> , ConnectedComponent_Helper > (_max, _len, _val, _rel) {}
239
240
241
242 inline ConnectedComponentSeq& operator = (const ConnectedComponentSeq& _s) {
243 _CORBA_Unbounded_Sequence_ObjRef< _objref_ConnectedComponent, _CORBA_ObjRef_Element< _objref_ConnectedComponent, ConnectedComponent_Helper> , ConnectedComponent_Helper > ::operator=(_s);
244 return *this;
245 }
246 };
247
248 class ConnectedComponentSeq_out;
249
250 class ConnectedComponentSeq_var {
251 public:
252 inline ConnectedComponentSeq_var() : _pd_seq(0) {}
253 inline ConnectedComponentSeq_var(ConnectedComponentSeq* _s) : _pd_seq(_s) {}
254 inline ConnectedComponentSeq_var(const ConnectedComponentSeq_var& _s) {
255 if (_s._pd_seq) _pd_seq = new ConnectedComponentSeq(*_s._pd_seq);
256 else _pd_seq = 0;
257 }
258 inline ~ConnectedComponentSeq_var() { if (_pd_seq) delete _pd_seq; }
259
260 inline ConnectedComponentSeq_var& operator = (ConnectedComponentSeq* _s) {
261 if (_pd_seq) delete _pd_seq;
262 _pd_seq = _s;
263 return *this;
264 }
265 inline ConnectedComponentSeq_var& operator = (const ConnectedComponentSeq_var& _s) {
266 if (&_s != this) {
267 if (_s._pd_seq) {
268 if (!_pd_seq) _pd_seq = new ConnectedComponentSeq;
269 *_pd_seq = *_s._pd_seq;
270 }
271 else if (_pd_seq) {
272 delete _pd_seq;
273 _pd_seq = 0;
274 }
275 }
276 return *this;
277 }
278 inline _CORBA_ObjRef_Element< _objref_ConnectedComponent, ConnectedComponent_Helper> operator [] (_CORBA_ULong _s) {
279 return (*_pd_seq)[_s];
280 }
281
282
283
284 inline ConnectedComponentSeq* operator -> () { return _pd_seq; }
285 inline const ConnectedComponentSeq* operator -> () const { return _pd_seq; }
286 #if defined(__GNUG__)
287 inline operator ConnectedComponentSeq& () const { return *_pd_seq; }
288 #else
289 inline operator const ConnectedComponentSeq& () const { return *_pd_seq; }
290 inline operator ConnectedComponentSeq& () { return *_pd_seq; }
291 #endif
292
293 inline const ConnectedComponentSeq& in() const { return *_pd_seq; }
294 inline ConnectedComponentSeq& inout() { return *_pd_seq; }
295 inline ConnectedComponentSeq*& out() {
296 if (_pd_seq) { delete _pd_seq; _pd_seq = 0; }
297 return _pd_seq;
298 }
299 inline ConnectedComponentSeq* _retn() { ConnectedComponentSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; }
300
301 friend class ConnectedComponentSeq_out;
302
303 private:
304 ConnectedComponentSeq* _pd_seq;
305 };
306
307 class ConnectedComponentSeq_out {
308 public:
309 inline ConnectedComponentSeq_out(ConnectedComponentSeq*& _s) : _data(_s) { _data = 0; }
310 inline ConnectedComponentSeq_out(ConnectedComponentSeq_var& _s)
311 : _data(_s._pd_seq) { _s = (ConnectedComponentSeq*) 0; }
312 inline ConnectedComponentSeq_out(const ConnectedComponentSeq_out& _s) : _data(_s._data) {}
313 inline ConnectedComponentSeq_out& operator = (const ConnectedComponentSeq_out& _s) {
314 _data = _s._data;
315 return *this;
316 }
317 inline ConnectedComponentSeq_out& operator = (ConnectedComponentSeq* _s) {
318 _data = _s;
319 return *this;
320 }
321 inline operator ConnectedComponentSeq*&() { return _data; }
322 inline ConnectedComponentSeq*& ptr() { return _data; }
323 inline ConnectedComponentSeq* operator->() { return _data; }
324
325 inline _CORBA_ObjRef_Element< _objref_ConnectedComponent, ConnectedComponent_Helper> operator [] (_CORBA_ULong _i) {
326 return (*_data)[_i];
327 }
328
329
330
331 ConnectedComponentSeq*& _data;
332
333 private:
334 ConnectedComponentSeq_out();
335 ConnectedComponentSeq_out& operator=(const ConnectedComponentSeq_var&);
336 };
337
338 #ifndef __hpp_mcore__idl_mRoadmap__
339 #define __hpp_mcore__idl_mRoadmap__
340 class Roadmap;
341 class _objref_Roadmap;
342 class _impl_Roadmap;
343
344 typedef _objref_Roadmap* Roadmap_ptr;
345 typedef Roadmap_ptr RoadmapRef;
346
347 class Roadmap_Helper {
348 public:
349 typedef Roadmap_ptr _ptr_type;
350
351 static _ptr_type _nil();
352 static _CORBA_Boolean is_nil(_ptr_type);
353 static void release(_ptr_type);
354 static void duplicate(_ptr_type);
355 static void marshalObjRef(_ptr_type, cdrStream&);
356 static _ptr_type unmarshalObjRef(cdrStream&);
357 };
358
359 typedef _CORBA_ObjRef_Var<_objref_Roadmap, Roadmap_Helper> Roadmap_var;
360 typedef _CORBA_ObjRef_OUT_arg<_objref_Roadmap,Roadmap_Helper > Roadmap_out;
361
362 #endif
363
364 // interface Roadmap
365 class Roadmap {
366 public:
367 // Declarations for this interface type.
368 typedef Roadmap_ptr _ptr_type;
369 typedef Roadmap_var _var_type;
370
371 static _ptr_type _duplicate(_ptr_type);
372 static _ptr_type _narrow(::CORBA::Object_ptr);
373 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
374
375 static _ptr_type _nil();
376
377 static inline void _marshalObjRef(_ptr_type, cdrStream&);
378
379 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
380 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
381 if (o)
382 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
383 else
384 return _nil();
385 }
386
387 static inline _ptr_type _fromObjRef(omniObjRef* o) {
388 if (o)
389 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
390 else
391 return _nil();
392 }
393
394 static _core_attr const char* _PD_repoId;
395
396 // Other IDL defined within this scope.
397
398 };
399
400 class _objref_Roadmap :
401 public virtual ::CORBA::Object,
402 public virtual omniObjRef
403 {
404 public:
405 // IDL operations
406 void deleteThis();
407 ::CORBA::Boolean deleteIfExpired();
408 void persistantStorage(::CORBA::Boolean persistant);
409 void clear();
410 void addNode(const ::hpp::floatSeq& config);
411 void addNodeAndEdge(const ::hpp::floatSeq& cfgfrom, const ::hpp::floatSeq& cfgto, ::hpp::core_idl::Path_ptr path_);
412 void addNodeAndEdges(const ::hpp::floatSeq& cfgfrom, const ::hpp::floatSeq& cfgto, ::hpp::core_idl::Path_ptr path_);
413 floatSeq* nearestNode(const ::hpp::floatSeq& config, ::hpp::value_type& distance, ::CORBA::Boolean reverse);
414 floatSeqSeq* nearestNodes(const ::hpp::floatSeq& config, ::hpp::size_type& k);
415 size_type getNbNodes();
416 floatSeq* getNode(::hpp::size_type i);
417 size_type getNbEdges();
418 Path_ptr getEdge(::hpp::size_type i);
419 ConnectedComponentSeq* getConnectedComponents();
420
421 // Constructors
422 inline _objref_Roadmap() { _PR_setobj(0); } // nil
423 _objref_Roadmap(omniIOR*, omniIdentity*);
424
425 protected:
426 virtual ~_objref_Roadmap();
427
428
429 private:
430 virtual void* _ptrToObjRef(const char*);
431
432 _objref_Roadmap(const _objref_Roadmap&);
433 _objref_Roadmap& operator = (const _objref_Roadmap&);
434 // not implemented
435
436 friend class Roadmap;
437 };
438
439 class _pof_Roadmap : public _OMNI_NS(proxyObjectFactory) {
440 public:
441 8 inline _pof_Roadmap() : _OMNI_NS(proxyObjectFactory)(Roadmap::_PD_repoId) {}
442 virtual ~_pof_Roadmap();
443
444 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
445 virtual _CORBA_Boolean is_a(const char*) const;
446 };
447
448 class _impl_Roadmap :
449 public virtual omniServant
450 {
451 public:
452 virtual ~_impl_Roadmap();
453
454 virtual void deleteThis() = 0;
455 virtual ::CORBA::Boolean deleteIfExpired() = 0;
456 virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
457 virtual void clear() = 0;
458 virtual void addNode(const ::hpp::floatSeq& config) = 0;
459 virtual void addNodeAndEdge(const ::hpp::floatSeq& cfgfrom, const ::hpp::floatSeq& cfgto, ::hpp::core_idl::Path_ptr path_) = 0;
460 virtual void addNodeAndEdges(const ::hpp::floatSeq& cfgfrom, const ::hpp::floatSeq& cfgto, ::hpp::core_idl::Path_ptr path_) = 0;
461 virtual floatSeq* nearestNode(const ::hpp::floatSeq& config, ::hpp::value_type& distance, ::CORBA::Boolean reverse) = 0;
462 virtual floatSeqSeq* nearestNodes(const ::hpp::floatSeq& config, ::hpp::size_type& k) = 0;
463 virtual size_type getNbNodes() = 0;
464 virtual floatSeq* getNode(::hpp::size_type i) = 0;
465 virtual size_type getNbEdges() = 0;
466 virtual Path_ptr getEdge(::hpp::size_type i) = 0;
467 virtual ConnectedComponentSeq* getConnectedComponents() = 0;
468
469 public: // Really protected, workaround for xlC
470 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
471
472 private:
473 virtual void* _ptrToInterface(const char*);
474 virtual const char* _mostDerivedRepoId();
475
476 };
477
478
479 #ifndef __hpp_mcore__idl_mPathPlanner__
480 #define __hpp_mcore__idl_mPathPlanner__
481 class PathPlanner;
482 class _objref_PathPlanner;
483 class _impl_PathPlanner;
484
485 typedef _objref_PathPlanner* PathPlanner_ptr;
486 typedef PathPlanner_ptr PathPlannerRef;
487
488 class PathPlanner_Helper {
489 public:
490 typedef PathPlanner_ptr _ptr_type;
491
492 static _ptr_type _nil();
493 static _CORBA_Boolean is_nil(_ptr_type);
494 static void release(_ptr_type);
495 static void duplicate(_ptr_type);
496 static void marshalObjRef(_ptr_type, cdrStream&);
497 static _ptr_type unmarshalObjRef(cdrStream&);
498 };
499
500 typedef _CORBA_ObjRef_Var<_objref_PathPlanner, PathPlanner_Helper> PathPlanner_var;
501 typedef _CORBA_ObjRef_OUT_arg<_objref_PathPlanner,PathPlanner_Helper > PathPlanner_out;
502
503 #endif
504
505 // interface PathPlanner
506 class PathPlanner {
507 public:
508 // Declarations for this interface type.
509 typedef PathPlanner_ptr _ptr_type;
510 typedef PathPlanner_var _var_type;
511
512 static _ptr_type _duplicate(_ptr_type);
513 static _ptr_type _narrow(::CORBA::Object_ptr);
514 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
515
516 static _ptr_type _nil();
517
518 static inline void _marshalObjRef(_ptr_type, cdrStream&);
519
520 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
521 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
522 if (o)
523 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
524 else
525 return _nil();
526 }
527
528 static inline _ptr_type _fromObjRef(omniObjRef* o) {
529 if (o)
530 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
531 else
532 return _nil();
533 }
534
535 static _core_attr const char* _PD_repoId;
536
537 // Other IDL defined within this scope.
538
539 };
540
541 class _objref_PathPlanner :
542 public virtual ::CORBA::Object,
543 public virtual omniObjRef
544 {
545 public:
546 // IDL operations
547 void deleteThis();
548 ::CORBA::Boolean deleteIfExpired();
549 void persistantStorage(::CORBA::Boolean persistant);
550 PathVector_ptr solve();
551 void startSolve();
552 void tryConnectInitAndGoals();
553 void oneStep();
554 PathVector_ptr computePath();
555 PathVector_ptr finishSolve(::hpp::core_idl::PathVector_ptr path);
556 void interrupt();
557 void maxIterations(::hpp::size_type n);
558 void timeOut(::hpp::value_type seconds);
559 Roadmap_ptr getRoadmap();
560 void stopWhenProblemIsSolved(::CORBA::Boolean enable);
561
562 // Constructors
563 inline _objref_PathPlanner() { _PR_setobj(0); } // nil
564 _objref_PathPlanner(omniIOR*, omniIdentity*);
565
566 protected:
567 virtual ~_objref_PathPlanner();
568
569
570 private:
571 virtual void* _ptrToObjRef(const char*);
572
573 _objref_PathPlanner(const _objref_PathPlanner&);
574 _objref_PathPlanner& operator = (const _objref_PathPlanner&);
575 // not implemented
576
577 friend class PathPlanner;
578 };
579
580 class _pof_PathPlanner : public _OMNI_NS(proxyObjectFactory) {
581 public:
582 8 inline _pof_PathPlanner() : _OMNI_NS(proxyObjectFactory)(PathPlanner::_PD_repoId) {}
583 virtual ~_pof_PathPlanner();
584
585 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
586 virtual _CORBA_Boolean is_a(const char*) const;
587 };
588
589 class _impl_PathPlanner :
590 public virtual omniServant
591 {
592 public:
593 virtual ~_impl_PathPlanner();
594
595 virtual void deleteThis() = 0;
596 virtual ::CORBA::Boolean deleteIfExpired() = 0;
597 virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
598 virtual PathVector_ptr solve() = 0;
599 virtual void startSolve() = 0;
600 virtual void tryConnectInitAndGoals() = 0;
601 virtual void oneStep() = 0;
602 virtual PathVector_ptr computePath() = 0;
603 virtual PathVector_ptr finishSolve(::hpp::core_idl::PathVector_ptr path) = 0;
604 virtual void interrupt() = 0;
605 virtual void maxIterations(::hpp::size_type n) = 0;
606 virtual void timeOut(::hpp::value_type seconds) = 0;
607 virtual Roadmap_ptr getRoadmap() = 0;
608 virtual void stopWhenProblemIsSolved(::CORBA::Boolean enable) = 0;
609
610 public: // Really protected, workaround for xlC
611 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
612
613 private:
614 virtual void* _ptrToInterface(const char*);
615 virtual const char* _mostDerivedRepoId();
616
617 };
618
619
620 #ifndef __hpp_mcore__idl_mPathOptimizer__
621 #define __hpp_mcore__idl_mPathOptimizer__
622 class PathOptimizer;
623 class _objref_PathOptimizer;
624 class _impl_PathOptimizer;
625
626 typedef _objref_PathOptimizer* PathOptimizer_ptr;
627 typedef PathOptimizer_ptr PathOptimizerRef;
628
629 class PathOptimizer_Helper {
630 public:
631 typedef PathOptimizer_ptr _ptr_type;
632
633 static _ptr_type _nil();
634 static _CORBA_Boolean is_nil(_ptr_type);
635 static void release(_ptr_type);
636 static void duplicate(_ptr_type);
637 static void marshalObjRef(_ptr_type, cdrStream&);
638 static _ptr_type unmarshalObjRef(cdrStream&);
639 };
640
641 typedef _CORBA_ObjRef_Var<_objref_PathOptimizer, PathOptimizer_Helper> PathOptimizer_var;
642 typedef _CORBA_ObjRef_OUT_arg<_objref_PathOptimizer,PathOptimizer_Helper > PathOptimizer_out;
643
644 #endif
645
646 // interface PathOptimizer
647 class PathOptimizer {
648 public:
649 // Declarations for this interface type.
650 typedef PathOptimizer_ptr _ptr_type;
651 typedef PathOptimizer_var _var_type;
652
653 static _ptr_type _duplicate(_ptr_type);
654 static _ptr_type _narrow(::CORBA::Object_ptr);
655 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
656
657 static _ptr_type _nil();
658
659 static inline void _marshalObjRef(_ptr_type, cdrStream&);
660
661 static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
662 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
663 if (o)
664 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
665 else
666 return _nil();
667 }
668
669 static inline _ptr_type _fromObjRef(omniObjRef* o) {
670 if (o)
671 return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
672 else
673 return _nil();
674 }
675
676 static _core_attr const char* _PD_repoId;
677
678 // Other IDL defined within this scope.
679
680 };
681
682 class _objref_PathOptimizer :
683 public virtual ::CORBA::Object,
684 public virtual omniObjRef
685 {
686 public:
687 // IDL operations
688 void deleteThis();
689 ::CORBA::Boolean deleteIfExpired();
690 void persistantStorage(::CORBA::Boolean persistant);
691 PathVector_ptr optimize(::hpp::core_idl::PathVector_ptr path);
692 void interrupt();
693 void maxIterations(::hpp::size_type n);
694 void timeOut(::hpp::value_type seconds);
695
696 // Constructors
697 inline _objref_PathOptimizer() { _PR_setobj(0); } // nil
698 _objref_PathOptimizer(omniIOR*, omniIdentity*);
699
700 protected:
701 virtual ~_objref_PathOptimizer();
702
703
704 private:
705 virtual void* _ptrToObjRef(const char*);
706
707 _objref_PathOptimizer(const _objref_PathOptimizer&);
708 _objref_PathOptimizer& operator = (const _objref_PathOptimizer&);
709 // not implemented
710
711 friend class PathOptimizer;
712 };
713
714 class _pof_PathOptimizer : public _OMNI_NS(proxyObjectFactory) {
715 public:
716 8 inline _pof_PathOptimizer() : _OMNI_NS(proxyObjectFactory)(PathOptimizer::_PD_repoId) {}
717 virtual ~_pof_PathOptimizer();
718
719 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
720 virtual _CORBA_Boolean is_a(const char*) const;
721 };
722
723 class _impl_PathOptimizer :
724 public virtual omniServant
725 {
726 public:
727 virtual ~_impl_PathOptimizer();
728
729 virtual void deleteThis() = 0;
730 virtual ::CORBA::Boolean deleteIfExpired() = 0;
731 virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
732 virtual PathVector_ptr optimize(::hpp::core_idl::PathVector_ptr path) = 0;
733 virtual void interrupt() = 0;
734 virtual void maxIterations(::hpp::size_type n) = 0;
735 virtual void timeOut(::hpp::value_type seconds) = 0;
736
737 public: // Really protected, workaround for xlC
738 virtual _CORBA_Boolean _dispatch(omniCallHandle&);
739
740 private:
741 virtual void* _ptrToInterface(const char*);
742 virtual const char* _mostDerivedRepoId();
743
744 };
745
746
747 _CORBA_MODULE_END
748
749 _CORBA_MODULE_END
750
751
752
753 _CORBA_MODULE POA_hpp
754 _CORBA_MODULE_BEG
755
756 _CORBA_MODULE core_idl
757 _CORBA_MODULE_BEG
758
759 class ConnectedComponent :
760 public virtual hpp::core_idl::_impl_ConnectedComponent,
761 public virtual ::PortableServer::ServantBase
762 {
763 public:
764 virtual ~ConnectedComponent();
765
766 inline ::hpp::core_idl::ConnectedComponent_ptr _this() {
767 return (::hpp::core_idl::ConnectedComponent_ptr) _do_this(::hpp::core_idl::ConnectedComponent::_PD_repoId);
768 }
769 };
770
771 class Roadmap :
772 public virtual hpp::core_idl::_impl_Roadmap,
773 public virtual ::PortableServer::ServantBase
774 {
775 public:
776 virtual ~Roadmap();
777
778 inline ::hpp::core_idl::Roadmap_ptr _this() {
779 return (::hpp::core_idl::Roadmap_ptr) _do_this(::hpp::core_idl::Roadmap::_PD_repoId);
780 }
781 };
782
783 class PathPlanner :
784 public virtual hpp::core_idl::_impl_PathPlanner,
785 public virtual ::PortableServer::ServantBase
786 {
787 public:
788 virtual ~PathPlanner();
789
790 inline ::hpp::core_idl::PathPlanner_ptr _this() {
791 return (::hpp::core_idl::PathPlanner_ptr) _do_this(::hpp::core_idl::PathPlanner::_PD_repoId);
792 }
793 };
794
795 class PathOptimizer :
796 public virtual hpp::core_idl::_impl_PathOptimizer,
797 public virtual ::PortableServer::ServantBase
798 {
799 public:
800 virtual ~PathOptimizer();
801
802 inline ::hpp::core_idl::PathOptimizer_ptr _this() {
803 return (::hpp::core_idl::PathOptimizer_ptr) _do_this(::hpp::core_idl::PathOptimizer::_PD_repoId);
804 }
805 };
806
807 _CORBA_MODULE_END
808
809 _CORBA_MODULE_END
810
811
812
813 _CORBA_MODULE OBV_hpp
814 _CORBA_MODULE_BEG
815
816 _CORBA_MODULE core_idl
817 _CORBA_MODULE_BEG
818
819 _CORBA_MODULE_END
820
821 _CORBA_MODULE_END
822
823
824
825
826
827 #undef _core_attr
828 #undef _dyn_attr
829
830
831
832 inline void
833 hpp::core_idl::ConnectedComponent::_marshalObjRef(::hpp::core_idl::ConnectedComponent_ptr obj, cdrStream& s) {
834 omniObjRef::_marshal(obj->_PR_getobj(),s);
835 }
836
837 inline void
838 hpp::core_idl::Roadmap::_marshalObjRef(::hpp::core_idl::Roadmap_ptr obj, cdrStream& s) {
839 omniObjRef::_marshal(obj->_PR_getobj(),s);
840 }
841
842 inline void
843 hpp::core_idl::PathPlanner::_marshalObjRef(::hpp::core_idl::PathPlanner_ptr obj, cdrStream& s) {
844 omniObjRef::_marshal(obj->_PR_getobj(),s);
845 }
846
847 inline void
848 hpp::core_idl::PathOptimizer::_marshalObjRef(::hpp::core_idl::PathOptimizer_ptr obj, cdrStream& s) {
849 omniObjRef::_marshal(obj->_PR_getobj(),s);
850 }
851
852
853
854 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_path__planners
855 # undef USE_stub_in_nt_dll
856 # undef USE_stub_in_nt_dll_NOT_DEFINED_path__planners
857 #endif
858 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_path__planners
859 # undef USE_core_stub_in_nt_dll
860 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_path__planners
861 #endif
862 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__planners
863 # undef USE_dyn_stub_in_nt_dll
864 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__planners
865 #endif
866
867 #endif // __path__planners_hh__
868
869