Types.hpp
Go to the documentation of this file.
1 /* Generated from orogen/lib/orogen/templates/typekit/Types.hpp */
2 
3 #ifndef KDL_TYPES_HPP
4 #define KDL_TYPES_HPP
5 
6 #include <kdl/frames.hpp>
7 #include <kdl/chain.hpp>
8 #include <kdl/jacobian.hpp>
9 #include <kdl/segment.hpp>
10 #include <kdl/jntarray.hpp>
11 
12 
13 // This is a hack. We include it unconditionally as it may be required by some
14 // typekits *and* it is a standard header. Ideally, we would actually check if
15 // some of the types need std::vector.
16 #include <vector>
17 #include <boost/cstdint.hpp>
18 #include <boost/serialization/serialization.hpp>
19 #include <boost/serialization/array.hpp>
20 
21 
22 #ifdef CORELIB_DATASOURCE_HPP
23  extern template class RTT::internal::DataSource< ::KDL::Frame >;
25 #endif
26 #ifdef ORO_CORELIB_DATASOURCES_HPP
30 #endif
31 #ifdef ORO_CHANNEL_ELEMENT_HPP
32  extern template class RTT::base::ChannelElement< ::KDL::Frame >;
33 #endif
34 #ifdef ORO_OUTPUT_PORT_HPP
35  extern template class RTT::OutputPort< ::KDL::Frame >;
36 #endif
37 #ifdef ORO_INPUT_PORT_HPP
38  extern template class RTT::InputPort< ::KDL::Frame >;
39 #endif
40 #ifdef ORO_PROPERTY_HPP
41  extern template class RTT::Property< ::KDL::Frame >;
42 #endif
43 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
44  extern template class RTT::Attribute< ::KDL::Frame >;
45 #endif
46 
47 
48 namespace boost
49 {
50  namespace serialization
51  {
52  template<typename Archive>
53  void serialize(Archive& a, ::KDL::Frame& b, unsigned int version)
54  {
55  using boost::serialization::make_nvp;
56  a & make_nvp("p", b.p);
57 a & make_nvp("M", b.M);
58  }
59  }
60 }
61 
62 
63 #ifdef CORELIB_DATASOURCE_HPP
66 #endif
67 #ifdef ORO_CORELIB_DATASOURCES_HPP
71 #endif
72 #ifdef ORO_CHANNEL_ELEMENT_HPP
74 #endif
75 #ifdef ORO_OUTPUT_PORT_HPP
76  extern template class RTT::OutputPort< ::KDL::Rotation >;
77 #endif
78 #ifdef ORO_INPUT_PORT_HPP
79  extern template class RTT::InputPort< ::KDL::Rotation >;
80 #endif
81 #ifdef ORO_PROPERTY_HPP
82  extern template class RTT::Property< ::KDL::Rotation >;
83 #endif
84 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
85  extern template class RTT::Attribute< ::KDL::Rotation >;
86 #endif
87 
88 
89 namespace boost
90 {
91  namespace serialization
92  {
93  template<typename Archive>
94  void serialize(Archive& a, ::KDL::Rotation& b, unsigned int version)
95  {
96  using boost::serialization::make_nvp;
97  a & make_nvp("X_x", b.data[0]);
98  a & make_nvp("X_y", b.data[3]);
99  a & make_nvp("X_z", b.data[6]);
100  a & make_nvp("Y_x", b.data[1]);
101  a & make_nvp("Y_y", b.data[4]);
102  a & make_nvp("Y_z", b.data[7]);
103  a & make_nvp("Z_x", b.data[2]);
104  a & make_nvp("Z_y", b.data[5]);
105  a & make_nvp("Z_z", b.data[8]);
106  }
107  }
108 }
109 
110 #ifdef CORELIB_DATASOURCE_HPP
111  extern template class RTT::internal::DataSource< ::KDL::Twist >;
113 #endif
114 #ifdef ORO_CORELIB_DATASOURCES_HPP
118 #endif
119 #ifdef ORO_CHANNEL_ELEMENT_HPP
120  extern template class RTT::base::ChannelElement< ::KDL::Twist >;
121 #endif
122 #ifdef ORO_OUTPUT_PORT_HPP
123  extern template class RTT::OutputPort< ::KDL::Twist >;
124 #endif
125 #ifdef ORO_INPUT_PORT_HPP
126  extern template class RTT::InputPort< ::KDL::Twist >;
127 #endif
128 #ifdef ORO_PROPERTY_HPP
129  extern template class RTT::Property< ::KDL::Twist >;
130 #endif
131 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
132  extern template class RTT::Attribute< ::KDL::Twist >;
133 #endif
134 
135 
136 namespace boost
137 {
138  namespace serialization
139  {
140  template<typename Archive>
141  void serialize(Archive& a, ::KDL::Twist& b, unsigned int version)
142  {
143  using boost::serialization::make_nvp;
144  a & make_nvp("vel", b.vel);
145 a & make_nvp("rot", b.rot);
146  }
147  }
148 }
149 
150 
151 
152 #ifdef CORELIB_DATASOURCE_HPP
153  extern template class RTT::internal::DataSource< ::KDL::Vector >;
155 #endif
156 #ifdef ORO_CORELIB_DATASOURCES_HPP
160 #endif
161 #ifdef ORO_CHANNEL_ELEMENT_HPP
162  extern template class RTT::base::ChannelElement< ::KDL::Vector >;
163 #endif
164 #ifdef ORO_OUTPUT_PORT_HPP
165  extern template class RTT::OutputPort< ::KDL::Vector >;
166 #endif
167 #ifdef ORO_INPUT_PORT_HPP
168  extern template class RTT::InputPort< ::KDL::Vector >;
169 #endif
170 #ifdef ORO_PROPERTY_HPP
171  extern template class RTT::Property< ::KDL::Vector >;
172 #endif
173 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
174  extern template class RTT::Attribute< ::KDL::Vector >;
175 #endif
176 
177 
178 namespace boost
179 {
180  namespace serialization
181  {
182  template<typename Archive>
183  void serialize(Archive& a, ::KDL::Vector& b, unsigned int version)
184  {
185  using boost::serialization::make_nvp;
186  a & make_nvp("X", b.data[0]);
187  a & make_nvp("Y", b.data[1]);
188  a & make_nvp("Z", b.data[2]);
189  }
190  }
191 }
192 
193 
194 #ifdef CORELIB_DATASOURCE_HPP
195  extern template class RTT::internal::DataSource< ::KDL::Wrench >;
197 #endif
198 #ifdef ORO_CORELIB_DATASOURCES_HPP
202 #endif
203 #ifdef ORO_CHANNEL_ELEMENT_HPP
204  extern template class RTT::base::ChannelElement< ::KDL::Wrench >;
205 #endif
206 #ifdef ORO_OUTPUT_PORT_HPP
207  extern template class RTT::OutputPort< ::KDL::Wrench >;
208 #endif
209 #ifdef ORO_INPUT_PORT_HPP
210  extern template class RTT::InputPort< ::KDL::Wrench >;
211 #endif
212 #ifdef ORO_PROPERTY_HPP
213  extern template class RTT::Property< ::KDL::Wrench >;
214 #endif
215 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
216  extern template class RTT::Attribute< ::KDL::Wrench >;
217 #endif
218 
219 
220 namespace boost
221 {
222  namespace serialization
223  {
224  template<typename Archive>
225  void serialize(Archive& a, ::KDL::Wrench& b, unsigned int version)
226  {
227  using boost::serialization::make_nvp;
228  a & make_nvp("force", b.force);
229  a & make_nvp("torque", b.torque);
230  }
231  }
232 }
233 
234 #ifdef CORELIB_DATASOURCE_HPP
235  extern template class RTT::internal::DataSource< ::KDL::Chain >;
237 #endif
238 #ifdef ORO_CORELIB_DATASOURCES_HPP
242 #endif
243 #ifdef ORO_CHANNEL_ELEMENT_HPP
244  extern template class RTT::base::ChannelElement< ::KDL::Chain >;
245 #endif
246 #ifdef ORO_OUTPUT_PORT_HPP
247  extern template class RTT::OutputPort< ::KDL::Chain >;
248 #endif
249 #ifdef ORO_INPUT_PORT_HPP
250  extern template class RTT::InputPort< ::KDL::Chain >;
251 #endif
252 #ifdef ORO_PROPERTY_HPP
253  extern template class RTT::Property< ::KDL::Chain >;
254 #endif
255 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
256  extern template class RTT::Attribute< ::KDL::Chain >;
257 #endif
258 
259 
260 namespace boost
261 {
262  namespace serialization
263  {
264  template<typename Archive>
265  void serialize(Archive& a, ::KDL::Chain& b, unsigned int version)
266  {}
267  }
268 }
269 
270 #ifdef CORELIB_DATASOURCE_HPP
271  extern template class RTT::internal::DataSource< ::KDL::Joint >;
273 #endif
274 #ifdef ORO_CORELIB_DATASOURCES_HPP
278 #endif
279 #ifdef ORO_CHANNEL_ELEMENT_HPP
280  extern template class RTT::base::ChannelElement< ::KDL::Joint >;
281 #endif
282 #ifdef ORO_OUTPUT_PORT_HPP
283  extern template class RTT::OutputPort< ::KDL::Joint >;
284 #endif
285 #ifdef ORO_INPUT_PORT_HPP
286  extern template class RTT::InputPort< ::KDL::Joint >;
287 #endif
288 #ifdef ORO_PROPERTY_HPP
289  extern template class RTT::Property< ::KDL::Joint >;
290 #endif
291 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
292  extern template class RTT::Attribute< ::KDL::Joint >;
293 #endif
294 
295 
296 namespace boost
297 {
298  namespace serialization
299  {
300  template<typename Archive>
301  void serialize(Archive& a, ::KDL::Joint& b, unsigned int version)
302  {}
303  }
304 }
305 
306 #ifdef CORELIB_DATASOURCE_HPP
307  extern template class RTT::internal::DataSource< ::KDL::Segment >;
309 #endif
310 #ifdef ORO_CORELIB_DATASOURCES_HPP
314 #endif
315 #ifdef ORO_CHANNEL_ELEMENT_HPP
316  extern template class RTT::base::ChannelElement< ::KDL::Segment >;
317 #endif
318 #ifdef ORO_OUTPUT_PORT_HPP
319  extern template class RTT::OutputPort< ::KDL::Segment >;
320 #endif
321 #ifdef ORO_INPUT_PORT_HPP
322  extern template class RTT::InputPort< ::KDL::Segment >;
323 #endif
324 #ifdef ORO_PROPERTY_HPP
325  extern template class RTT::Property< ::KDL::Segment >;
326 #endif
327 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
328  extern template class RTT::Attribute< ::KDL::Segment >;
329 #endif
330 
331 
332 namespace boost
333 {
334  namespace serialization
335  {
336  template<typename Archive>
337  void serialize(Archive& a, ::KDL::Segment& b, unsigned int version)
338  {}
339  }
340 }
341 #ifdef CORELIB_DATASOURCE_HPP
342  extern template class RTT::internal::DataSource< ::KDL::Jacobian >;
344 #endif
345 #ifdef ORO_CORELIB_DATASOURCES_HPP
349 #endif
350 #ifdef ORO_CHANNEL_ELEMENT_HPP
351  extern template class RTT::base::ChannelElement< ::KDL::Jacobian >;
352 #endif
353 #ifdef ORO_OUTPUT_PORT_HPP
354  extern template class RTT::OutputPort< ::KDL::Jacobian >;
355 #endif
356 #ifdef ORO_INPUT_PORT_HPP
357  extern template class RTT::InputPort< ::KDL::Jacobian >;
358 #endif
359 #ifdef ORO_PROPERTY_HPP
360  extern template class RTT::Property< ::KDL::Jacobian >;
361 #endif
362 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
363  extern template class RTT::Attribute< ::KDL::Jacobian >;
364 #endif
365 
366 
367 namespace boost
368 {
369  namespace serialization
370  {
371  template<typename Archive>
372  void serialize(Archive& a, ::KDL::Jacobian& b, unsigned int version)
373  {}
374  }
375 }
376 
377 #ifdef CORELIB_DATASOURCE_HPP
378  extern template class RTT::internal::DataSource< ::KDL::JntArray >;
380 #endif
381 #ifdef ORO_CORELIB_DATASOURCES_HPP
385 #endif
386 #ifdef ORO_CHANNEL_ELEMENT_HPP
387  extern template class RTT::base::ChannelElement< ::KDL::JntArray >;
388 #endif
389 #ifdef ORO_OUTPUT_PORT_HPP
390  extern template class RTT::OutputPort< ::KDL::JntArray >;
391 #endif
392 #ifdef ORO_INPUT_PORT_HPP
393  extern template class RTT::InputPort< ::KDL::JntArray >;
394 #endif
395 #ifdef ORO_PROPERTY_HPP
396  extern template class RTT::Property< ::KDL::JntArray >;
397 #endif
398 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
399  extern template class RTT::Attribute< ::KDL::JntArray >;
400 #endif
401 
402 
403 namespace boost
404 {
405  namespace serialization
406  {
407  template<typename Archive>
408  void serialize(Archive& a, ::KDL::JntArray& b, unsigned int version)
409  {
410  using boost::serialization::make_nvp;
411  for(int i=0; i<b.data.size(); i++)
412  {
413  a & make_nvp("data", b.data[i]);
414  }
415  }
416  }
417 }
418 
419 #ifdef CORELIB_DATASOURCE_HPP
422 #endif
423 #ifdef ORO_CORELIB_DATASOURCES_HPP
427 #endif
428 #ifdef ORO_CHANNEL_ELEMENT_HPP
430 #endif
431 #ifdef ORO_OUTPUT_PORT_HPP
432  extern template class RTT::OutputPort< std::vector<KDL::Rotation> >;
433 #endif
434 #ifdef ORO_INPUT_PORT_HPP
435  extern template class RTT::InputPort< std::vector<KDL::Rotation> >;
436 #endif
437 #ifdef ORO_PROPERTY_HPP
438  extern template class RTT::Property< std::vector<KDL::Rotation> >;
439 #endif
440 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
441  extern template class RTT::Attribute< std::vector<KDL::Rotation> >;
442 #endif
443 
444 #ifdef CORELIB_DATASOURCE_HPP
447 #endif
448 #ifdef ORO_CORELIB_DATASOURCES_HPP
452 #endif
453 #ifdef ORO_CHANNEL_ELEMENT_HPP
455 #endif
456 #ifdef ORO_OUTPUT_PORT_HPP
457  extern template class RTT::OutputPort< std::vector<KDL::Vector> >;
458 #endif
459 #ifdef ORO_INPUT_PORT_HPP
460  extern template class RTT::InputPort< std::vector<KDL::Vector> >;
461 #endif
462 #ifdef ORO_PROPERTY_HPP
463  extern template class RTT::Property< std::vector<KDL::Vector> >;
464 #endif
465 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
466  extern template class RTT::Attribute< std::vector<KDL::Vector> >;
467 #endif
468 
469 #ifdef CORELIB_DATASOURCE_HPP
472 #endif
473 #ifdef ORO_CORELIB_DATASOURCES_HPP
477 #endif
478 #ifdef ORO_CHANNEL_ELEMENT_HPP
480 #endif
481 #ifdef ORO_OUTPUT_PORT_HPP
482  extern template class RTT::OutputPort< std::vector<KDL::Frame> >;
483 #endif
484 #ifdef ORO_INPUT_PORT_HPP
485  extern template class RTT::InputPort< std::vector<KDL::Frame> >;
486 #endif
487 #ifdef ORO_PROPERTY_HPP
488  extern template class RTT::Property< std::vector<KDL::Frame> >;
489 #endif
490 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
491  extern template class RTT::Attribute< std::vector<KDL::Frame> >;
492 #endif
493 
494 #ifdef CORELIB_DATASOURCE_HPP
497 #endif
498 #ifdef ORO_CORELIB_DATASOURCES_HPP
502 #endif
503 #ifdef ORO_CHANNEL_ELEMENT_HPP
505 #endif
506 #ifdef ORO_OUTPUT_PORT_HPP
507  extern template class RTT::OutputPort< std::vector<KDL::Twist> >;
508 #endif
509 #ifdef ORO_INPUT_PORT_HPP
510  extern template class RTT::InputPort< std::vector<KDL::Twist> >;
511 #endif
512 #ifdef ORO_PROPERTY_HPP
513  extern template class RTT::Property< std::vector<KDL::Twist> >;
514 #endif
515 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
516  extern template class RTT::Attribute< std::vector<KDL::Twist> >;
517 #endif
518 
519 #ifdef CORELIB_DATASOURCE_HPP
522 #endif
523 #ifdef ORO_CORELIB_DATASOURCES_HPP
527 #endif
528 #ifdef ORO_CHANNEL_ELEMENT_HPP
530 #endif
531 #ifdef ORO_OUTPUT_PORT_HPP
532  extern template class RTT::OutputPort< std::vector<KDL::Wrench> >;
533 #endif
534 #ifdef ORO_INPUT_PORT_HPP
535  extern template class RTT::InputPort< std::vector<KDL::Wrench> >;
536 #endif
537 #ifdef ORO_PROPERTY_HPP
538  extern template class RTT::Property< std::vector<KDL::Wrench> >;
539 #endif
540 #ifdef ORO_CORELIB_ATTRIBUTE_HPP
541  extern template class RTT::Attribute< std::vector<KDL::Wrench> >;
542 #endif
543 
544 #endif
545 
Vector vel
Vector torque
Rotation M
void serialize(Archive &a,::KDL::JntArray &b, unsigned int version)
Definition: Types.hpp:408
Vector rot
double data[3]
Eigen::VectorXd data
Vector force
double data[9]


kdl_typekit
Author(s): Steven Bellens, Ruben Smits
autogenerated on Wed Jul 3 2019 19:39:45