00001 /** 00002 * @file HeadMotionRequest.h 00003 * 00004 * Declaration of class HeadMotionRequest 00005 * 00006 * @author Matthias Juengel 00007 * @author Martin Lötzsch 00008 * @author Nils Koschmieder 00009 */ 00010 00011 #ifndef __HeadMotionRequest_h_ 00012 #define __HeadMotionRequest_h_ 00013 00014 #include "Tools/Streams/InOut.h" 00015 00016 /** 00017 * @class HeadMotionRequest 00018 * 00019 * Represents a motion request for the head. 00020 */ 00021 class HeadMotionRequest 00022 { 00023 public: 00024 /** requested head joint angles */ 00025 signed long tilt,pan,roll,mouth; 00026 00027 /** constructor */ 00028 HeadMotionRequest(); 00029 00030 /** destructor */ 00031 ~HeadMotionRequest(); 00032 00033 /** copies another HeadMotionRequest to this one */ 00034 void operator=(HeadMotionRequest& other); 00035 }; 00036 00037 00038 /** 00039 * Streaming operator that reads a HeadMotionRequest from a stream. 00040 * @param stream The stream from which is read. 00041 * @param headMotionRequest The HeadMotionRequest object. 00042 * @return The stream. 00043 */ 00044 In& operator>>(In& stream,HeadMotionRequest& headMotionRequest); 00045 00046 /** 00047 * Streaming operator that writes a HeadMotionRequest to a stream. 00048 * @param stream The stream to write on. 00049 * @param headMotionRequest The HeadMotionRequest object. 00050 * @return The stream. 00051 */ 00052 Out& operator<<(Out& stream, const HeadMotionRequest& headMotionRequest); 00053 00054 00055 00056 #endif //__HeadMotionRequest_h_ 00057 00058 /* 00059 * Change log : 00060 * 00061 * $Log: HeadMotionRequest.h,v $ 00062 * Revision 1.1.1.1 2004/05/22 17:25:17 cvsadm 00063 * created new repository GT2004_WM 00064 * 00065 * Revision 1.1 2003/10/07 10:07:01 cvsadm 00066 * Created GT2004 (M.J.) 00067 * 00068 * Revision 1.1.1.1 2003/07/02 09:40:22 cvsadm 00069 * created new repository for the competitions in Padova from the 00070 * tamara CVS (Tuesday 2:00 pm) 00071 * 00072 * removed unused solutions 00073 * 00074 * Revision 1.2 2003/04/01 17:43:37 roefer 00075 * Mouth added to HeadMotionRequest 00076 * 00077 * Revision 1.1 2002/09/10 15:26:40 cvsadm 00078 * Created new project GT2003 (M.L.) 00079 * - Cleaned up the /Src/DataTypes directory 00080 * - Removed Challenge Code 00081 * - Removed processing of incoming audio data 00082 * - Renamed AcousticMessage to SoundRequest 00083 * 00084 * Revision 1.2 2002/07/23 13:32:57 loetzsch 00085 * new streaming classes 00086 * 00087 * removed many #include statements 00088 * 00089 * Revision 1.1.1.1 2002/05/10 12:40:13 cvsadm 00090 * Moved GT2002 Project from ute to tamara. 00091 * 00092 * Revision 1.6 2001/12/10 17:47:05 risler 00093 * change log added 00094 * 00095 */