kinfam_io.hpp
Go to the documentation of this file.
1 // Copyright (C) 2007 Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
2 
3 // Version: 1.0
4 // Author: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
5 // Maintainer: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
6 // URL: http://www.orocos.org/kdl
7 
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU Lesser General Public
10 // License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 
22 #ifndef KDL_KINFAM_IO_HPP
23 #define KDL_KINFAM_IO_HPP
24 
25 #include <iostream>
26 #include <fstream>
27 
28 #include "joint.hpp"
29 #include "segment.hpp"
30 #include "chain.hpp"
31 #include "jntarray.hpp"
32 #include "jacobian.hpp"
33 #include "tree.hpp"
35 
36 namespace KDL {
37 std::ostream& operator <<(std::ostream& os, const Joint& joint);
38 std::istream& operator >>(std::istream& is, Joint& joint);
39 std::ostream& operator <<(std::ostream& os, const Segment& segment);
40 std::istream& operator >>(std::istream& is, Segment& segment);
41 std::ostream& operator <<(std::ostream& os, const Chain& chain);
42 std::istream& operator >>(std::istream& is, Chain& chain);
43 
44 std::ostream& operator <<(std::ostream& os, const Tree& tree);
45 std::istream& operator >>(std::istream& is, Tree& tree);
46 
47 std::ostream& operator <<(std::ostream& os, SegmentMap::const_iterator it);
48 
49 std::ostream& operator <<(std::ostream& os, const JntArray& array);
50 std::istream& operator >>(std::istream& is, JntArray& array);
51 std::ostream& operator <<(std::ostream& os, const Jacobian& jac);
52 std::istream& operator >>(std::istream& is, Jacobian& jac);
53 std::ostream& operator <<(std::ostream& os, const JntSpaceInertiaMatrix& jntspaceinertiamatrix);
54 std::istream& operator >>(std::istream& is, JntSpaceInertiaMatrix& jntspaceinertiamatrix);
55 
56  /*
57 template<typename T>
58 std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec) {
59  os << "[";
60  for (unsigned int i = 0; i < vec.size(); i++)
61  os << vec[i] << " ";
62  os << "]";
63  return os;
64 }
65 ;
66 
67 template<typename T>
68 std::istream& operator >>(std::istream& is, std::vector<T>& vec) {
69  return is;
70 }
71 ;
72  */
73 }
74 #endif
75 
std::istream & operator>>(std::istream &is, Vector &v)
Definition: frames_io.cpp:129
std::ostream & operator<<(std::ostream &os, const VectorAcc &r)
Definition: frameacc_io.hpp:32


orocos_kdl
Author(s):
autogenerated on Sat Jun 15 2019 19:07:36