hpp-corbaserver 6.0.0
Corba server for Humanoid Path Planner applications
Loading...
Searching...
No Matches
path_planners-fwd.hh
Go to the documentation of this file.
1#ifndef hpp_core_idl__path__planners_hpp__
2#define hpp_core_idl__path__planners_hpp__
3
4//
5// Implemention of IDL interfaces in file /root/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-6.0.0/idl/hpp/core_idl/path_planners.idl
6//
7
10
11#include <iterator>
12#include <hpp/pinocchio/serialization.hh>
13#include <hpp/core/connected-component.hh>
14#include <hpp/core/path-planner.hh>
15#include <hpp/core/path-optimizer.hh>
16#include <hpp/core/roadmap.hh>
17#include <hpp/core/edge.hh>
18#include <hpp/core/node.hh>
19#include <hpp/core_idl/paths.hh>
20
21
22
23
24
25//
26// Class implementing IDL interface hpp::core_idl::ConnectedComponent
27//
28namespace hpp {
29
30namespace core_impl {
31template <typename _Base, typename _Storage>
33public hpp::corbaServer::ServantBase<hpp::core::ConnectedComponent, _Storage>, public virtual _Base
34{
35public:
36 typedef hpp::core::ConnectedComponent HppBase;
37
39
40public:
41 // standard constructor
42 ConnectedComponentServant(::hpp::corbaServer::Server* server, const _Storage& s);
44
45 // methods corresponding to defined IDL attributes and operations
46
47 void deleteThis ();
48
49
50 ::CORBA::Boolean deleteIfExpired ();
51
52
53 void persistantStorage (::CORBA::Boolean persistant);
54
55
57
58
59};
60
62} // namespace core_impl
63
64} // namespace hpp
65
66namespace hpp {
67namespace corbaServer {
68template<> struct hpp_traits<hpp::core::ConnectedComponent>{ typedef hpp::core::ConnectedComponent Base; };
69} // namespace corbaServer
70} // namespace corbaServer
71
72
73//
74// Class implementing IDL interface hpp::core_idl::Roadmap
75//
76namespace hpp {
77
78namespace core_impl {
79template <typename _Base, typename _Storage>
81public hpp::corbaServer::ServantBase<hpp::core::Roadmap, _Storage>, public virtual _Base
82{
83public:
84 typedef hpp::core::Roadmap HppBase;
85
87
88public:
89 // standard constructor
90 RoadmapServant(::hpp::corbaServer::Server* server, const _Storage& s);
91 virtual ~RoadmapServant();
92
93 // methods corresponding to defined IDL attributes and operations
94
95 void deleteThis ();
96
97
98 ::CORBA::Boolean deleteIfExpired ();
99
100
101 void persistantStorage (::CORBA::Boolean persistant);
102
103
104 void clear ();
105
106
107 void addNode (const hpp::floatSeq& config);
108
109
110 void addNodeAndEdge (const hpp::floatSeq& cfgfrom, const hpp::floatSeq& cfgto, hpp::core_idl::Path_ptr path_);
111
112
113 void addNodeAndEdges (const hpp::floatSeq& cfgfrom, const hpp::floatSeq& cfgto, hpp::core_idl::Path_ptr path_);
114
115
116 hpp::floatSeq* nearestNode (const hpp::floatSeq& config, hpp::value_type& distance, ::CORBA::Boolean reverse);
117
118
120
121
123
124
126
127
129
130
131 hpp::core_idl::Path_ptr getEdge (hpp::size_type i);
132
133
135
136
137};
138
140} // namespace core_impl
141
142} // namespace hpp
143
144namespace hpp {
145namespace corbaServer {
146template<> struct hpp_traits<hpp::core::Roadmap>{ typedef hpp::core::Roadmap Base; };
147} // namespace corbaServer
148} // namespace corbaServer
149
150
151//
152// Class implementing IDL interface hpp::core_idl::PathPlanner
153//
154namespace hpp {
155
156namespace core_impl {
157template <typename _Base, typename _Storage>
159public hpp::corbaServer::ServantBase<hpp::core::PathPlanner, _Storage>, public virtual _Base
160{
161public:
162 typedef hpp::core::PathPlanner HppBase;
163
165
166public:
167 // standard constructor
168 PathPlannerServant(::hpp::corbaServer::Server* server, const _Storage& s);
169 virtual ~PathPlannerServant();
170
171 // methods corresponding to defined IDL attributes and operations
172
173 void deleteThis ();
174
175
176 ::CORBA::Boolean deleteIfExpired ();
177
178
179 void persistantStorage (::CORBA::Boolean persistant);
180
181
182 hpp::core_idl::PathVector_ptr solve ();
183
184
185 void startSolve ();
186
187
189
190
191 void oneStep ();
192
193
194 hpp::core_idl::PathVector_ptr computePath ();
195
196
197 hpp::core_idl::PathVector_ptr finishSolve (hpp::core_idl::PathVector_ptr path);
198
199
200 void interrupt ();
201
202
204
205
206 void timeOut (hpp::value_type seconds);
207
208
209 hpp::core_idl::Roadmap_ptr getRoadmap ();
210
211
212 void stopWhenProblemIsSolved (::CORBA::Boolean enable);
213
214
215};
216
218} // namespace core_impl
219
220} // namespace hpp
221
222namespace hpp {
223namespace corbaServer {
224template<> struct hpp_traits<hpp::core::PathPlanner>{ typedef hpp::core::PathPlanner Base; };
225} // namespace corbaServer
226} // namespace corbaServer
227
228
229//
230// Class implementing IDL interface hpp::core_idl::PathOptimizer
231//
232namespace hpp {
233
234namespace core_impl {
235template <typename _Base, typename _Storage>
237public hpp::corbaServer::ServantBase<hpp::core::PathOptimizer, _Storage>, public virtual _Base
238{
239public:
240 typedef hpp::core::PathOptimizer HppBase;
241
243
244public:
245 // standard constructor
246 PathOptimizerServant(::hpp::corbaServer::Server* server, const _Storage& s);
247 virtual ~PathOptimizerServant();
248
249 // methods corresponding to defined IDL attributes and operations
250
251 void deleteThis ();
252
253
254 ::CORBA::Boolean deleteIfExpired ();
255
256
257 void persistantStorage (::CORBA::Boolean persistant);
258
259
260 hpp::core_idl::PathVector_ptr optimize (hpp::core_idl::PathVector_ptr path);
261
262
263 void interrupt ();
264
265
267
268
269 void timeOut (hpp::value_type seconds);
270
271
272};
273
275} // namespace core_impl
276
277} // namespace hpp
278
279namespace hpp {
280namespace corbaServer {
281template<> struct hpp_traits<hpp::core::PathOptimizer>{ typedef hpp::core::PathOptimizer Base; };
282} // namespace corbaServer
283} // namespace corbaServer
284
285
286
287
288
289#endif // hpp_core_idl__path__planners_hpp__
290
Definition servant-base.hh:122
bool persistantStorage() const
See persistantStorage(bool)
Definition servant-base.hh:166
Implementation of Hpp module Corba server.
Definition server.hh:78
Definition path_planners-fwd.hh:34
void deleteThis()
Definition path_planners.hh:40
hpp::core::ConnectedComponent HppBase
Definition path_planners-fwd.hh:36
hpp::floatSeqSeq * nodes()
Definition path_planners.hh:73
SERVANT_BASE_TYPEDEFS(hpp::core_idl::ConnectedComponent, HppBase)
virtual ~ConnectedComponentServant()
Definition path_planners.hh:32
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:51
Definition path_planners-fwd.hh:238
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:553
SERVANT_BASE_TYPEDEFS(hpp::core_idl::PathOptimizer, HppBase)
hpp::core::PathOptimizer HppBase
Definition path_planners-fwd.hh:240
hpp::core_idl::PathVector_ptr optimize(hpp::core_idl::PathVector_ptr path)
Definition path_planners.hh:575
void timeOut(hpp::value_type seconds)
Definition path_planners.hh:617
void deleteThis()
Definition path_planners.hh:542
virtual ~PathOptimizerServant()
Definition path_planners.hh:534
void interrupt()
Definition path_planners.hh:589
void maxIterations(hpp::size_type n)
Definition path_planners.hh:603
Definition path_planners-fwd.hh:160
hpp::core_idl::PathVector_ptr computePath()
Definition path_planners.hh:418
void tryConnectInitAndGoals()
Definition path_planners.hh:390
void maxIterations(hpp::size_type n)
Definition path_planners.hh:460
SERVANT_BASE_TYPEDEFS(hpp::core_idl::PathPlanner, HppBase)
void oneStep()
Definition path_planners.hh:404
void stopWhenProblemIsSolved(::CORBA::Boolean enable)
Definition path_planners.hh:502
void deleteThis()
Definition path_planners.hh:329
virtual ~PathPlannerServant()
Definition path_planners.hh:321
hpp::core_idl::Roadmap_ptr getRoadmap()
Definition path_planners.hh:488
void startSolve()
Definition path_planners.hh:376
void timeOut(hpp::value_type seconds)
Definition path_planners.hh:474
void interrupt()
Definition path_planners.hh:446
hpp::core_idl::PathVector_ptr finishSolve(hpp::core_idl::PathVector_ptr path)
Definition path_planners.hh:432
hpp::core_idl::PathVector_ptr solve()
Definition path_planners.hh:362
hpp::core::PathPlanner HppBase
Definition path_planners-fwd.hh:162
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:340
Definition path_planners-fwd.hh:82
virtual ~RoadmapServant()
Definition path_planners.hh:110
hpp::floatSeq * nearestNode(const hpp::floatSeq &config, hpp::value_type &distance, ::CORBA::Boolean reverse)
Definition path_planners.hh:207
hpp::size_type getNbEdges()
Definition path_planners.hh:264
hpp::core_idl::ConnectedComponentSeq * getConnectedComponents()
Definition path_planners.hh:289
hpp::core_idl::Path_ptr getEdge(hpp::size_type i)
Definition path_planners.hh:276
void clear()
Definition path_planners.hh:151
hpp::core::Roadmap HppBase
Definition path_planners-fwd.hh:84
void deleteThis()
Definition path_planners.hh:118
void addNodeAndEdge(const hpp::floatSeq &cfgfrom, const hpp::floatSeq &cfgto, hpp::core_idl::Path_ptr path_)
Definition path_planners.hh:179
hpp::floatSeqSeq * nearestNodes(const hpp::floatSeq &config, hpp::size_type &k)
Definition path_planners.hh:222
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Roadmap, HppBase)
hpp::size_type getNbNodes()
Definition path_planners.hh:240
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:129
void addNode(const hpp::floatSeq &config)
Definition path_planners.hh:165
hpp::floatSeq * getNode(hpp::size_type i)
Definition path_planners.hh:252
void addNodeAndEdges(const hpp::floatSeq &cfgfrom, const hpp::floatSeq &cfgto, hpp::core_idl::Path_ptr path_)
Definition path_planners.hh:193
Definition path_planners.idl:22
Definition path_planners.idl:117
Definition path_planners.idl:89
Definition path_planners.idl:37
sequence< ConnectedComponent > ConnectedComponentSeq
Definition path_planners.idl:35
ConnectedComponentServant< POA_hpp::core_idl::ConnectedComponent, hpp::weak_ptr< hpp::core::ConnectedComponent > > ConnectedComponent
Definition path_planners-fwd.hh:61
RoadmapServant< POA_hpp::core_idl::Roadmap, hpp::weak_ptr< hpp::core::Roadmap > > Roadmap
Definition path_planners-fwd.hh:139
PathPlannerServant< POA_hpp::core_idl::PathPlanner, hpp::weak_ptr< hpp::core::PathPlanner > > PathPlanner
Definition path_planners-fwd.hh:217
PathOptimizerServant< POA_hpp::core_idl::PathOptimizer, hpp::weak_ptr< hpp::core::PathOptimizer > > PathOptimizer
Definition path_planners-fwd.hh:274
Implement CORBA interface `‘Obstacle’'.
Definition client.hh:46
long long size_type
Definition common.idl:19
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition common.idl:34
sequence< floatSeq > floatSeqSeq
Definition common.idl:35
double value_type
Definition common.idl:18
hpp::core::ConnectedComponent Base
Definition path_planners-fwd.hh:68
hpp::core::PathOptimizer Base
Definition path_planners-fwd.hh:281
hpp::core::PathPlanner Base
Definition path_planners-fwd.hh:224
hpp::core::Roadmap Base
Definition path_planners-fwd.hh:146
Definition servant-base.hh:89