hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
distances-fwd.hh
Go to the documentation of this file.
1 #ifndef hpp_core_idl__distances_hpp__
2 #define hpp_core_idl__distances_hpp__
3 
4 //
5 // Implemention of IDL interfaces in file /local/robotpkg/var/tmp/robotpkg/path/py-hpp-corbaserver/work/hpp-corbaserver-4.9.0/idl/hpp/core_idl/distances.idl
6 //
7 
10 
11 #include <hpp/core/distance.hh>
12 #include <hpp/core/weighed-distance.hh>
13 
14 
15 namespace hpp {
16 
17 namespace corbaServer {
18 
19 
20 //
21 // Class implementing IDL interface hpp::core_idl::Distance
22 //
23 namespace core_impl {
24 template <typename _Base, typename _Storage>
25 class DistanceServant: public ServantBase<hpp::core::Distance, _Storage>, public virtual _Base
26 {
27 public:
29 
31 
32 public:
33  // standard constructor
34  DistanceServant(Server* server, const _Storage& s);
35  virtual ~DistanceServant();
36 
37  // methods corresponding to defined IDL attributes and operations
38 
39  hpp::value_type call (const hpp::floatSeq& q1, const hpp::floatSeq& q2);
40 
41 
42 };
43 
45 } // namespace core_impl
46 
47 //
48 // Class implementing IDL interface hpp::core_idl::WeighedDistance
49 //
50 namespace core_impl {
51 template <typename _Base, typename _Storage>
52 class WeighedDistanceServant: public hpp::corbaServer::core_impl::DistanceServant<_Base, _Storage>, public virtual _Base
53 {
54 public:
56 
58 
59 public:
60  // standard constructor
61  WeighedDistanceServant(Server* server, const _Storage& s);
62  virtual ~WeighedDistanceServant();
63 
64  // methods corresponding to defined IDL attributes and operations
65 
66  hpp::floatSeq* getWeights ();
67 
68 
69  void setWeights (const hpp::floatSeq& weights);
70 
71 
72 };
73 
75 } // namespace core_impl
76 
77 
78 
79 } // namespace hpp
80 
81 } // namespace corbaServer
82 
83 #endif // hpp_core_idl__distances_hpp__
84 
Definition: servant-base.hh:100
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
double value_type
Definition: common.idl:18
hpp::corbaServer::core_impl::DistanceServant< _Base, _Storage >::HppBase HppBase
Definition: distances-fwd.hh:55
Definition: distances.idl:19
DistanceServant< POA_hpp::core_idl::Distance, boost::weak_ptr< hpp::core::Distance > > Distance
Definition: distances-fwd.hh:44
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Distance, HppBase)
virtual ~DistanceServant()
Definition: distances.hh:31
To define and solve a path planning problem.
Definition: distances.idl:26
WeighedDistanceServant< POA_hpp::core_idl::WeighedDistance, boost::weak_ptr< hpp::core::WeighedDistance > > WeighedDistance
Definition: distances-fwd.hh:74
hpp::core::Distance HppBase
Definition: distances-fwd.hh:28
Implementation of Hpp module Corba server.
Definition: server.hh:54
hpp::value_type call(const hpp::floatSeq &q1, const hpp::floatSeq &q2)
Definition: distances.hh:39
DistanceServant(Server *server, const _Storage &s)
Definition: distances.hh:25
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
Definition: distances-fwd.hh:25