1 #ifndef hpp_core_idl__steering__methods_hxx__
2 #define hpp_core_idl__steering__methods_hxx__
24 template <
typename _Base,
typename _Storage>
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 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
82 }
catch (
const std::exception& e) {
83 throw ::hpp::Error (e.what());
87 template <
typename _Base,
typename _Storage>
93 (getT()->constraints (_constraints));
96 }
catch (
const std::exception& e) {
97 throw ::hpp::Error (e.what());
101 template <
typename _Base,
typename _Storage>
109 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Constraint,hpp::core_impl::Constraint>(server_, __return__)._retn();
110 }
catch (
const std::exception& e) {
111 throw ::hpp::Error (e.what());
125 namespace core_impl {
127 namespace steeringMethod_impl {
128 template <
typename _Base,
typename _Storage>
135 template <
typename _Base,
typename _Storage>
143 template <
typename _Base,
typename _Storage>
156 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
157 }
catch (
const std::exception& e) {
158 throw ::hpp::Error (e.what());
162 template <
typename _Base,
typename _Storage>
173 hpp::core::PathPtr_t __return__ (getT()->
steer (_q1, _order1, _derivatives1, _q2, _order2, _derivatives2, length,
true));
175 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
177 }
catch (
const std::exception& e) {
178 throw ::hpp::Error (e.what());
194 namespace core_impl {
196 namespace steeringMethod_impl {
197 template <
typename _Base,
typename _Storage>
204 template <
typename _Base,
typename _Storage>
212 template <
typename _Base,
typename _Storage>
225 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
226 }
catch (
const std::exception& e) {
227 throw ::hpp::Error (e.what());
231 template <
typename _Base,
typename _Storage>
242 hpp::core::PathPtr_t __return__ (getT()->
steer (_q1, _order1, _derivatives1, _q2, _order2, _derivatives2, length,
true));
244 return ::hpp::corbaServer::makeServantDownCast<hpp::core_impl::Path,hpp::core_impl::Path>(server_, __return__)._retn();
246 }
catch (
const std::exception& e) {
247 throw ::hpp::Error (e.what());
_objref_ConstraintSet * ConstraintSet_ptr
Definition: _constraints-idl.hh:486
_objref_Constraint * Constraint_ptr
Definition: _constraints-idl.hh:219
bool persistantStorage() const
See persistantStorage(bool)
Definition: servant-base.hh:166
Implementation of Hpp module Corba server.
Definition: server.hh:78
Definition: steering_methods-fwd.hh:29
hpp::core_idl::Path_ptr call(const hpp::floatSeq &q1, const hpp::floatSeq &q2)
Definition: steering_methods.hh:73
void setConstraints(hpp::core_idl::ConstraintSet_ptr constraints)
Definition: steering_methods.hh:88
virtual ~SteeringMethodServant()
Definition: steering_methods.hh:32
SteeringMethodServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: steering_methods.hh:25
::CORBA::Boolean deleteIfExpired()
Definition: steering_methods.hh:51
void deleteThis()
Definition: steering_methods.hh:40
hpp::core_idl::Constraint_ptr getConstraints()
Definition: steering_methods.hh:102
SplineBernstein3Servant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: steering_methods.hh:129
hpp::core_idl::Path_ptr steerSE3(const hpp::floatSeq &q1, const hpp::intSeq &order1, const hpp::floatSeqSeq &derivatives1, const hpp::floatSeq &q2, const hpp::intSeq &order2, const hpp::floatSeqSeq &derivatives2, ::CORBA::Float length)
Definition: steering_methods.hh:163
hpp::core_idl::Path_ptr steer(const hpp::floatSeq &q1, const hpp::intSeq &order1, const hpp::floatSeqSeq &derivatives1, const hpp::floatSeq &q2, const hpp::intSeq &order2, const hpp::floatSeqSeq &derivatives2, ::CORBA::Float length)
Definition: steering_methods.hh:144
virtual ~SplineBernstein3Servant()
Definition: steering_methods.hh:136
virtual ~SplineBernstein5Servant()
Definition: steering_methods.hh:205
SplineBernstein5Servant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: steering_methods.hh:198
hpp::core_idl::Path_ptr steerSE3(const hpp::floatSeq &q1, const hpp::intSeq &order1, const hpp::floatSeqSeq &derivatives1, const hpp::floatSeq &q2, const hpp::intSeq &order2, const hpp::floatSeqSeq &derivatives2, ::CORBA::Float length)
Definition: steering_methods.hh:232
hpp::core_idl::Path_ptr steer(const hpp::floatSeq &q1, const hpp::intSeq &order1, const hpp::floatSeqSeq &derivatives1, const hpp::floatSeq &q2, const hpp::intSeq &order2, const hpp::floatSeqSeq &derivatives2, ::CORBA::Float length)
Definition: steering_methods.hh:213
PathPtr_t steer(ConfigurationIn_t q1, ConfigurationIn_t q2) const
core::matrix_t floatSeqSeqToMatrix(const floatSeqSeq &input, const size_type expectedRows=-1, const size_type expectedCols=-1)
std::vector< int > intSeqToVector(const intSeq &dofArray)
vector_t floatSeqToVector(const floatSeq &dofArray, const size_type expectedSize=-1)
shared_ptr< Constraint > ConstraintPtr_t
pinocchio::vector_t vector_t
shared_ptr< ConstraintSet > ConstraintSetPtr_t
shared_ptr< Path > PathPtr_t
pinocchio::matrix_t matrix_t
Implement CORBA interface `‘Obstacle’'.
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34
sequence< floatSeq > floatSeqSeq
Definition: common.idl:35
sequence< long > intSeq
Definition: common.idl:31
_objref_Path * Path_ptr
Definition: path_planners-idl.hh:83