1 #ifndef hpp_core_idl__paths_hxx__ 2 #define hpp_core_idl__paths_hxx__ 18 namespace corbaServer {
24 template <
typename _Base,
typename _Storage>
30 template <
typename _Base,
typename _Storage>
38 template <
typename _Base,
typename _Storage>
43 _ServantBase::deleteThis();
44 }
catch (
const std::exception& e) {
45 throw ::hpp::Error (e.what());
49 template <
typename _Base,
typename _Storage>
58 }
catch (
const std::exception& e) {
59 throw ::hpp::Error (e.what());
63 template <
typename _Base,
typename _Storage>
72 }
catch (
const std::exception& e) {
73 throw ::hpp::Error (e.what());
77 template <
typename _Base,
typename _Storage>
86 }
catch (
const std::exception& e) {
87 throw ::hpp::Error (e.what());
91 template <
typename _Base,
typename _Storage>
100 }
catch (
const std::exception& e) {
101 throw ::hpp::Error (e.what());
105 template <
typename _Base,
typename _Storage>
114 }
catch (
const std::exception& e) {
115 throw ::hpp::Error (e.what());
119 template <
typename _Base,
typename _Storage>
124 std::ostringstream oss; oss << *
get();
125 std::string res = oss.str();
126 return CORBA::string_dup(res.c_str());
127 }
catch (
const std::exception& e) {
128 throw ::hpp::Error (e.what());
132 template <
typename _Base,
typename _Storage>
141 }
catch (
const std::exception& e) {
142 throw ::hpp::Error (e.what());
146 template <
typename _Base,
typename _Storage>
152 success =
get()->
at (t, res);
155 }
catch (
const std::exception& e) {
156 throw ::hpp::Error (e.what());
160 template <
typename _Base,
typename _Storage>
169 }
catch (
const std::exception& e) {
170 throw ::hpp::Error (e.what());
174 template <
typename _Base,
typename _Storage>
182 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::Path>(
server_, __return__)._retn();
183 }
catch (
const std::exception& e) {
184 throw ::hpp::Error (e.what());
188 template <
typename _Base,
typename _Storage>
195 core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
198 return makeServant<hpp::core_idl::PathVector_ptr>
201 }
catch (
const std::exception& e) {
202 throw ::hpp::Error (e.what());
206 template <
typename _Base,
typename _Storage>
214 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::Path>(
server_, __return__)._retn();
215 }
catch (
const std::exception& e) {
216 throw ::hpp::Error (e.what());
226 namespace core_impl {
227 template <
typename _Base,
typename _Storage>
229 :
hpp::corbaServer::core_impl::
PathServant<_Base, _Storage> (server, s)
233 template <
typename _Base,
typename _Storage>
241 template <
typename _Base,
typename _Storage>
250 }
catch (
const std::exception& e) {
251 throw ::hpp::Error (e.what());
255 template <
typename _Base,
typename _Storage>
263 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::Path>(
server_, __return__)._retn();
264 }
catch (
const std::exception& e) {
265 throw ::hpp::Error (e.what());
269 template <
typename _Base,
typename _Storage>
275 (
getT()->appendPath (_p));
278 }
catch (
const std::exception& e) {
279 throw ::hpp::Error (e.what());
283 template <
typename _Base,
typename _Storage>
289 (
getT()->concatenate (_p));
292 }
catch (
const std::exception& e) {
293 throw ::hpp::Error (e.what());
306 #endif // hpp_core_idl__paths_hxx__ Definition: servant-base.hh:100
hpp::value_type length()
Definition: paths.hh:78
PathVectorServant< POA_hpp::core_idl::PathVector, boost::weak_ptr< hpp::core::PathVector > > PathVector
Definition: paths-fwd.hh:116
Implement CORBA interface ``Obstacle''.
Definition: basic-server.hh:27
void deleteThis()
Definition: paths.hh:39
double value_type
Definition: common.idl:18
unsigned long long size_t
Definition: paths.idl:18
hpp::floatSeq * derivative(hpp::value_type t, ::CORBA::Short order)
Definition: paths.hh:161
hpp::floatSeq * initial()
Definition: paths.hh:92
hpp::core_idl::PathVector_ptr asVector()
Definition: paths.hh:189
Server * server_
Definition: servant-base.hh:97
hpp::core_idl::Path_ptr extract(hpp::value_type tmin, hpp::value_type tmax)
Definition: paths.hh:175
virtual ~PathServant()
Definition: paths.hh:31
hpp::size_type outputDerivativeSize()
Definition: paths.hh:64
hpp::floatSeq * end()
Definition: paths.hh:106
hpp::floatSeq * call(hpp::value_type t, ::CORBA::Boolean &success)
Definition: paths.hh:133
_objref_Path * Path_ptr
Definition: paths-idl.hh:100
void concatenate(hpp::core_idl::PathVector_ptr p)
Definition: paths.hh:284
pinocchio::vector_t vector_t
Definition: fwd.hh:83
char * str()
Definition: paths.hh:120
Storage s
Definition: servant-base.hh:171
hpp::size_type outputSize()
Definition: paths.hh:50
hpp::core_idl::Path_ptr pathAtRank(hpp::core_idl::size_t rank)
Definition: paths.hh:256
virtual ~PathVectorServant()
Definition: paths.hh:234
hpp::floatSeq * at(hpp::value_type t, ::CORBA::Boolean &success)
Definition: paths.hh:147
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:74
core::PathVectorPtr_t PathVectorPtr_t
Definition: fwd.hh:71
PathServant(Server *server, const _Storage &s)
Definition: paths.hh:25
void appendPath(hpp::core_idl::Path_ptr p)
Definition: paths.hh:270
Implementation of Hpp module Corba server.
Definition: server.hh:54
hpp::core_idl::size_t numberPaths()
Definition: paths.hh:242
Definition: paths-fwd.hh:25
hpp::core_idl::Path_ptr reverse()
Definition: paths.hh:207
PathVectorServant(Server *server, const _Storage &s)
Definition: paths.hh:228
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
StorageElementShPtr_t getT() const
Definition: servant-base.hh:121
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
core::PathPtr_t PathPtr_t
Definition: fwd.hh:68
long long size_type
Definition: common.idl:19