hpp-corbaserver: src/hpp/core_idl/path_planners-fwd.hh Source File

hpp-corbaserver 9.0.2 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 /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-9.0.2/idl/hpp/core_idl/path_planners.idl
6//
7
8#include <hpp/core_idl/path_planners-idl.hh>
9#include "hpp/corbaserver/servant-base.hh"
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//
28 namespace hpp {
29
30 namespace core_impl {
31 template <typename _Base, typename _Storage>
32 class ConnectedComponentServant:
33 public hpp::corbaServer::ServantBase<hpp::core::ConnectedComponent, _Storage>, public virtual _Base
34{
35 public:
36 typedef hpp::core::ConnectedComponent HppBase;
37
38 SERVANT_BASE_TYPEDEFS(hpp::core_idl::ConnectedComponent, HppBase);
39
40 public:
41 // standard constructor
42 ConnectedComponentServant(::hpp::corbaServer::Server* server, const _Storage& s);
43 virtual ~ConnectedComponentServant();
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
56 hpp::floatSeqSeq* nodes ();
57
58
59};
60
61 typedef ConnectedComponentServant<POA_hpp::core_idl::ConnectedComponent,hpp::weak_ptr<hpp::core::ConnectedComponent> > ConnectedComponent;
62} // namespace core_impl
63
64} // namespace hpp
65
66 namespace hpp {
67 namespace corbaServer {
68 template<> 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//
76 namespace hpp {
77
78 namespace core_impl {
79 template <typename _Base, typename _Storage>
80 class RoadmapServant:
81 public hpp::corbaServer::ServantBase<hpp::core::Roadmap, _Storage>, public virtual _Base
82{
83 public:
84 typedef hpp::core::Roadmap HppBase;
85
86 SERVANT_BASE_TYPEDEFS(hpp::core_idl::Roadmap, HppBase);
87
88 public:
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
119 hpp::floatSeqSeq* nearestNodes (const hpp::floatSeq& config, hpp::size_type& k);
120
121
122 hpp::size_type getNbNodes ();
123
124
125 hpp::floatSeq* getNode (hpp::size_type i);
126
127
128 hpp::size_type getNbEdges ();
129
130
131 hpp::core_idl::Path_ptr getEdge (hpp::size_type i);
132
133
134 hpp::core_idl::ConnectedComponentSeq* getConnectedComponents ();
135
136
137};
138
139 typedef RoadmapServant<POA_hpp::core_idl::Roadmap,hpp::weak_ptr<hpp::core::Roadmap> > Roadmap;
140} // namespace core_impl
141
142} // namespace hpp
143
144 namespace hpp {
145 namespace corbaServer {
146 template<> 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//
154 namespace hpp {
155
156 namespace core_impl {
157 template <typename _Base, typename _Storage>
158 class PathPlannerServant:
159 public hpp::corbaServer::ServantBase<hpp::core::PathPlanner, _Storage>, public virtual _Base
160{
161 public:
162 typedef hpp::core::PathPlanner HppBase;
163
164 SERVANT_BASE_TYPEDEFS(hpp::core_idl::PathPlanner, HppBase);
165
166 public:
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
188 void tryConnectInitAndGoals ();
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
203 void maxIterations (hpp::size_type n);
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
217 typedef PathPlannerServant<POA_hpp::core_idl::PathPlanner,hpp::weak_ptr<hpp::core::PathPlanner> > PathPlanner;
218} // namespace core_impl
219
220} // namespace hpp
221
222 namespace hpp {
223 namespace corbaServer {
224 template<> 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//
232 namespace hpp {
233
234 namespace core_impl {
235 template <typename _Base, typename _Storage>
236 class PathOptimizerServant:
237 public hpp::corbaServer::ServantBase<hpp::core::PathOptimizer, _Storage>, public virtual _Base
238{
239 public:
240 typedef hpp::core::PathOptimizer HppBase;
241
242 SERVANT_BASE_TYPEDEFS(hpp::core_idl::PathOptimizer, HppBase);
243
244 public:
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
266 void maxIterations (hpp::size_type n);
267
268
269 void timeOut (hpp::value_type seconds);
270
271
272};
273
274 typedef PathOptimizerServant<POA_hpp::core_idl::PathOptimizer,hpp::weak_ptr<hpp::core::PathOptimizer> > PathOptimizer;
275} // namespace core_impl
276
277} // namespace hpp
278
279 namespace hpp {
280 namespace corbaServer {
281 template<> 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
hpp::corbaServer::ServantBase
Definition servant-base.hh:122
hpp::corbaServer::ServantBase< hpp::core::ConnectedComponent, _Storage >::persistantStorage
bool persistantStorage() const
See persistantStorage(bool)
Definition servant-base.hh:166
hpp::corbaServer::Server
Implementation of Hpp module Corba server.
Definition server.hh:78
hpp::core::ConnectedComponent
hpp::core::PathOptimizer
hpp::core::PathPlanner
hpp::core::Roadmap
hpp::core_impl::ConnectedComponentServant
Definition path_planners-fwd.hh:34
hpp::core_impl::ConnectedComponentServant::deleteThis
void deleteThis()
Definition path_planners.hh:40
hpp::core_impl::ConnectedComponentServant::HppBase
hpp::core::ConnectedComponent HppBase
Definition path_planners-fwd.hh:36
hpp::core_impl::ConnectedComponentServant::nodes
hpp::floatSeqSeq * nodes()
Definition path_planners.hh:73
hpp::core_impl::ConnectedComponentServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::ConnectedComponent, HppBase)
hpp::core_impl::ConnectedComponentServant::~ConnectedComponentServant
virtual ~ConnectedComponentServant()
Definition path_planners.hh:32
hpp::core_impl::ConnectedComponentServant::deleteIfExpired
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:51
hpp::core_impl::PathOptimizerServant
Definition path_planners-fwd.hh:238
hpp::core_impl::PathOptimizerServant::deleteIfExpired
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:553
hpp::core_impl::PathOptimizerServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::PathOptimizer, HppBase)
hpp::core_impl::PathOptimizerServant::HppBase
hpp::core::PathOptimizer HppBase
Definition path_planners-fwd.hh:240
hpp::core_impl::PathOptimizerServant::optimize
hpp::core_idl::PathVector_ptr optimize(hpp::core_idl::PathVector_ptr path)
Definition path_planners.hh:575
hpp::core_impl::PathOptimizerServant::timeOut
void timeOut(hpp::value_type seconds)
Definition path_planners.hh:617
hpp::core_impl::PathOptimizerServant::deleteThis
void deleteThis()
Definition path_planners.hh:542
hpp::core_impl::PathOptimizerServant::~PathOptimizerServant
virtual ~PathOptimizerServant()
Definition path_planners.hh:534
hpp::core_impl::PathOptimizerServant::interrupt
void interrupt()
Definition path_planners.hh:589
hpp::core_impl::PathOptimizerServant::maxIterations
void maxIterations(hpp::size_type n)
Definition path_planners.hh:603
hpp::core_impl::PathPlannerServant
Definition path_planners-fwd.hh:160
hpp::core_impl::PathPlannerServant::computePath
hpp::core_idl::PathVector_ptr computePath()
Definition path_planners.hh:418
hpp::core_impl::PathPlannerServant::tryConnectInitAndGoals
void tryConnectInitAndGoals()
Definition path_planners.hh:390
hpp::core_impl::PathPlannerServant::maxIterations
void maxIterations(hpp::size_type n)
Definition path_planners.hh:460
hpp::core_impl::PathPlannerServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::PathPlanner, HppBase)
hpp::core_impl::PathPlannerServant::oneStep
void oneStep()
Definition path_planners.hh:404
hpp::core_impl::PathPlannerServant::stopWhenProblemIsSolved
void stopWhenProblemIsSolved(::CORBA::Boolean enable)
Definition path_planners.hh:502
hpp::core_impl::PathPlannerServant::deleteThis
void deleteThis()
Definition path_planners.hh:329
hpp::core_impl::PathPlannerServant::~PathPlannerServant
virtual ~PathPlannerServant()
Definition path_planners.hh:321
hpp::core_impl::PathPlannerServant::getRoadmap
hpp::core_idl::Roadmap_ptr getRoadmap()
Definition path_planners.hh:488
hpp::core_impl::PathPlannerServant::startSolve
void startSolve()
Definition path_planners.hh:376
hpp::core_impl::PathPlannerServant::timeOut
void timeOut(hpp::value_type seconds)
Definition path_planners.hh:474
hpp::core_impl::PathPlannerServant::interrupt
void interrupt()
Definition path_planners.hh:446
hpp::core_impl::PathPlannerServant::finishSolve
hpp::core_idl::PathVector_ptr finishSolve(hpp::core_idl::PathVector_ptr path)
Definition path_planners.hh:432
hpp::core_impl::PathPlannerServant::solve
hpp::core_idl::PathVector_ptr solve()
Definition path_planners.hh:362
hpp::core_impl::PathPlannerServant::HppBase
hpp::core::PathPlanner HppBase
Definition path_planners-fwd.hh:162
hpp::core_impl::PathPlannerServant::deleteIfExpired
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:340
hpp::core_impl::RoadmapServant
Definition path_planners-fwd.hh:82
hpp::core_impl::RoadmapServant::~RoadmapServant
virtual ~RoadmapServant()
Definition path_planners.hh:110
hpp::core_impl::RoadmapServant::nearestNode
hpp::floatSeq * nearestNode(const hpp::floatSeq &config, hpp::value_type &distance, ::CORBA::Boolean reverse)
Definition path_planners.hh:207
hpp::core_impl::RoadmapServant::getNbEdges
hpp::size_type getNbEdges()
Definition path_planners.hh:264
hpp::core_impl::RoadmapServant::getConnectedComponents
hpp::core_idl::ConnectedComponentSeq * getConnectedComponents()
Definition path_planners.hh:289
hpp::core_impl::RoadmapServant::getEdge
hpp::core_idl::Path_ptr getEdge(hpp::size_type i)
Definition path_planners.hh:276
hpp::core_impl::RoadmapServant::clear
void clear()
Definition path_planners.hh:151
hpp::core_impl::RoadmapServant::HppBase
hpp::core::Roadmap HppBase
Definition path_planners-fwd.hh:84
hpp::core_impl::RoadmapServant::deleteThis
void deleteThis()
Definition path_planners.hh:118
hpp::core_impl::RoadmapServant::addNodeAndEdge
void addNodeAndEdge(const hpp::floatSeq &cfgfrom, const hpp::floatSeq &cfgto, hpp::core_idl::Path_ptr path_)
Definition path_planners.hh:179
hpp::core_impl::RoadmapServant::nearestNodes
hpp::floatSeqSeq * nearestNodes(const hpp::floatSeq &config, hpp::size_type &k)
Definition path_planners.hh:222
hpp::core_impl::RoadmapServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Roadmap, HppBase)
hpp::core_impl::RoadmapServant::getNbNodes
hpp::size_type getNbNodes()
Definition path_planners.hh:240
hpp::core_impl::RoadmapServant::deleteIfExpired
::CORBA::Boolean deleteIfExpired()
Definition path_planners.hh:129
hpp::core_impl::RoadmapServant::addNode
void addNode(const hpp::floatSeq &config)
Definition path_planners.hh:165
hpp::core_impl::RoadmapServant::getNode
hpp::floatSeq * getNode(hpp::size_type i)
Definition path_planners.hh:252
hpp::core_impl::RoadmapServant::addNodeAndEdges
void addNodeAndEdges(const hpp::floatSeq &cfgfrom, const hpp::floatSeq &cfgto, hpp::core_idl::Path_ptr path_)
Definition path_planners.hh:193
connected-component.hh
edge.hh
hpp::core_idl::ConnectedComponent
Definition path_planners.idl:22
hpp::core_idl::PathOptimizer
Definition path_planners.idl:117
hpp::core_idl::PathPlanner
Definition path_planners.idl:89
hpp::core_idl::Roadmap
Definition path_planners.idl:37
hpp::core_idl::ConnectedComponentSeq
sequence< ConnectedComponent > ConnectedComponentSeq
Definition path_planners.idl:35
hpp::core_impl::ConnectedComponent
ConnectedComponentServant< POA_hpp::core_idl::ConnectedComponent, hpp::weak_ptr< hpp::core::ConnectedComponent > > ConnectedComponent
Definition path_planners-fwd.hh:61
hpp::core_impl::Roadmap
RoadmapServant< POA_hpp::core_idl::Roadmap, hpp::weak_ptr< hpp::core::Roadmap > > Roadmap
Definition path_planners-fwd.hh:139
hpp::core_impl::PathPlanner
PathPlannerServant< POA_hpp::core_idl::PathPlanner, hpp::weak_ptr< hpp::core::PathPlanner > > PathPlanner
Definition path_planners-fwd.hh:217
hpp::core_impl::PathOptimizer
PathOptimizerServant< POA_hpp::core_idl::PathOptimizer, hpp::weak_ptr< hpp::core::PathOptimizer > > PathOptimizer
Definition path_planners-fwd.hh:274
hpp
Implement CORBA interface `‘Obstacle’'.
hpp::size_type
long long size_type
Definition common.idl:19
hpp::floatSeq
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition common.idl:34
hpp::floatSeqSeq
sequence< floatSeq > floatSeqSeq
Definition common.idl:35
hpp::value_type
double value_type
Definition common.idl:18
node.hh
path-optimizer.hh
path-planner.hh
path_planners-idl.hh
roadmap.hh
serialization.hh
servant-base.hh
paths.hh
hpp::corbaServer::hpp_traits< hpp::core::ConnectedComponent >::Base
hpp::core::ConnectedComponent Base
Definition path_planners-fwd.hh:68
hpp::corbaServer::hpp_traits< hpp::core::PathOptimizer >::Base
hpp::core::PathOptimizer Base
Definition path_planners-fwd.hh:281
hpp::corbaServer::hpp_traits< hpp::core::PathPlanner >::Base
hpp::core::PathPlanner Base
Definition path_planners-fwd.hh:224
hpp::corbaServer::hpp_traits< hpp::core::Roadmap >::Base
hpp::core::Roadmap Base
Definition path_planners-fwd.hh:146
hpp::corbaServer::hpp_traits
Definition servant-base.hh:89