Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Tools/Debugging/GenericDebugData.cpp

Go to the documentation of this file.
00001 /**
00002 * @file GenericDebugData.cpp
00003 *
00004 * Implementation of class GenericDebugData.
00005 */
00006 
00007 #include "GenericDebugData.h"
00008 #
00009 GenericDebugData::GenericDebugData()
00010 { }
00011 GenericDebugData::~GenericDebugData()
00012 { }
00013 
00014 In& operator>>(In& stream, GenericDebugData& d)
00015 {
00016   int id; // = (int )d.id; 
00017   stream >> id;
00018   d.id = (GenericDebugData::GenericDebugDataID ) id;
00019 
00020   for(int i = 0; i < 10; i++)
00021   {
00022     stream >> d.data[i];
00023   }
00024 
00025   return stream;
00026 }
00027 
00028 Out& operator<<(Out& stream, GenericDebugData& d)
00029 {
00030   int id = (int )d.id; 
00031   stream << id;
00032 
00033   for(int i = 0; i < 10; i++)
00034   {
00035     stream << d.data[i];
00036   }
00037 
00038   return stream;
00039 }
00040 
00041 
00042 /*
00043  * Change log :
00044  * 
00045  * $Log: GenericDebugData.cpp,v $
00046  * Revision 1.1.1.1  2004/05/22 17:36:05  cvsadm
00047  * created new repository GT2004_WM
00048  *
00049  * Revision 1.1  2003/10/07 10:13:22  cvsadm
00050  * Created GT2004 (M.J.)
00051  *
00052  * Revision 1.1  2003/09/26 11:40:40  juengel
00053  * - sorted tools
00054  * - clean-up in DataTypes
00055  *
00056  * Revision 1.1.1.1  2003/07/02 09:40:22  cvsadm
00057  * created new repository for the competitions in Padova from the 
00058  * tamara CVS (Tuesday 2:00 pm)
00059  *
00060  * removed unused solutions
00061  *
00062  * Revision 1.2  2003/01/17 12:48:18  jhoffman
00063  * added GenericDebugData
00064  * changes to the TestDataGenerator towards using sliders, min/max, and other cool stuff
00065  *
00066  * Revision 1.1  2003/01/16 09:54:49  jhoffman
00067  * Added "Generic Debug Data" data type. This can be used
00068  * for quick and dirty optimization and debugging, e.g. to send
00069  * parameters to a module through WLAN to adjust it's settings.
00070  * The DebugMessageGenerator is used to for parsing and
00071  * sendig the data
00072  *
00073  * Revision 1.11  2002/12/13 09:54:42  jhoffman
00074  * walking engine now performes walk-like motions, but still not fully functional
00075  *
00076  * Revision 1.10  2002/12/10 16:07:05  dueffert
00077  * Fourier working now
00078  *
00079  * Revision 1.9  2002/12/10 10:47:04  jhoffman
00080  * debugged and pretty much working
00081  *
00082  * Revision 1.8  2002/12/09 15:24:06  dueffert
00083  * some optimisation
00084  *
00085  * Revision 1.7  2002/12/09 14:15:40  jhoffman
00086  * no message
00087  *
00088  * Revision 1.6  2002/12/04 12:21:18  jhoffman
00089  * no message
00090  *
00091  * Revision 1.5  2002/11/22 13:42:08  dueffert
00092  * cleanup
00093  *
00094  * Revision 1.4  2002/11/22 13:41:21  loetzsch
00095  * - removed the GenericDebugData::loadLegs and ::saveLegs functions
00096  *   (streaming operators are now used)
00097  * - .fcb files have text format now
00098  * . moved the .fcb files from /Config to /Config/Fourier
00099  *
00100  * Revision 1.3  2002/11/19 17:14:14  risler
00101  * coding conventions: renamed JointData::joint to JointID, GetName to getName
00102  *
00103  * Revision 1.2  2002/09/22 18:40:54  risler
00104  * added new math functions, removed GTMath library
00105  *
00106  * Revision 1.1  2002/09/10 15:26:40  cvsadm
00107  * Created new project GT2003 (M.L.)
00108  * - Cleaned up the /Src/DataTypes directory
00109  * - Removed Challenge Code
00110  * - Removed processing of incoming audio data
00111  * - Renamed AcousticMessage to SoundRequest
00112  *
00113  * Revision 1.2  2002/07/23 13:32:57  loetzsch
00114  * new streaming classes
00115  *
00116  * removed many #include statements
00117  *
00118  * Revision 1.1.1.1  2002/05/10 12:40:13  cvsadm
00119  * Moved GT2002 Project from ute to tamara.
00120  *
00121  * Revision 1.10  2002/05/02 12:12:33  kallnik
00122  * GTMath
00123  *
00124  * Revision 1.9  2002/04/25 14:50:37  kallnik
00125  * changed double/float to double
00126  * added several #include GTMath
00127  *
00128  * PLEASE use double
00129  *
00130  * Revision 1.8  2002/04/23 15:00:06  jhoffman
00131  * changes and additions
00132  *
00133  * Revision 1.7  2002/04/03 16:44:31  jhoffman
00134  * added "stabilizeRobot" to motionControl (which is turned off as a default)
00135  *
00136  * Revision 1.4  2002/03/19 13:23:50  jhoffman
00137  * no message
00138  *
00139  * Revision 1.3  2002/03/19 12:11:14  jhoffman
00140  * extended functionality (synth, load, save, ...)
00141  *
00142  * Revision 1.2  2002/03/12 14:10:48  jhoffman
00143  * added fourier synthesis functionality which calculates the FT from the coefficients
00144  *
00145  * Revision 1.1  2002/01/26 20:22:52  juengel
00146  * no message
00147  *
00148  *
00149  */
00150 

Generated on Thu Sep 23 19:57:37 2004 for GT2004 by doxygen 1.3.6