hpp-corbaserver  4.11.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.11.0/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  : hpp::corbaServer::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 } // namespace hpp
56 
57 //
58 // Implementational code for IDL interface hpp::core_idl::configuration_shooter::Gaussian
59 //
60 namespace hpp {
61 
62 namespace core_impl {
63 
64 namespace configuration_shooter {
65 template <typename _Base, typename _Storage>
67  : hpp::core_impl::ConfigurationShooterServant<_Base, _Storage> (server, s)
68 {
69  // add extra constructor code here
70 }
71 template <typename _Base, typename _Storage>
73 {
74  // add extra destructor code here
75 }
76 
77 // Methods corresponding to IDL attributes and operations
78 
79 template <typename _Base, typename _Storage>
81 {
82  try {
83  // automatically generated code.
85  (getT()->center (_c));
86 
87 
88  } catch (const std::exception& e) {
89  throw ::hpp::Error (e.what());
90  }
91 }
92 
93 template <typename _Base, typename _Storage>
95 {
96  try {
97  // automatically generated code.
98 
99  hpp::floatSeq* __return__ = hpp::corbaServer::vectorToFloatSeq (getT()->center ());
100 
101  return __return__;
102  } catch (const std::exception& e) {
103  throw ::hpp::Error (e.what());
104  }
105 }
106 
107 template <typename _Base, typename _Storage>
109 {
110  try {
111  // automatically generated code.
112 
113  hpp::floatSeq* __return__ = hpp::corbaServer::vectorToFloatSeq (getT()->sigmas ());
114 
115  return __return__;
116  } catch (const std::exception& e) {
117  throw ::hpp::Error (e.what());
118  }
119 }
120 
121 template <typename _Base, typename _Storage>
123 {
124  try {
125  // automatically generated code.
127  (getT()->sigmas (_s));
128 
129 
130  } catch (const std::exception& e) {
131  throw ::hpp::Error (e.what());
132  }
133 }
134 
135 // End of implementational code
136 } // namespace configuration_shooter
137 
138 } // namespace core_impl
139 
140 } // namespace hpp
141 
142 
143 
144 
145 
146 #endif // hpp_core_idl__configuration__shooters_hxx__
147 
void setSigmas(const hpp::floatSeq &s)
Definition: configuration_shooters.hh:122
hpp::floatSeq * shoot()
Definition: configuration_shooters.hh:39
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
hpp::floatSeq * getSigmas()
Definition: configuration_shooters.hh:108
void setCenter(const hpp::floatSeq &c)
Definition: configuration_shooters.hh:80
virtual ~GaussianServant()
Definition: configuration_shooters.hh:72
virtual ~ConfigurationShooterServant()
Definition: configuration_shooters.hh:31
vector_t floatSeqToVector(const floatSeq &dofArray, const size_type expectedSize=-1)
pinocchio::vector_t vector_t
Definition: fwd.hh:89
Definition: configuration_shooters-fwd.hh:25
Definition: configuration_shooters-fwd.hh:64
hpp::floatSeq * getCenter()
Definition: configuration_shooters.hh:94
Implementation of Hpp module Corba server.
Definition: server.hh:54
floatSeq * vectorToFloatSeq(core::vectorIn_t input)
StorageElementShPtr_t getT() const
Definition: servant-base.hh:121
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:33