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