00001 /** 00002 * @file HeadControlMode.cpp 00003 * 00004 * Based on old implementation of HeadControlMode from GT2001 00005 * 00006 * Implementation of class HeadControlMode 00007 * Stores head modes requested by BehaviorControl 00008 * 00009 * @author Matthias Juengel 00010 * @author Nils Koschmieder 00011 */ 00012 00013 #include "HeadControlMode.h" 00014 00015 00016 HeadControlMode::HeadControlMode() 00017 : headControlMode(none), directTilt(0), directPan(0), directRoll(0), directSpeed(400), directMouth(0) 00018 { 00019 } 00020 00021 HeadControlMode::~HeadControlMode() 00022 { 00023 } 00024 00025 In& operator>>(In& stream,HeadControlMode& headControlMode) 00026 { 00027 stream.read(&headControlMode,sizeof(HeadControlMode)); 00028 return stream; 00029 } 00030 00031 Out& operator<<(Out& stream, const HeadControlMode& headControlMode) 00032 { 00033 stream.write(&headControlMode,sizeof(HeadControlMode)); 00034 return stream; 00035 } 00036 00037 /* 00038 * Change log : 00039 * 00040 * $Log: HeadControlMode.cpp,v $ 00041 * Revision 1.2 2004/05/23 12:08:26 loetzsch 00042 * clean up in class HeadControlMode 00043 * 00044 * Revision 1.1.1.1 2004/05/22 17:25:16 cvsadm 00045 * created new repository GT2004_WM 00046 * 00047 * Revision 1.2 2004/01/07 04:09:44 richert 00048 * added HeadControlMode "direct" 00049 * 00050 * Revision 1.1 2003/10/07 10:07:01 cvsadm 00051 * Created GT2004 (M.J.) 00052 * 00053 * Revision 1.2 2003/07/30 14:57:13 dueffert 00054 * initialization of member variables added 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 2002/10/14 13:14:24 dueffert 00063 * doxygen comments corrected 00064 * 00065 * Revision 1.1 2002/09/10 15:26:40 cvsadm 00066 * Created new project GT2003 (M.L.) 00067 * - Cleaned up the /Src/DataTypes directory 00068 * - Removed Challenge Code 00069 * - Removed processing of incoming audio data 00070 * - Renamed AcousticMessage to SoundRequest 00071 * 00072 * Revision 1.1.1.1 2002/05/10 12:40:13 cvsadm 00073 * Moved GT2002 Project from ute to tamara. 00074 * 00075 * Revision 1.6 2002/01/23 23:25:32 roefer 00076 * SimGT2002 console now accepts input 00077 * 00078 * Revision 1.5 2001/12/10 17:47:05 risler 00079 * change log added 00080 * 00081 */