hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
configuration_shooters.hh
Go to the documentation of this file.
1 #ifndef hpp_core_idl__configuration__shooters_hxx__
2 #define hpp_core_idl__configuration__shooters_hxx__
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/configuration_shooters.idl
6 //
7 
9 
10 #include <sstream>
11 
12 #include <hpp/corbaserver/fwd.hh>
15 
16 namespace hpp {
17 
18 namespace corbaServer {
19 
20 //
21 // Implementational code for IDL interface hpp::core_idl::ConfigurationShooter
22 //
23 namespace core_impl {
24 template <typename _Base, typename _Storage>
26  : ServantBase<hpp::core::ConfigurationShooter, _Storage> (server, s)
27 {
28  // add extra constructor code here
29 }
30 template <typename _Base, typename _Storage>
32 {
33  // add extra destructor code here
34 }
35 
36 // Methods corresponding to IDL attributes and operations
37 
38 template <typename _Base, typename _Storage>
40 {
41  try {
42  // automatically generated code.
43 
45 
46  return __return__;
47  } catch (const std::exception& e) {
48  throw ::hpp::Error (e.what());
49  }
50 }
51 
52 // End of implementational code
53 } // namespace core_impl
54 
55 //
56 // Implementational code for IDL interface hpp::core_idl::configuration_shooter::Gaussian
57 //
58 namespace core_impl {
59 
60 namespace configuration_shooter {
61 template <typename _Base, typename _Storage>
63  : hpp::corbaServer::core_impl::ConfigurationShooterServant<_Base, _Storage> (server, s)
64 {
65  // add extra constructor code here
66 }
67 template <typename _Base, typename _Storage>
69 {
70  // add extra destructor code here
71 }
72 
73 // Methods corresponding to IDL attributes and operations
74 
75 template <typename _Base, typename _Storage>
77 {
78  try {
79  // automatically generated code.
81  (getT()->center (_c));
82 
83 
84  } catch (const std::exception& e) {
85  throw ::hpp::Error (e.what());
86  }
87 }
88 
89 template <typename _Base, typename _Storage>
91 {
92  try {
93  // automatically generated code.
94 
95  hpp::floatSeq* __return__ = hpp::corbaServer::vectorToFloatSeq (getT()->center ());
96 
97  return __return__;
98  } catch (const std::exception& e) {
99  throw ::hpp::Error (e.what());
100  }
101 }
102 
103 template <typename _Base, typename _Storage>
105 {
106  try {
107  // automatically generated code.
108 
109  hpp::floatSeq* __return__ = hpp::corbaServer::vectorToFloatSeq (getT()->sigmas ());
110 
111  return __return__;
112  } catch (const std::exception& e) {
113  throw ::hpp::Error (e.what());
114  }
115 }
116 
117 template <typename _Base, typename _Storage>
119 {
120  try {
121  // automatically generated code.
123  (getT()->sigmas (_s));
124 
125 
126  } catch (const std::exception& e) {
127  throw ::hpp::Error (e.what());
128  }
129 }
130 
131 // End of implementational code
132 } // namespace core_impl
133 
134 } // namespace configuration_shooter
135 
136 
137 
138 } // namespace hpp
139 
140 } // namespace corbaServer
141 
142 #endif // hpp_core_idl__configuration__shooters_hxx__
143 
Definition: servant-base.hh:100
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
hpp::floatSeq * shoot()
Definition: configuration_shooters.hh:39
hpp::floatSeq * getSigmas()
Definition: configuration_shooters.hh:104
virtual ~GaussianServant()
Definition: configuration_shooters.hh:68
vector_t floatSeqToVector(const floatSeq &dofArray, const size_type expectedSize=-1)
virtual ~ConfigurationShooterServant()
Definition: configuration_shooters.hh:31
void setCenter(const hpp::floatSeq &c)
Definition: configuration_shooters.hh:76
pinocchio::vector_t vector_t
Definition: fwd.hh:83
void setSigmas(const hpp::floatSeq &s)
Definition: configuration_shooters.hh:118
Definition: configuration_shooters-fwd.hh:25
Implementation of Hpp module Corba server.
Definition: server.hh:54
hpp::floatSeq * getCenter()
Definition: configuration_shooters.hh:90
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
StorageElementShPtr_t getT() const
Definition: servant-base.hh:121
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
ConfigurationShooterServant(Server *server, const _Storage &s)
Definition: configuration_shooters.hh:25