00001 /** 00002 * @file LEDValue.cpp 00003 * 00004 * Implementation of class LEDValue 00005 * 00006 * @author Martin Lötzsch 00007 * @author Max Risler 00008 */ 00009 00010 #include "LEDValue.h" 00011 00012 LEDValue::LEDValue() 00013 { 00014 for (int i = 0; i < jointDataBufferNumOfFrames; i++) 00015 data[i]=0; 00016 } 00017 00018 In& operator>>(In& stream,LEDValue& ledValue) 00019 { 00020 stream.read(&ledValue,sizeof(LEDValue)); 00021 return stream; 00022 } 00023 00024 Out& operator<<(Out& stream, const LEDValue& ledValue) 00025 { 00026 stream.write(&ledValue,sizeof(LEDValue)); 00027 return stream; 00028 } 00029 00030 00031 /* 00032 * Change log : 00033 * 00034 * $Log: LEDValue.cpp,v $ 00035 * Revision 1.1.1.1 2004/05/22 17:25:18 cvsadm 00036 * created new repository GT2004_WM 00037 * 00038 * Revision 1.1 2003/10/07 10:07:01 cvsadm 00039 * Created GT2004 (M.J.) 00040 * 00041 * Revision 1.1.1.1 2003/07/02 09:40:22 cvsadm 00042 * created new repository for the competitions in Padova from the 00043 * tamara CVS (Tuesday 2:00 pm) 00044 * 00045 * removed unused solutions 00046 * 00047 * Revision 1.1 2002/09/10 15:26:40 cvsadm 00048 * Created new project GT2003 (M.L.) 00049 * - Cleaned up the /Src/DataTypes directory 00050 * - Removed Challenge Code 00051 * - Removed processing of incoming audio data 00052 * - Renamed AcousticMessage to SoundRequest 00053 * 00054 * Revision 1.2 2002/08/26 17:13:26 dueffert 00055 * typo corrected 00056 * 00057 * Revision 1.1.1.1 2002/05/10 12:40:13 cvsadm 00058 * Moved GT2002 Project from ute to tamara. 00059 * 00060 * Revision 1.5 2002/05/07 05:49:56 dueffert 00061 * new LED handling implemented 00062 * 00063 * Revision 1.4 2001/12/10 17:47:05 risler 00064 * change log added 00065 * 00066 */