00001 /** 00002 * @file MotionInfo.cpp 00003 * 00004 * Implementation of class MotionInfo 00005 * 00006 * @author Martin Lötzsch 00007 * @author Max Risler 00008 */ 00009 00010 #include "MotionInfo.h" 00011 00012 MotionInfo::MotionInfo() 00013 :positionInWalkCycle(0) , bodyTilt(0), neckHeight(100), motionIsStable(true) 00014 { 00015 } 00016 00017 In& operator>>(In& stream,MotionInfo& motionInfo) 00018 { 00019 stream.read(&motionInfo,sizeof(MotionInfo)); 00020 return stream; 00021 } 00022 00023 Out& operator<<(Out& stream, const MotionInfo& motionInfo) 00024 { 00025 stream.write(&motionInfo,sizeof(MotionInfo)); 00026 return stream; 00027 } 00028 00029 00030 /* 00031 * Change log : 00032 * 00033 * $Log: MotionInfo.cpp,v $ 00034 * Revision 1.2 2004/05/26 17:54:07 juengel 00035 * Bug fixed. 00036 * 00037 * Revision 1.1 2004/05/26 15:17:15 loetzsch 00038 * added class MotionInfo 00039 * 00040 */