11 #ifndef HPP_CORE_IDL_PATHS_HH 12 # define HPP_CORE_IDL_PATHS_HH 21 # include "hpp/core_idl/paths-idl.hh" 33 template <
typename _Base,
typename _Storage>
40 : _ServantBase (server, s) {}
61 std::ostringstream oss; oss << *
get();
62 std::string res = oss.str();
63 return CORBA::string_dup(res.c_str());
83 hpp::core_idl::PathVector_ptr
asVector ();
88 template <
typename _Base,
typename _Storage>
100 return getT()->numberPaths();
110 getT()->appendPath(reference_to_servant_base<core::Path>(
server_, path)->
get());
115 getT()->concatenate (reference_to_servant<PathVectorServant>(
server_, path)->
getT());
122 template <
typename _Base,
typename _Storage>
130 return makeServant<hpp::core_idl::PathVector_ptr>
138 #endif // HPP_CORE_IDL_PATHS_HH Definition: servant-base.hh:100
boost::shared_ptr< Path > PathPtr_t
std::size_t numberPaths()
Definition: paths.hh:98
hpp::core_idl::Path_ptr pathAtRank(std::size_t rank)
Definition: paths.hh:103
PathVectorServant< POA_hpp::core_idl::PathVector, core::PathVectorPtr_t > PathVector
Definition: paths.hh:119
hpp::core_idl::PathVector_ptr asVector()
Definition: paths.hh:123
Implement CORBA interface ``Obstacle''.
size_type outputDerivativeSize()
Definition: paths.hh:49
PathVectorServant(Server *server, const Storage &s)
Definition: paths.hh:96
#define SERVANT_BASE_TYPEDEFS(idlObj, hppObj)
Definition: servant-base.hh:54
std::pair< value_type, value_type > interval_t
unsigned long long size_t
Definition: paths.idl:18
PathServant< POA_hpp::core_idl::Path, core::PathPtr_t > Path
Definition: paths.hh:86
pinocchio::value_type value_type
Definition: fwd.hh:80
Server * server_
Definition: servant-base.hh:97
pinocchio::vector_t vector_t
Definition: fwd.hh:83
floatSeq * value(value_type t, CORBA::Boolean &success)
Definition: paths.hh:66
Storage s
Definition: servant-base.hh:171
PathServant(Server *server, const Storage &s)
Definition: paths.hh:39
void concatenate(hpp::core_idl::PathVector_ptr path)
Definition: paths.hh:113
size_type outputSize()
Definition: paths.hh:44
core::PathVectorPtr_t PathVectorPtr_t
Definition: fwd.hh:71
Implementation of Hpp module Corba server.
Definition: server.hh:54
floatSeq * derivative(value_type t, CORBA::Short order)
Definition: paths.hh:71
PathServant< Base, Storage > Parent
Definition: paths.hh:94
hpp::core_idl::Path_ptr makePathServant(Server *server, const PathPtr_t &path)
virtual ~PathServant()
Definition: paths.hh:42
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
_Storage Storage
Definition: servant-base.hh:103
StorageElementShPtr_t getT() const
Definition: servant-base.hh:121
void appendPath(hpp::core_idl::Path_ptr path)
Definition: paths.hh:108
hpp::core_idl::Path_ptr extract(value_type tmin, value_type tmax)
Definition: paths.hh:78
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
char * str()
Definition: paths.hh:59
core::PathPtr_t PathPtr_t
Definition: fwd.hh:68
static PathVectorPtr_t create(size_type outputSize, size_type outputDerivativeSize)
value_type length()
Definition: paths.hh:54
pinocchio::size_type size_type
Definition: fwd.hh:86