11 #ifndef HPP_CORE_IDL_DISTANCES_HH 12 # define HPP_CORE_IDL_DISTANCES_HH 22 # include "hpp/core_idl/distances-idl.hh" 42 : parent_t(_d), r(_r) {}
50 template <
typename _Base,
typename _Storage>
56 : _ServantBase (server, s) {}
64 return (*
get()) (qq1,qq2);
70 template <
typename _Base,
typename _Storage>
78 : Parent(server, s) {}
91 }
catch (
const std::exception& e) {
92 throw Error (e.what ());
102 #endif // HPP_CORE_IDL_DISTANCES_HH Definition: servant-base.hh:100
pinocchio::DevicePtr_t DevicePtr_t
boost::weak_ptr< T > ptr_t
Definition: servant-base.hh:209
CORBA::Double value(const floatSeq &q1, const floatSeq &q2)
Definition: distances.hh:60
Implement CORBA interface ``Obstacle''.
#define SERVANT_BASE_TYPEDEFS(idlObj, hppObj)
Definition: servant-base.hh:54
boost::weak_ptr< D > ptr_t
Definition: servant-base.hh:209
ptr_t element
Definition: servant-base.hh:211
Definition: distances.hh:33
WeighedDistanceServant(Server *server, const Storage &s)
Definition: distances.hh:77
void setWeights(const floatSeq &weights)
Definition: distances.hh:87
#define HPP_DYNAMIC_PTR_CAST(t, x)
vector_t floatSeqToVector(const floatSeq &dofArray, const size_type expectedSize=-1)
Definition: distances.idl:19
Corba exception travelling through the Corba channel.
Definition: common.idl:24
Definition: servant-base.hh:206
DistanceStorage(const core::DevicePtr_t &_r, const ptr_t &_d)
Definition: distances.hh:41
DistanceServant< POA_hpp::core_idl::Distance, DistanceStorage< core::Distance > > Distance
Definition: distances.hh:68
pinocchio::Configuration_t Configuration_t
Definition: fwd.hh:43
virtual ~DistanceServant()
Definition: distances.hh:58
Definition: distances.hh:71
To define and solve a path planning problem.
Definition: distances.idl:26
DistanceStorage< T > cast() const
Definition: distances.hh:44
DistanceServant(Server *server, const Storage &s)
Definition: distances.hh:55
Implementation of Hpp module Corba server.
Definition: server.hh:54
DistanceServant< Base, Storage > Parent
Definition: distances.hh:75
floatSeq * getWeights()
Definition: distances.hh:82
~WeighedDistanceServant()
Definition: distances.hh:80
core::DevicePtr_t r
Definition: distances.hh:40
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
Definition: distances.hh:51
_Storage Storage
Definition: servant-base.hh:103
Configuration_t floatSeqToConfig(const DevicePtr_t &robot, const floatSeq &dofArray, bool throwIfNotNormalized)
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
AbstractStorage< D, core::Distance > parent_t
Definition: distances.hh:36
WeighedDistanceServant< POA_hpp::core_idl::WeighedDistance, DistanceStorage< core::WeighedDistance > > WeighedDistance
Definition: distances.hh:97