|
VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
|
extension to IValue for a non continous value with discrete steps More...
#include <ivalue.h>
Inheritance diagram for IStepValue:Public Types | |
| using | StepType = uint32_t |
Public Member Functions | |
| virtual StepType | getSteps () const =0 |
| Get number of steps. More... | |
| virtual IValue::Type | stepToValue (StepType step) const =0 |
| Convert step to normalized value. More... | |
| virtual StepType | valueToStep (IValue::Type) const =0 |
| Convert normalized value to step. More... | |
Public Member Functions inherited from Interface | |
| virtual | ~Interface () noexcept |
| Interface ()=default | |
| Interface (const Interface &)=delete | |
| Interface (Interface &&)=delete | |
| Interface & | operator= (const Interface &)=delete |
| Interface & | operator= (Interface &&)=delete |
| template<typename T > | |
| const auto | dynamicCast () const |
| template<typename T > | |
| auto | dynamicCast () |
Static Public Attributes | |
| static constexpr StepType | InvalidStep = std::numeric_limits<uint32_t>::max () |
extension to IValue for a non continous value with discrete steps
| using StepType = uint32_t |
|
pure virtual |
Get number of steps.
|
pure virtual |
Convert step to normalized value.
|
pure virtual |
Convert normalized value to step.
|
staticconstexpr |