hpp-corbaserver
4.9.0
Corba server for Humanoid Path Planner applications
|
Go to the documentation of this file.
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) {}
46 return get()->outputSize();
51 return get()->outputDerivativeSize();
56 return get()->length ();
61 std::ostringstream oss; oss << *
get();
62 std::string res = oss.str();
63 return CORBA::string_dup(res.c_str());
74 get()->derivative (res, t, order);
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
void concatenate(hpp::core_idl::PathVector_ptr path)
Definition: paths.hh:113
Definition: common-idl.hh:570
PathServant< POA_hpp::core_idl::Path, core::PathPtr_t > Path
Definition: paths.hh:86
StorageElementShPtr_t getT() const
Definition: servant-base.hh:121
value_type length()
Definition: paths.hh:54
hpp::core_idl::Path_ptr makePathServant(Server *server, const PathPtr_t &path)
Implementation of Hpp module Corba server.
Definition: server.hh:54
hpp::core_idl::PathVector_ptr asVector()
Definition: paths.hh:123
char * str()
Definition: paths.hh:59
_CORBA_MODULE hpp _CORBA_MODULE_BEG _CORBA_MODULE core_idl _CORBA_MODULE_BEG typedef ::CORBA::ULongLong size_t
Definition: paths-idl.hh:67
Storage s
Definition: servant-base.hh:171
pinocchio::value_type value_type
Definition: fwd.hh:80
PathServant< Base, Storage > Parent
Definition: paths.hh:94
Server * server_
Definition: servant-base.hh:97
PathVectorServant< POA_hpp::core_idl::PathVector, core::PathVectorPtr_t > PathVector
Definition: paths.hh:119
void appendPath(hpp::core_idl::Path_ptr path)
Definition: paths.hh:108
size_type outputSize()
Definition: paths.hh:44
pinocchio::vector_t vector_t
Definition: fwd.hh:83
Implement CORBA interface `‘Obstacle’'.
Definition: basic-server.hh:27
PathServant(Server *server, const Storage &s)
Definition: paths.hh:39
std::size_t numberPaths()
Definition: paths.hh:98
floatSeq * value(value_type t, CORBA::Boolean &success)
Definition: paths.hh:66
hpp::core_idl::Path_ptr pathAtRank(std::size_t rank)
Definition: paths.hh:103
PathVectorServant(Server *server, const Storage &s)
Definition: paths.hh:96
virtual ~PathServant()
Definition: paths.hh:42
core::PathVectorPtr_t PathVectorPtr_t
Definition: fwd.hh:71
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:74
floatSeq * derivative(value_type t, CORBA::Short order)
Definition: paths.hh:71
pinocchio::size_type size_type
Definition: fwd.hh:86
virtual TShPtr_t get() const
Definition: servant-base.hh:111
_Storage Storage
Definition: servant-base.hh:103
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
_objref_Path * Path_ptr
Definition: paths-idl.hh:100
size_type outputDerivativeSize()
Definition: paths.hh:49
hpp::core_idl::Path_ptr extract(value_type tmin, value_type tmax)
Definition: paths.hh:78
core::PathPtr_t PathPtr_t
Definition: fwd.hh:68
Definition: servant-base.hh:100