#include <PlaySpeedRangeMapper.h>
Inherits RangeMapper.
Inheritance diagram for PlaySpeedRangeMapper:


Definition at line 21 of file PlaySpeedRangeMapper.h.
Public Member Functions | |
| PlaySpeedRangeMapper (int minpos, int maxpos) | |
| virtual int | getPositionForValue (float value) const |
| virtual float | getValueForPosition (int position) const |
| int | getPositionForFactor (float factor) const |
| float | getValueForFactor (float factor) const |
| float | getFactorForPosition (int position) const |
| float | getFactorForValue (float value) const |
| virtual QString | getUnit () const |
Protected Attributes | |
| int | m_minpos |
| int | m_maxpos |
| PlaySpeedRangeMapper::PlaySpeedRangeMapper | ( | int | minpos, | |
| int | maxpos | |||
| ) |
Definition at line 21 of file PlaySpeedRangeMapper.cpp.
| int PlaySpeedRangeMapper::getPositionForValue | ( | float | value | ) | const [virtual] |
Implements RangeMapper.
Definition at line 28 of file PlaySpeedRangeMapper.cpp.
References getFactorForValue(), and getPositionForFactor().
| float PlaySpeedRangeMapper::getValueForPosition | ( | int | position | ) | const [virtual] |
Implements RangeMapper.
Definition at line 60 of file PlaySpeedRangeMapper.cpp.
References getFactorForPosition(), and getValueForFactor().
| int PlaySpeedRangeMapper::getPositionForFactor | ( | float | factor | ) | const |
Definition at line 37 of file PlaySpeedRangeMapper.cpp.
References m_maxpos, and m_minpos.
Referenced by getPositionForValue().
| float PlaySpeedRangeMapper::getValueForFactor | ( | float | factor | ) | const |
| float PlaySpeedRangeMapper::getFactorForPosition | ( | int | position | ) | const |
Definition at line 95 of file PlaySpeedRangeMapper.cpp.
References m_maxpos, and m_minpos.
Referenced by getValueForPosition().
| float PlaySpeedRangeMapper::getFactorForValue | ( | float | value | ) | const |
Definition at line 78 of file PlaySpeedRangeMapper.cpp.
Referenced by getPositionForValue(), and MainWindow::playSpeedChanged().
| QString PlaySpeedRangeMapper::getUnit | ( | ) | const [virtual] |
int PlaySpeedRangeMapper::m_minpos [protected] |
Definition at line 38 of file PlaySpeedRangeMapper.h.
Referenced by getFactorForPosition(), and getPositionForFactor().
int PlaySpeedRangeMapper::m_maxpos [protected] |
Definition at line 39 of file PlaySpeedRangeMapper.h.
Referenced by getFactorForPosition(), and getPositionForFactor().
1.5.1