Jamba
3.0.2
|
#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 |
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)
T | the actual type that the vst parameter represents |
using pongasoft::VST::IParamConverter< T >::ParamType = T |
|
pure virtual |
Implemented in pongasoft::VST::EnumParamConverter< Enum, MaxValue >, pongasoft::VST::DiscreteValueParamConverter< StepCount >, pongasoft::VST::DiscreteValueParamConverter< MaxValue >, pongasoft::VST::PercentParamConverter, pongasoft::VST::BooleanParamConverter, and pongasoft::VST::RawParamConverter.
|
inlinevirtual |
|
pure virtual |
Implemented in pongasoft::VST::EnumParamConverter< Enum, MaxValue >, pongasoft::VST::DiscreteValueParamConverter< StepCount >, pongasoft::VST::DiscreteValueParamConverter< MaxValue >, pongasoft::VST::PercentParamConverter, pongasoft::VST::BooleanParamConverter, and pongasoft::VST::RawParamConverter.
|
inlinevirtual |
Reimplemented in pongasoft::VST::EnumParamConverter< Enum, MaxValue >, pongasoft::VST::DiscreteValueParamConverter< StepCount >, pongasoft::VST::DiscreteValueParamConverter< MaxValue >, pongasoft::VST::PercentParamConverter, pongasoft::VST::BooleanParamConverter, and pongasoft::VST::RawParamConverter.
|
inlinevirtual |