00001 /** 00002 * @file JointDataBuffer.cpp 00003 * 00004 * Implementation of class JointDataBuffer 00005 * 00006 * @author Martin Lötzsch 00007 * @author Max Risler 00008 */ 00009 00010 #include "JointDataBuffer.h" 00011 00012 JointDataBuffer::JointDataBuffer() 00013 { 00014 } 00015 00016 In& operator>>(In& stream,JointDataBuffer& jointDataBuffer) 00017 { 00018 for (int i=0;i<jointDataBufferNumOfFrames;i++) 00019 { 00020 stream >> jointDataBuffer.frame[i]; 00021 } 00022 return stream; 00023 } 00024 00025 /** 00026 * Streaming operator that writes a JointDataBuffer to a stream. 00027 * @param stream The stream to write on. 00028 * @param jointDataBuffer The JointDataBuffer object. 00029 * @return The stream. 00030 */ 00031 Out& operator<<(Out& stream, const JointDataBuffer& jointDataBuffer) 00032 { 00033 for (int i=0;i<jointDataBufferNumOfFrames;i++) 00034 { 00035 stream << jointDataBuffer.frame[i]; 00036 } 00037 return stream; 00038 } 00039 00040 /* 00041 * Change log : 00042 * 00043 * $Log: JointDataBuffer.cpp,v $ 00044 * Revision 1.1.1.1 2004/05/22 17:25:18 cvsadm 00045 * created new repository GT2004_WM 00046 * 00047 * Revision 1.1 2003/10/07 10:07:01 cvsadm 00048 * Created GT2004 (M.J.) 00049 * 00050 * Revision 1.1.1.1 2003/07/02 09:40:22 cvsadm 00051 * created new repository for the competitions in Padova from the 00052 * tamara CVS (Tuesday 2:00 pm) 00053 * 00054 * removed unused solutions 00055 * 00056 * Revision 1.1 2002/09/10 15:26:40 cvsadm 00057 * Created new project GT2003 (M.L.) 00058 * - Cleaned up the /Src/DataTypes directory 00059 * - Removed Challenge Code 00060 * - Removed processing of incoming audio data 00061 * - Renamed AcousticMessage to SoundRequest 00062 * 00063 * Revision 1.1.1.1 2002/05/10 12:40:13 cvsadm 00064 * Moved GT2002 Project from ute to tamara. 00065 * 00066 * Revision 1.3 2001/12/12 18:08:55 loetzsch 00067 * Streaming- Operatoren für Bilder eingebaut, DebugKeyTable nicht- statisch gemacht, Debuggin Mechanismen weitergemacht, Bilder aus Logfiles in RobotControl anzeigen, Logfiles in HU1/Debug auf den Stick schreiben 00068 * 00069 * Revision 1.2 2001/12/10 17:47:05 risler 00070 * change log added 00071 * 00072 */