ASPiK SDK
VSTGUI::Standalone::IStepValue Class Referenceabstract

#include <ivalue.h>

Inheritance diagram for VSTGUI::Standalone::IStepValue:
VSTGUI::Interface

Public Types

using StepType = uint32_t
 

Public Member Functions

virtual StepType getSteps () const =0
 
virtual IValue::Type stepToValue (StepType step) const =0
 
virtual StepType valueToStep (IValue::Type) const =0
 
- Public Member Functions inherited from VSTGUI::Interface
 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 Function Documentation

◆ getSteps()

virtual StepType VSTGUI::Standalone::IStepValue::getSteps ( ) const
pure virtual

Get number of steps.

◆ stepToValue()

virtual IValue::Type VSTGUI::Standalone::IStepValue::stepToValue ( StepType  step) const
pure virtual

Convert step to normalized value.

◆ valueToStep()

virtual StepType VSTGUI::Standalone::IStepValue::valueToStep ( IValue::Type  ) const
pure virtual

Convert normalized value to step.


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