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