1 #ifndef hpp_core_idl__paths_hxx__
2 #define hpp_core_idl__paths_hxx__
24 template <
typename _Base,
typename _Storage>
27 :
hpp::corbaServer::ServantBase<
hpp::core::
Path, _Storage> (server, s)
31 template <
typename _Base,
typename _Storage>
39 template <
typename _Base,
typename _Storage>
44 _ServantBase::deleteThis();
45 }
catch (
const std::exception& e) {
46 throw ::hpp::Error (e.what());
50 template <
typename _Base,
typename _Storage>
55 return _ServantBase::deleteIfExpired();
56 }
catch (
const std::exception& e) {
57 throw ::hpp::Error (e.what());
61 template <
typename _Base,
typename _Storage>
66 _ServantBase::persistantStorage(persistant);
67 }
catch (
const std::exception& e) {
68 throw ::hpp::Error (e.what());
72 template <
typename _Base,
typename _Storage>
81 }
catch (
const std::exception& e) {
82 throw ::hpp::Error (e.what());
86 template <
typename _Base,
typename _Storage>
95 }
catch (
const std::exception& e) {
96 throw ::hpp::Error (e.what());
100 template <
typename _Base,
typename _Storage>
109 }
catch (
const std::exception& e) {
110 throw ::hpp::Error (e.what());
114 template <
typename _Base,
typename _Storage>
123 }
catch (
const std::exception& e) {
124 throw ::hpp::Error (e.what());
128 template <
typename _Base,
typename _Storage>
137 }
catch (
const std::exception& e) {
138 throw ::hpp::Error (e.what());
142 template <
typename _Base,
typename _Storage>
148 hpp::core::ConstraintSetPtr_t __return__ (getT()->constraints ());
150 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Constraint,hpp::core_impl::ConstraintSet>(server_, __return__)._retn();
151 }
catch (
const std::exception& e) {
152 throw ::hpp::Error (e.what());
156 template <
typename _Base,
typename _Storage>
161 std::ostringstream oss; oss << *get();
162 std::string res = oss.str();
163 return CORBA::string_dup(res.c_str());
164 }
catch (
const std::exception& e) {
165 throw ::hpp::Error (e.what());
169 template <
typename _Base,
typename _Storage>
178 }
catch (
const std::exception& e) {
179 throw ::hpp::Error (e.what());
183 template <
typename _Base,
typename _Storage>
189 success = get()->at (t, res);
192 }
catch (
const std::exception& e) {
193 throw ::hpp::Error (e.what());
197 template <
typename _Base,
typename _Storage>
203 get()->derivative (res, t, order);
206 }
catch (
const std::exception& e) {
207 throw ::hpp::Error (e.what());
211 template <
typename _Base,
typename _Storage>
219 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
220 }
catch (
const std::exception& e) {
221 throw ::hpp::Error (e.what());
225 template <
typename _Base,
typename _Storage>
232 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
235 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
238 }
catch (
const std::exception& e) {
239 throw ::hpp::Error (e.what());
243 template <
typename _Base,
typename _Storage>
251 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
252 }
catch (
const std::exception& e) {
253 throw ::hpp::Error (e.what());
267 namespace core_impl {
268 template <
typename _Base,
typename _Storage>
275 template <
typename _Base,
typename _Storage>
283 template <
typename _Base,
typename _Storage>
292 }
catch (
const std::exception& e) {
293 throw ::hpp::Error (e.what());
297 template <
typename _Base,
typename _Storage>
306 }
catch (
const std::exception& e) {
307 throw ::hpp::Error (e.what());
311 template <
typename _Base,
typename _Storage>
319 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
320 }
catch (
const std::exception& e) {
321 throw ::hpp::Error (e.what());
325 template <
typename _Base,
typename _Storage>
331 (getT()->appendPath (_p));
334 }
catch (
const std::exception& e) {
335 throw ::hpp::Error (e.what());
339 template <
typename _Base,
typename _Storage>
345 (getT()->concatenate (_p));
348 }
catch (
const std::exception& e) {
349 throw ::hpp::Error (e.what());
353 template <
typename _Base,
typename _Storage>
362 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
365 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
368 }
catch (
const std::exception& e) {
369 throw ::hpp::Error (e.what());
383 namespace core_impl {
385 namespace path_impl {
386 template <
typename _Base,
typename _Storage>
393 template <
typename _Base,
typename _Storage>
_objref_ConstraintSet * ConstraintSet_ptr
Definition: _constraints-idl.hh:486
bool persistantStorage() const
See persistantStorage(bool)
Definition: servant-base.hh:166
Implementation of Hpp module Corba server.
Definition: server.hh:78
Definition: paths-fwd.hh:29
hpp::size_type outputSize()
Definition: paths.hh:73
hpp::floatSeq * at(hpp::value_type t, ::CORBA::Boolean &success)
Definition: paths.hh:184
::CORBA::Boolean deleteIfExpired()
Definition: paths.hh:51
char * str()
Definition: paths.hh:157
hpp::floatSeq * derivative(hpp::value_type t, ::CORBA::Short order)
Definition: paths.hh:198
virtual ~PathServant()
Definition: paths.hh:32
hpp::size_type outputDerivativeSize()
Definition: paths.hh:87
hpp::value_type length()
Definition: paths.hh:101
PathServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: paths.hh:25
hpp::floatSeq * initial()
Definition: paths.hh:115
hpp::core_idl::PathVector_ptr asVector()
Definition: paths.hh:226
hpp::floatSeq * end()
Definition: paths.hh:129
hpp::core_idl::Path_ptr reverse()
Definition: paths.hh:244
hpp::floatSeq * call(hpp::value_type t, ::CORBA::Boolean &success)
Definition: paths.hh:170
hpp::core_idl::Path_ptr extract(hpp::value_type tmin, hpp::value_type tmax)
Definition: paths.hh:212
void deleteThis()
Definition: paths.hh:40
hpp::core_idl::ConstraintSet_ptr constraints()
Definition: paths.hh:143
Definition: paths-fwd.hh:111
void concatenate(hpp::core_idl::PathVector_ptr p)
Definition: paths.hh:340
hpp::core_idl::size_t numberPaths()
Definition: paths.hh:284
hpp::core_idl::Path_ptr pathAtRank(hpp::core_idl::size_t rank)
Definition: paths.hh:312
PathVectorServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: paths.hh:269
virtual ~PathVectorServant()
Definition: paths.hh:276
hpp::core_idl::size_t rankAtParam(hpp::value_type param, hpp::value_type &localParam)
Definition: paths.hh:298
hpp::core_idl::PathVector_ptr flatten()
Definition: paths.hh:354
void appendPath(hpp::core_idl::Path_ptr p)
Definition: paths.hh:326
HermiteServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: paths.hh:387
virtual ~HermiteServant()
Definition: paths.hh:394
PathVectorServant< POA_hpp::core_idl::PathVector, core::PathVectorPtr_t > PathVector
Definition: paths.hh:122
core::PathVectorPtr_t PathVectorPtr_t
Definition: fwd.hh:99
pinocchio::vector_t vector_t
Definition: fwd.hh:108
core::PathPtr_t PathPtr_t
Definition: fwd.hh:96
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
unsigned long long size_t
Definition: paths.idl:18
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
double value_type
Definition: common.idl:18
_objref_Path * Path_ptr
Definition: path_planners-idl.hh:83
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:82