Jamba  3.0.2
pongasoft::VST::IParamConverter< T > Class Template Referenceabstract

#include <ParamConverters.h>

Public Types

using ParamType = T
 

Public Member Functions

virtual ParamType denormalize (ParamValue iNormalizedValue) const =0
 
virtual int getStepCount () const
 
virtual ParamValue normalize (ParamType const &iValue) const =0
 
virtual void toString (ParamType const &iValue, String128 iString, int32 iPrecision) const
 
virtual std::string toString (ParamType const &iValue, int32 iPrecision) const
 

Detailed Description

template<typename T>
class pongasoft::VST::IParamConverter< T >

A vst parameter is represented by a ParamValue type which is a double in the range [0,1]. This interface represents a converter which knows how to convert from this normalized value to any other kind of value (T)

Template Parameters
Tthe actual type that the vst parameter represents

Member Typedef Documentation

◆ ParamType

template<typename T>
using pongasoft::VST::IParamConverter< T >::ParamType = T

Member Function Documentation

◆ denormalize()

◆ getStepCount()

◆ normalize()

◆ toString() [1/2]

◆ toString() [2/2]

template<typename T>
virtual std::string pongasoft::VST::IParamConverter< T >::toString ( ParamType const &  iValue,
int32  iPrecision 
) const
inlinevirtual

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