Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Representations/Sound/SoundData.h

Go to the documentation of this file.
00001 /**
00002  * @file SoundData.h
00003  *
00004  * Definition of SoundData.
00005  *
00006  * @author <a href="mailto:Oliver.Giese@uni-dortmund.de">Oliver Giese</a>
00007  * @author <a href="mailto:matthias.hebbel@uni-dortmund.de">Matthias Hebbel</a>
00008  *
00009  */
00010 
00011 #ifndef __SoundData_h_
00012 #define __SoundData_h_
00013 
00014 #include "Tools/Streams/InOut.h"
00015 
00016 /**
00017  * The SoundData is a non NDA violating description of Sound Vector data.
00018  */
00019 class SoundData
00020 {
00021 public:
00022   char pcmBuffer[256];
00023   bool isInUse;
00024 
00025  /**
00026   * constructs a SoundData.
00027   */ 
00028   SoundData();
00029   
00030   /**
00031    * deconstructs a SoundData.
00032    */
00033   ~SoundData();
00034 };
00035 
00036 /**
00037  * Streaming operator that reads the SoundData from a stream.
00038  * @param stream The stream from which is read.
00039  * @param soundData The SoundSendData object.
00040  * @return The stream.
00041  */ 
00042 In& operator>>(In& stream,SoundData& soundData);
00043  
00044 #endif //__SoundData_h_
00045 
00046 /*
00047  * Change log :
00048  * 
00049  * $Log: SoundData.h,v $
00050  * Revision 1.1.1.1  2004/05/22 17:26:04  cvsadm
00051  * created new repository GT2004_WM
00052  *
00053  * Revision 1.1  2003/10/07 10:09:36  cvsadm
00054  * Created GT2004 (M.J.)
00055  *
00056  * Revision 1.1.1.1  2003/07/02 09:40:23  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/11/28 23:04:28  hebbel
00063  * added variable isInUse
00064  *
00065  * Revision 1.1  2002/09/10 15:26:41  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.3  2002/08/22 14:41:03  risler
00073  * added some doxygen comments
00074  *
00075  * Revision 1.2  2002/07/23 13:32:57  loetzsch
00076  * new streaming classes
00077  *
00078  * removed many #include statements
00079  *
00080  * Revision 1.1.1.1  2002/05/10 12:40:13  cvsadm
00081  * Moved GT2002 Project from ute to tamara.
00082  *
00083  * Revision 1.1  2002/04/28 19:09:25  giese
00084  * SoundPlay added...
00085  *
00086  *
00087  *
00088  */

Generated on Thu Sep 23 19:57:36 2004 for GT2004 by doxygen 1.3.6