hpp-corbaserver  4.11.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.11.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 
16 
17 
18 //
19 // Class implementing IDL interface hpp::core_idl::Distance
20 //
21 namespace hpp {
22 
23 namespace core_impl {
24 template <typename _Base, typename _Storage>
25 class DistanceServant: public hpp::corbaServer::ServantBase<hpp::core::Distance, _Storage>, public virtual _Base
26 {
27 public:
29 
31 
32 public:
33  // standard constructor
34  DistanceServant(::hpp::corbaServer::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 } // namespace hpp
48 
49 namespace hpp {
50 namespace corbaServer {
51 template<> struct hpp_traits<hpp::core::Distance>{ typedef hpp::core::Distance Base; };
52 } // namespace corbaServer
53 } // namespace corbaServer
54 
55 //
56 // Class implementing IDL interface hpp::core_idl::WeighedDistance
57 //
58 namespace hpp {
59 
60 namespace core_impl {
61 template <typename _Base, typename _Storage>
63 {
64 public:
66 
68 
69 public:
70  // standard constructor
71  WeighedDistanceServant(::hpp::corbaServer::Server* server, const _Storage& s);
72  virtual ~WeighedDistanceServant();
73 
74  // methods corresponding to defined IDL attributes and operations
75 
76  hpp::floatSeq* getWeights ();
77 
78 
79  void setWeights (const hpp::floatSeq& weights);
80 
81 
82 };
83 
85 } // namespace core_impl
86 
87 } // namespace hpp
88 
89 namespace hpp {
90 namespace corbaServer {
92 } // namespace corbaServer
93 } // namespace corbaServer
94 
95 
96 
97 
98 
99 #endif // hpp_core_idl__distances_hpp__
100 
Definition: servant-base.hh:100
Definition: distances-fwd.hh:62
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
hpp::value_type call(const hpp::floatSeq &q1, const hpp::floatSeq &q2)
Definition: distances.hh:39
hpp::core::Distance Base
Definition: distances-fwd.hh:51
double value_type
Definition: common.idl:18
hpp::core::Distance HppBase
Definition: distances-fwd.hh:28
WeighedDistanceServant< POA_hpp::core_idl::WeighedDistance, hpp::weak_ptr< hpp::core::WeighedDistance > > WeighedDistance
Definition: distances-fwd.hh:84
Definition: distances.idl:19
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Distance, HppBase)
To define and solve a path planning problem.
Definition: distances.idl:26
DistanceServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: distances.hh:25
virtual ~DistanceServant()
Definition: distances.hh:31
Implementation of Hpp module Corba server.
Definition: server.hh:54
DistanceServant< POA_hpp::core_idl::Distance, hpp::weak_ptr< hpp::core::Distance > > Distance
Definition: distances-fwd.hh:44
hpp::core_impl::DistanceServant< _Base, _Storage >::HppBase HppBase
Definition: distances-fwd.hh:65
Definition: servant-base.hh:66
Definition: distances-fwd.hh:25
hpp::core::Distance Base
Definition: distances-fwd.hh:91
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:33