11 #ifndef HPP_CORE_IDL_PATHS_HH 12 # define HPP_CORE_IDL_PATHS_HH 16 # include "hpp/core/path.hh" 17 # include "hpp/core/path-vector.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());
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>
127 core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
130 return makeServant<hpp::core_idl::PathVector_ptr>
138 #endif // HPP_CORE_IDL_PATHS_HH Definition: servant-base.hh:100
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''.
Definition: basic-server.hh:27
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
PathServant< POA_hpp::core_idl::Path, core::PathPtr_t > Path
Definition: paths.hh:86
pinocchio::value_type value_type
Definition: fwd.hh:86
Server * server_
Definition: servant-base.hh:97
pinocchio::vector_t vector_t
Definition: fwd.hh:89
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
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:82
core::PathVectorPtr_t PathVectorPtr_t
Definition: fwd.hh:77
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
_CORBA_MODULE hpp _CORBA_MODULE_BEG _CORBA_MODULE core_idl _CORBA_MODULE_BEG typedef ::CORBA::ULongLong size_t
Definition: paths-idl.hh:75
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
Definition: common-idl.hh:570
_objref_Path * Path_ptr
Definition: path_planners-idl.hh:83
char * str()
Definition: paths.hh:59
core::PathPtr_t PathPtr_t
Definition: fwd.hh:74
value_type length()
Definition: paths.hh:54
pinocchio::size_type size_type
Definition: fwd.hh:92