RangeMapper Class Reference

#include <RangeMapper.h>

Inherited by LinearRangeMapper, LogRangeMapper, PlaySpeedRangeMapper, and SpectrogramRangeMapper.

Inheritance diagram for RangeMapper:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 22 of file RangeMapper.h.

Public Member Functions

virtual ~RangeMapper ()
virtual int getPositionForValue (float value) const =0
virtual float getValueForPosition (int position) const =0
virtual QString getUnit () const


Constructor & Destructor Documentation

virtual RangeMapper::~RangeMapper (  )  [inline, virtual]

Definition at line 25 of file RangeMapper.h.


Member Function Documentation

virtual int RangeMapper::getPositionForValue ( float  value  )  const [pure virtual]

Implemented in PlaySpeedRangeMapper, LinearRangeMapper, LogRangeMapper, and SpectrogramRangeMapper.

Referenced by PropertyContainer::convertPropertyStrings(), PluginParameterBox::populate(), AudioDial::setDefaultMappedValue(), Thumbwheel::setMappedValue(), and AudioDial::setMappedValue().

virtual float RangeMapper::getValueForPosition ( int  position  )  const [pure virtual]

Implemented in PlaySpeedRangeMapper, LinearRangeMapper, LogRangeMapper, and SpectrogramRangeMapper.

Referenced by Thumbwheel::mouseDoubleClickEvent(), AudioDial::mouseDoubleClickEvent(), and AudioDial::setDefaultValue().

virtual QString RangeMapper::getUnit (  )  const [inline, virtual]

Reimplemented in PlaySpeedRangeMapper, LinearRangeMapper, LogRangeMapper, and SpectrogramRangeMapper.

Definition at line 28 of file RangeMapper.h.

Referenced by Thumbwheel::mouseDoubleClickEvent(), AudioDial::mouseDoubleClickEvent(), PropertyBox::updateContextHelp(), Thumbwheel::updateMappedValue(), and AudioDial::updateMappedValue().


The documentation for this class was generated from the following file:
Generated on Wed Feb 20 15:45:35 2008 for SonicVisualiser by  doxygen 1.5.1