1 #ifndef hpp_core_idl__path__planners_hxx__ 2 #define hpp_core_idl__path__planners_hxx__ 18 namespace corbaServer {
24 template <
typename _Base,
typename _Storage>
30 template <
typename _Base,
typename _Storage>
38 template <
typename _Base,
typename _Storage>
46 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::PathVector>(
server_, __return__)._retn();
47 }
catch (
const std::exception& e) {
48 throw ::hpp::Error (e.what());
52 template <
typename _Base,
typename _Storage>
58 (
getT()->startSolve ());
61 }
catch (
const std::exception& e) {
62 throw ::hpp::Error (e.what());
66 template <
typename _Base,
typename _Storage>
72 (
getT()->tryConnectInitAndGoals ());
75 }
catch (
const std::exception& e) {
76 throw ::hpp::Error (e.what());
80 template <
typename _Base,
typename _Storage>
89 }
catch (
const std::exception& e) {
90 throw ::hpp::Error (e.what());
94 template <
typename _Base,
typename _Storage>
102 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::PathVector>(
server_, __return__)._retn();
103 }
catch (
const std::exception& e) {
104 throw ::hpp::Error (e.what());
108 template <
typename _Base,
typename _Storage>
116 return makeServantDownCast<hpp::corbaServer::core_impl::Path,hpp::corbaServer::core_impl::PathVector>(
server_, __return__)._retn();
117 }
catch (
const std::exception& e) {
118 throw ::hpp::Error (e.what());
122 template <
typename _Base,
typename _Storage>
128 (
getT()->interrupt ());
131 }
catch (
const std::exception& e) {
132 throw ::hpp::Error (e.what());
136 template <
typename _Base,
typename _Storage>
142 (
getT()->maxIterations (n));
145 }
catch (
const std::exception& e) {
146 throw ::hpp::Error (e.what());
150 template <
typename _Base,
typename _Storage>
156 (
getT()->timeOut (seconds));
159 }
catch (
const std::exception& e) {
160 throw ::hpp::Error (e.what());
173 #endif // hpp_core_idl__path__planners_hxx__ Definition: servant-base.hh:100
hpp::core_idl::PathVector_ptr finishSolve(hpp::core_idl::PathVector_ptr path)
Definition: path_planners.hh:109
Implement CORBA interface ``Obstacle''.
Definition: basic-server.hh:27
void interrupt()
Definition: path_planners.hh:123
double value_type
Definition: common.idl:18
void oneStep()
Definition: path_planners.hh:81
hpp::core_idl::PathVector_ptr computePath()
Definition: path_planners.hh:95
void timeOut(hpp::value_type seconds)
Definition: path_planners.hh:151
void maxIterations(hpp::size_type n)
Definition: path_planners.hh:137
Server * server_
Definition: servant-base.hh:97
hpp::core_idl::PathVector_ptr solve()
Definition: path_planners.hh:39
void tryConnectInitAndGoals()
Definition: path_planners.hh:67
void startSolve()
Definition: path_planners.hh:53
virtual ~PathPlannerServant()
Definition: path_planners.hh:31
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:74
Definition: path_planners-fwd.hh:25
core::PathVectorPtr_t PathVectorPtr_t
Definition: fwd.hh:71
Implementation of Hpp module Corba server.
Definition: server.hh:54
PathPlannerServant(Server *server, const _Storage &s)
Definition: path_planners.hh:25
StorageElementShPtr_t getT() const
Definition: servant-base.hh:121
long long size_type
Definition: common.idl:19