hpp-corbaserver  5.1.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.1.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 
hpp::core_impl::DistanceServant::deleteIfExpired
::CORBA::Boolean deleteIfExpired()
Definition: distances.hh:51
hpp::floatSeq
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:34
servant-base.hh
hpp::core_impl::WeighedDistanceServant::HppBase
hpp::core_impl::DistanceServant< _Base, _Storage >::HppBase HppBase
Definition: distances-fwd.hh:75
hpp::corbaServer::ServantBase< hpp::core::Distance, _Storage >::persistantStorage
bool persistantStorage() const
See persistantStorage(bool)
Definition: servant-base.hh:166
hpp::core_impl::DistanceServant::call
hpp::value_type call(const hpp::floatSeq &q1, const hpp::floatSeq &q2)
Definition: distances.hh:73
hpp::core_impl::WeighedDistanceServant
Definition: distances-fwd.hh:72
hpp::core_impl::DistanceServant
Definition: distances-fwd.hh:25
hpp::corbaServer::Server
Implementation of Hpp module Corba server.
Definition: server.hh:78
hpp::core_impl::DistanceServant::HppBase
hpp::core::Distance HppBase
Definition: distances-fwd.hh:29
hpp::value_type
double value_type
Definition: common.idl:18
hpp::core_idl::Distance
Definition: distances.idl:19
hpp::corbaServer::hpp_traits< hpp::core::Distance >::Base
hpp::core::Distance Base
Definition: distances-fwd.hh:61
hpp::core_impl::WeighedDistanceServant::~WeighedDistanceServant
virtual ~WeighedDistanceServant()
Definition: distances.hh:106
hpp::core_impl::DistanceServant::DistanceServant
DistanceServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: distances.hh:25
hpp::core_impl::DistanceServant::deleteThis
void deleteThis()
Definition: distances.hh:40
hpp::core_impl::WeighedDistanceServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::WeighedDistance, HppBase)
hpp::core_impl::WeighedDistanceServant::WeighedDistanceServant
WeighedDistanceServant(::hpp::corbaServer::Server *server, const _Storage &s)
Definition: distances.hh:99
distances-idl.hh
hpp
Implement CORBA interface `‘Obstacle’'.
Definition: client.hh:46
hpp::core_impl::WeighedDistanceServant::setWeights
void setWeights(const hpp::floatSeq &weights)
Definition: distances.hh:128
hpp::core_impl::DistanceServant::SERVANT_BASE_TYPEDEFS
SERVANT_BASE_TYPEDEFS(hpp::core_idl::Distance, HppBase)
hpp::corbaServer::hpp_traits
Definition: servant-base.hh:89
hpp::core_impl::WeighedDistanceServant::getWeights
hpp::floatSeq * getWeights()
Definition: distances.hh:114
hpp::core_idl::WeighedDistance
To define and solve a path planning problem.
Definition: distances.idl:28
hpp::core_impl::DistanceServant::~DistanceServant
virtual ~DistanceServant()
Definition: distances.hh:32
hpp::core_impl::WeighedDistance
WeighedDistanceServant< POA_hpp::core_idl::WeighedDistance, hpp::weak_ptr< hpp::core::WeighedDistance > > WeighedDistance
Definition: distances-fwd.hh:94
hpp::corbaServer::ServantBase
Definition: servant-base.hh:122
hpp::corbaServer::hpp_traits< hpp::core::WeighedDistance >::Base
hpp::core::Distance Base
Definition: distances-fwd.hh:101
hpp::core_impl::Distance
DistanceServant< POA_hpp::core_idl::Distance, hpp::weak_ptr< hpp::core::Distance > > Distance
Definition: distances-fwd.hh:54