1 #ifndef hpp_core_idl__distances_hxx__ 2 #define hpp_core_idl__distances_hxx__ 24 template <
typename _Base,
typename _Storage>
27 :
hpp::corbaServer::ServantBase<
hpp::core::
Distance, _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>
82 }
catch (
const std::exception& e) {
83 throw ::hpp::Error (e.what());
98 template <
typename _Base,
typename _Storage>
105 template <
typename _Base,
typename _Storage>
113 template <
typename _Base,
typename _Storage>
122 }
catch (
const std::exception& e) {
123 throw ::hpp::Error (e.what());
127 template <
typename _Base,
typename _Storage>
133 (getT()->weights (_weights));
136 }
catch (
const std::exception& e) {
137 throw ::hpp::Error (e.what());
150 #endif // hpp_core_idl__distances_hxx__ void setWeights(const hpp::floatSeq &weights)
Definition: distances.hh:128
Implement CORBA interface `‘Obstacle’'.
Definition: client.hh:46
hpp::value_type call(const hpp::floatSeq &q1, const hpp::floatSeq &q2)
Definition: distances.hh:73
double value_type
Definition: common.idl:18
virtual ~WeighedDistanceServant()
Definition: distances.hh:106
vector_t floatSeqToVector(const floatSeq &dofArray, const size_type expectedSize=-1)
bool persistantStorage() const
See persistantStorage(bool)
Definition: servant-base.hh:166
pinocchio::vector_t vector_t
Definition: fwd.hh:108
void deleteThis()
Definition: distances.hh:40
WeighedDistanceServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: distances.hh:99
DistanceServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: distances.hh:25
virtual ~DistanceServant()
Definition: distances.hh:32
hpp::floatSeq * getWeights()
Definition: distances.hh:114
Implementation of Hpp module Corba server.
Definition: server.hh:78
::CORBA::Boolean deleteIfExpired()
Definition: distances.hh:51
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
Definition: distances-fwd.hh:25
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34