orocos_kdl
frames_io.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  frames_io.h - description
3  -------------------------
4  begin : June 2006
5  copyright : (C) 2006 Erwin Aertbelien
6  email : firstname.lastname@mech.kuleuven.ac.be
7 
8  History (only major changes)( AUTHOR-Description ) :
9 
10  Ruben Smits - Added output for jacobian and jntarray 06/2007
11 
12  ***************************************************************************
13  * This library is free software; you can redistribute it and/or *
14  * modify it under the terms of the GNU Lesser General Public *
15  * License as published by the Free Software Foundation; either *
16  * version 2.1 of the License, or (at your option) any later version. *
17  * *
18  * This library is distributed in the hope that it will be useful, *
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
21  * Lesser General Public License for more details. *
22  * *
23  * You should have received a copy of the GNU Lesser General Public *
24  * License along with this library; if not, write to the Free Software *
25  * Foundation, Inc., 59 Temple Place, *
26  * Suite 330, Boston, MA 02111-1307 USA *
27  * *
28  ***************************************************************************/
76 #ifndef FRAMES_IO_H
77 #define FRAMES_IO_H
78 
79 #include "utilities/utility_io.h"
80 #include "frames.hpp"
81 #include "jntarray.hpp"
82 #include "jacobian.hpp"
83 
84 namespace KDL {
85 
88 
89 
90  // I/O to C++ stream.
91  std::ostream& operator << (std::ostream& os,const Vector& v);
92  std::ostream& operator << (std::ostream& os,const Rotation& R);
93  std::ostream& operator << (std::ostream& os,const Frame& T);
94  std::ostream& operator << (std::ostream& os,const Twist& T);
95  std::ostream& operator << (std::ostream& os,const Wrench& T);
96  std::ostream& operator << (std::ostream& os,const Vector2& v);
97  std::ostream& operator << (std::ostream& os,const Rotation2& R);
98  std::ostream& operator << (std::ostream& os,const Frame2& T);
99 
100 
101 
102  std::istream& operator >> (std::istream& is,Vector& v);
103  std::istream& operator >> (std::istream& is,Rotation& R);
104  std::istream& operator >> (std::istream& is,Frame& T);
105  std::istream& operator >> (std::istream& os,Twist& T);
106  std::istream& operator >> (std::istream& os,Wrench& T);
107  std::istream& operator >> (std::istream& is,Vector2& v);
108  std::istream& operator >> (std::istream& is,Rotation2& R);
109  std::istream& operator >> (std::istream& is,Frame2& T);
110 
111 
112 } // namespace Frame
113 
114 #endif
frames.hpp
jntarray.hpp
KDL
Definition: kukaLWR_DHnew.cpp:25
std::ostream
utility_io.h
KDL::operator>>
std::istream & operator>>(std::istream &is, Vector &v)
Definition: frames_io.cpp:154
KDL::operator<<
std::ostream & operator<<(std::ostream &os, const VectorAcc &r)
Definition: frameacc_io.hpp:49
jacobian.hpp
std::istream