VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IStepValue Class Referenceabstract

extension to IValue for a non continous value with discrete steps More...

+ Inheritance diagram for IStepValue:

Public Types

using StepType = uint32_t
 

Public Member Functions

virtual StepType getSteps () const =0
 Get number of steps.
 
virtual IValue::Type stepToValue (StepType step) const =0
 Convert step to normalized value.
 
virtual StepType valueToStep (IValue::Type) const =0
 Convert normalized value to step.
 
- Public Member Functions inherited from Interface
virtual ~Interface () noexcept
 
 Interface ()=default
 
 Interface (const Interface &)=delete
 
 Interface (Interface &&)=delete
 
Interfaceoperator= (const Interface &)=delete
 
Interfaceoperator= (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 ()
 

Detailed Description

extension to IValue for a non continous value with discrete steps

Member Typedef Documentation

using StepType = uint32_t

Member Function Documentation

virtual StepType getSteps ( ) const
pure virtual

Get number of steps.

virtual IValue::Type stepToValue ( StepType  step) const
pure virtual

Convert step to normalized value.

virtual StepType valueToStep ( IValue::Type  ) const
pure virtual

Convert normalized value to step.

Member Data Documentation

constexpr StepType InvalidStep = std::numeric_limits<uint32_t>::max ()
static

The documentation for this class was generated from the following file: