#include <qwavpeakupdater.h>
Inheritance diagram for QwavPeakUpdater:
Public Methods | |
virtual | ~QwavPeakUpdater () |
virtual void | updatePeaks (QwavPeakVector *pv)=0 |
virtual string | getName () const=0 |
Protected Methods | |
QwavPeakUpdater () |
The calculates PeakInfo's are needed for fast waveform-drawing.
Subclasses have to implement the updatePeaks() method to do the work.
The getName() method has to be implemented to return an unique name for this strategy (use the classname here). This is mostly used for debugging.
|
Destructor |
|
Standard constructor. |
|
Returns the name of this QwavPeakUpdater. This is mainly used for debugging.
Implemented in QwavDefaultPeakUpdater, and QwavStereoPeakUpdater. |
|
The updatePeaks() method is the working function of this class. It implements the update algorithm to calculate PeakInfo for the waveform of pv.
Implemented in QwavDefaultPeakUpdater, and QwavStereoPeakUpdater. |