00001 /** 00002 * @file HeadMotionRequest.cpp 00003 * 00004 * Based on old implementation of HeadMotionRequestStruct from GT2001 00005 * 00006 * Implementation of class HeadMotionRequest 00007 * Stores MotionRequests for the Head 00008 * 00009 * @author Matthias Juengel 00010 * @author Nils Koschmieder 00011 */ 00012 00013 #include "Tools/Streams/InOut.h" 00014 #include "HeadMotionRequest.h" 00015 00016 HeadMotionRequest::HeadMotionRequest() : tilt(0), pan(0), roll(0), mouth(0) 00017 { 00018 } 00019 00020 HeadMotionRequest::~HeadMotionRequest() 00021 { 00022 } 00023 00024 00025 In& operator>>(In& stream,HeadMotionRequest& headMotionRequest) 00026 { 00027 stream >> headMotionRequest.tilt 00028 >> headMotionRequest.pan 00029 >> headMotionRequest.roll 00030 >> headMotionRequest.mouth; 00031 return stream; 00032 } 00033 00034 Out& operator<<(Out& stream,const HeadMotionRequest& headMotionRequest) 00035 { 00036 stream << headMotionRequest.tilt 00037 << headMotionRequest.pan 00038 << headMotionRequest.roll 00039 << headMotionRequest.mouth; 00040 return stream; 00041 } 00042 00043 00044 /* 00045 * Change log : 00046 * 00047 * $Log: HeadMotionRequest.cpp,v $ 00048 * Revision 1.1.1.1 2004/05/22 17:25:17 cvsadm 00049 * created new repository GT2004_WM 00050 * 00051 * Revision 1.1 2003/10/07 10:07:01 cvsadm 00052 * Created GT2004 (M.J.) 00053 * 00054 * Revision 1.1.1.1 2003/07/02 09:40:22 cvsadm 00055 * created new repository for the competitions in Padova from the 00056 * tamara CVS (Tuesday 2:00 pm) 00057 * 00058 * removed unused solutions 00059 * 00060 * Revision 1.2 2003/04/01 17:43:37 roefer 00061 * Mouth added to HeadMotionRequest 00062 * 00063 * Revision 1.1 2002/09/10 15:26:40 cvsadm 00064 * Created new project GT2003 (M.L.) 00065 * - Cleaned up the /Src/DataTypes directory 00066 * - Removed Challenge Code 00067 * - Removed processing of incoming audio data 00068 * - Renamed AcousticMessage to SoundRequest 00069 * 00070 * Revision 1.2 2002/08/30 13:33:05 dueffert 00071 * removed unused includes 00072 * 00073 * Revision 1.1.1.1 2002/05/10 12:40:13 cvsadm 00074 * Moved GT2002 Project from ute to tamara. 00075 * 00076 * Revision 1.6 2001/12/10 17:47:05 risler 00077 * change log added 00078 * 00079 */