Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

qwavpeakvectorsimulator.h

00001 /***************************************************************************
00002                           peakvectorsimulator.h  -  description
00003                              -------------------
00004     begin                : Fri Nov 15 2002
00005     copyright            : (C) 2002 by Peter Eschler
00006     email                : eschler@users.sourceforge.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef PEAKVECTORSIMULATOR_H
00019 #define PEAKVECTORSIMULATOR_H
00020 
00021 #include "qwavpeakvector.h"
00022 #include "qwavdefines.h"
00023 
00024 #include <iostream>
00025 
00026 using namespace std;
00027 
00028 
00033 Qwav_BEGIN_NAMESPACE
00034   
00035 class QWAV_EXPORTIMPORT PeakVectorSimulator : public QwavPeakVector
00036 {
00037     
00038 public: 
00039     PeakVectorSimulator();
00040     ~PeakVectorSimulator();
00041 
00042     inline const Float*     getData() const { cout << "Simulator: returning data\n" << flush; return _data; };
00043     inline uint             getNrOfSamples(void) const;
00044 
00046     void dump();
00047 private:
00048     static const Float  _data[];
00049           
00050 };
00051 
00052 
00053 uint PeakVectorSimulator::getNrOfSamples(void) const
00054 {
00055         return 16;
00056 }
00057 
00058 Qwav_END_NAMESPACE
00059 
00060 #endif

Generated on Mon Jan 20 00:24:54 2003 for Qwav by doxygen1.2.16