1 #ifndef hpp_core_idl__paths_hxx__ 2 #define hpp_core_idl__paths_hxx__ 24 template <
typename _Base,
typename _Storage>
26 :
hpp::corbaServer::ServantBase<
hpp::core::
Path, _Storage> (server, s)
30 template <
typename _Base,
typename _Storage>
38 template <
typename _Base,
typename _Storage>
43 _ServantBase::deleteThis();
44 }
catch (
const std::exception& e) {
45 throw ::hpp::Error (e.what());
49 template <
typename _Base,
typename _Storage>
58 }
catch (
const std::exception& e) {
59 throw ::hpp::Error (e.what());
63 template <
typename _Base,
typename _Storage>
72 }
catch (
const std::exception& e) {
73 throw ::hpp::Error (e.what());
77 template <
typename _Base,
typename _Storage>
86 }
catch (
const std::exception& e) {
87 throw ::hpp::Error (e.what());
91 template <
typename _Base,
typename _Storage>
100 }
catch (
const std::exception& e) {
101 throw ::hpp::Error (e.what());
105 template <
typename _Base,
typename _Storage>
114 }
catch (
const std::exception& e) {
115 throw ::hpp::Error (e.what());
119 template <
typename _Base,
typename _Storage>
127 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Constraint,hpp::core_impl::ConstraintSet>(
server_, __return__)._retn();
128 }
catch (
const std::exception& e) {
129 throw ::hpp::Error (e.what());
133 template <
typename _Base,
typename _Storage>
138 std::ostringstream oss; oss << *
get();
139 std::string res = oss.str();
140 return CORBA::string_dup(res.c_str());
141 }
catch (
const std::exception& e) {
142 throw ::hpp::Error (e.what());
146 template <
typename _Base,
typename _Storage>
155 }
catch (
const std::exception& e) {
156 throw ::hpp::Error (e.what());
160 template <
typename _Base,
typename _Storage>
166 success =
get()->
at (t, res);
169 }
catch (
const std::exception& e) {
170 throw ::hpp::Error (e.what());
174 template <
typename _Base,
typename _Storage>
183 }
catch (
const std::exception& e) {
184 throw ::hpp::Error (e.what());
188 template <
typename _Base,
typename _Storage>
196 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(
server_, __return__)._retn();
197 }
catch (
const std::exception& e) {
198 throw ::hpp::Error (e.what());
202 template <
typename _Base,
typename _Storage>
209 hpp::core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
212 return hpp::corbaServer::makeServant<hpp::core_idl::PathVector_ptr>
215 }
catch (
const std::exception& e) {
216 throw ::hpp::Error (e.what());
220 template <
typename _Base,
typename _Storage>
228 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(
server_, __return__)._retn();
229 }
catch (
const std::exception& e) {
230 throw ::hpp::Error (e.what());
244 namespace core_impl {
245 template <
typename _Base,
typename _Storage>
251 template <
typename _Base,
typename _Storage>
259 template <
typename _Base,
typename _Storage>
268 }
catch (
const std::exception& e) {
269 throw ::hpp::Error (e.what());
273 template <
typename _Base,
typename _Storage>
282 }
catch (
const std::exception& e) {
283 throw ::hpp::Error (e.what());
287 template <
typename _Base,
typename _Storage>
295 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(
server_, __return__)._retn();
296 }
catch (
const std::exception& e) {
297 throw ::hpp::Error (e.what());
301 template <
typename _Base,
typename _Storage>
307 (
getT()->appendPath (_p));
310 }
catch (
const std::exception& e) {
311 throw ::hpp::Error (e.what());
315 template <
typename _Base,
typename _Storage>
321 (
getT()->concatenate (_p));
324 }
catch (
const std::exception& e) {
325 throw ::hpp::Error (e.what());
338 #endif // hpp_core_idl__paths_hxx__ Definition: paths-fwd.hh:26
hpp::floatSeq * at(hpp::value_type t, ::CORBA::Boolean &success)
Definition: paths.hh:161
virtual ~PathServant()
Definition: paths.hh:31
Implement CORBA interface ``Obstacle''.
Definition: basic-server.hh:27
hpp::floatSeq * initial()
Definition: paths.hh:92
double value_type
Definition: common.idl:18
unsigned long long size_t
Definition: paths.idl:18
hpp::floatSeq * end()
Definition: paths.hh:106
PathServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: paths.hh:25
hpp::value_type length()
Definition: paths.hh:78
void deleteThis()
Definition: paths.hh:39
Server * server_
Definition: servant-base.hh:97
void appendPath(hpp::core_idl::Path_ptr p)
Definition: paths.hh:302
pinocchio::vector_t vector_t
Definition: fwd.hh:89
PathVectorServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: paths.hh:246
Storage s
Definition: servant-base.hh:171
hpp::core_idl::PathVector_ptr asVector()
Definition: paths.hh:203
hpp::core_idl::Path_ptr reverse()
Definition: paths.hh:221
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:82
virtual ~PathVectorServant()
Definition: paths.hh:252
hpp::core_idl::ConstraintSet_ptr constraints()
Definition: paths.hh:120
core::PathVectorPtr_t PathVectorPtr_t
Definition: fwd.hh:77
hpp::floatSeq * derivative(hpp::value_type t, ::CORBA::Short order)
Definition: paths.hh:175
hpp::floatSeq * call(hpp::value_type t, ::CORBA::Boolean &success)
Definition: paths.hh:147
Implementation of Hpp module Corba server.
Definition: server.hh:54
hpp::size_type outputSize()
Definition: paths.hh:50
_objref_ConstraintSet * ConstraintSet_ptr
Definition: _constraints-idl.hh:480
char * str()
Definition: paths.hh:134
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
hpp::size_type outputDerivativeSize()
Definition: paths.hh:64
void concatenate(hpp::core_idl::PathVector_ptr p)
Definition: paths.hh:316
PathVectorServant< POA_hpp::core_idl::PathVector, boost::weak_ptr< hpp::core::PathVector > > PathVector
Definition: paths-fwd.hh:127
StorageElementShPtr_t getT() const
Definition: servant-base.hh:121
hpp::core_idl::Path_ptr extract(hpp::value_type tmin, hpp::value_type tmax)
Definition: paths.hh:189
_objref_Path * Path_ptr
Definition: path_planners-idl.hh:83
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
hpp::core_idl::size_t numberPaths()
Definition: paths.hh:260
core::PathPtr_t PathPtr_t
Definition: fwd.hh:74
hpp::core_idl::size_t rankAtParam(hpp::value_type param, hpp::value_type &localParam)
Definition: paths.hh:274
long long size_type
Definition: common.idl:19
hpp::core_idl::Path_ptr pathAtRank(hpp::core_idl::size_t rank)
Definition: paths.hh:288