00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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