hpp-corbaserver  5.0.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-5.0.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>
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  void deleteThis ();
41 
42 
43  ::CORBA::Boolean deleteIfExpired ();
44 
45 
46  void persistantStorage (::CORBA::Boolean persistant);
47 
48 
49  hpp::value_type call (const hpp::floatSeq& q1, const hpp::floatSeq& q2);
50 
51 
52 };
53 
55 } // namespace core_impl
56 
57 } // namespace hpp
58 
59 namespace hpp {
60 namespace corbaServer {
61 template<> struct hpp_traits<hpp::core::Distance>{ typedef hpp::core::Distance Base; };
62 } // namespace corbaServer
63 } // namespace corbaServer
64 
65 //
66 // Class implementing IDL interface hpp::core_idl::WeighedDistance
67 //
68 namespace hpp {
69 
70 namespace core_impl {
71 template <typename _Base, typename _Storage>
73 {
74 public:
76 
78 
79 public:
80  // standard constructor
81  WeighedDistanceServant(::hpp::corbaServer::Server* server, const _Storage& s);
82  virtual ~WeighedDistanceServant();
83 
84  // methods corresponding to defined IDL attributes and operations
85 
87 
88 
89  void setWeights (const hpp::floatSeq& weights);
90 
91 
92 };
93 
95 } // namespace core_impl
96 
97 } // namespace hpp
98 
99 namespace hpp {
100 namespace corbaServer {
102 } // namespace corbaServer
103 } // namespace corbaServer
104 
105 
106 
107 
108 
109 #endif // hpp_core_idl__distances_hpp__
110 
Definition: servant-base.hh:122
void setWeights(const hpp::floatSeq &weights)
Definition: distances.hh:128
Definition: distances-fwd.hh:72
Implement CORBA interface `‘Obstacle’&#39;.
Definition: client.hh:46
hpp::value_type call(const hpp::floatSeq &q1, const hpp::floatSeq &q2)
Definition: distances.hh:73
hpp::core::Distance Base
Definition: distances-fwd.hh:61
double value_type
Definition: common.idl:18
hpp::core::Distance HppBase
Definition: distances-fwd.hh:29
virtual ~WeighedDistanceServant()
Definition: distances.hh:106
WeighedDistanceServant< POA_hpp::core_idl::WeighedDistance, hpp::weak_ptr< hpp::core::WeighedDistance > > WeighedDistance
Definition: distances-fwd.hh:94
Definition: distances.idl:19
bool persistantStorage() const
See persistantStorage(bool)
Definition: servant-base.hh:166
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Distance, HppBase)
SERVANT_BASE_TYPEDEFS(hpp::core_idl::WeighedDistance, HppBase)
To define and solve a path planning problem.
Definition: distances.idl:28
void deleteThis()
Definition: distances.hh:40
WeighedDistanceServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: distances.hh:99
DistanceServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: distances.hh:25
virtual ~DistanceServant()
Definition: distances.hh:32
hpp::floatSeq * getWeights()
Definition: distances.hh:114
Implementation of Hpp module Corba server.
Definition: server.hh:78
DistanceServant< POA_hpp::core_idl::Distance, hpp::weak_ptr< hpp::core::Distance > > Distance
Definition: distances-fwd.hh:54
hpp::core_impl::DistanceServant< _Base, _Storage >::HppBase HppBase
Definition: distances-fwd.hh:75
::CORBA::Boolean deleteIfExpired()
Definition: distances.hh:51
Definition: servant-base.hh:89
Definition: distances-fwd.hh:25
hpp::core::Distance Base
Definition: distances-fwd.hh:101
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34