12 #ifndef HPP_CORE_IDL_PROBLEM_HH 13 # define HPP_CORE_IDL_PROBLEM_HH 21 # include <hpp/core_idl/_problem-idl.hh> 34 template <
typename _Base,
typename _Storage>
40 : _ServantBase (server, p) {}
49 hpp::core_idl::Distance_var
d = makeServantDownCast<Distance>
58 d = reference_to_servant_base<core::Distance>(
server_,
distance)->
get();
59 }
catch (
const Error& e) {
73 hpp::core_idl::SteeringMethod_var
d = makeServantDownCast<SteeringMethod>
82 d = reference_to_servant_base<core::SteeringMethod>(
server_, steeringMethod)->
get();
83 }
catch (
const Error& e) {
89 get()->steeringMethod (d);
96 hpp::core_idl::PathValidation_var
d = makeServantDownCast<PathValidation>
105 d = reference_to_servant_base<core::PathValidation>(
server_, pathValidation)->
get();
106 }
catch (
const Error& e) {
112 get()->pathValidation (d);
121 #endif // HPP_CORE_IDL_PROBLEM_HH Definition: servant-base.hh:100
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:51
hpp::core_idl::SteeringMethod_ptr getSteeringMethod()
Definition: problem.hh:68
Definition: problem.hh:35
Implement CORBA interface ``Obstacle''.
void setPathValidation(hpp::core_idl::PathValidation_ptr pathValidation)
Definition: problem.hh:101
Server * server_
Definition: servant-base.hh:97
Corba exception travelling through the Corba channel.
Definition: common.idl:24
void setDistance(hpp::core_idl::Distance_ptr distance)
Definition: problem.hh:54
boost::shared_ptr< PathValidation > PathValidationPtr_t
ProblemServant< POA_hpp::core_idl::Problem, core::ProblemPtr_t > Problem
Definition: problem.hh:116
void setSteeringMethod(hpp::core_idl::SteeringMethod_ptr steeringMethod)
Definition: problem.hh:78
Definition: _problem.idl:28
Implementation of Hpp module Corba server.
Definition: server.hh:54
hpp::core_idl::PathValidation_ptr getPathValidation()
Definition: problem.hh:92
boost::shared_ptr< SteeringMethod > SteeringMethodPtr_t
virtual ~ProblemServant()
Definition: problem.hh:42
boost::shared_ptr< Distance > DistancePtr_t
_Storage Storage
Definition: servant-base.hh:103
hpp::core_idl::Distance_ptr getDistance()
Definition: problem.hh:44
ProblemServant(Server *server, const Storage &p)
Definition: problem.hh:39
FCL_REAL distance(const KDOP< N > &other, Vec3f *P=NULL, Vec3f *Q=NULL) const