Orocos KDL
rall1d_io.h
1/*****************************************************************************
2 * \file
3 * provides I/O operations on Rall1d
4 *
5 * \author
6 * Erwin Aertbelien, Div. PMA, Dep. of Mech. Eng., K.U.Leuven
7 *
8 * \version
9 * ORO_Geometry V0.2
10 *
11 * \par History
12 * - $log$
13 *
14 * \par Release
15 * $Id: rall1d_io.h,v 1.1.1.1 2002/08/26 14:14:21 rmoreas Exp $
16 * $Name: $
17 ****************************************************************************/
18#ifndef Rall_IO_H
19#define Rall_IO_H
20
21#include <typeinfo>
22#include "utility_io.h"
23#include "rall1d.h"
24
25namespace KDL {
26
27template <class T,class V,class S>
28inline std::ostream& operator << (std::ostream& os,const Rall1d<T,V,S>& r)
29 {
30 os << "Rall1d<" << typeid(T).name() << ", "<< typeid(V).name() << ", " << typeid(S).name() << ">(" << r.t <<"," << r.grad <<")";
31 return os;
32 }
33
34
35}
36
37
38#endif
Definition rall1d.h:50
V grad
gradient
Definition rall1d.h:57
T t
value
Definition rall1d.h:56
Definition articulatedbodyinertia.hpp:32
std::ostream & operator<<(std::ostream &os, const VectorAcc &r)
Definition frameacc_io.hpp:32