Jamba  3.0.2
pongasoft::VST::PercentParamConverter Class Reference

#include <ParamConverters.h>

Inherits pongasoft::VST::IParamConverter< Percent >.

Public Member Functions

double denormalize (ParamValue iNormalizedValue) const override
 
ParamValue normalize (double const &iValue) const override
 
void toString (ParamType const &iValue, String128 oString, int32 iPrecision) const override
 
- Public Member Functions inherited from pongasoft::VST::IParamConverter< Percent >
virtual int getStepCount () const
 
virtual std::string toString (ParamType const &iValue, int32 iPrecision) const
 

Additional Inherited Members

- Public Types inherited from pongasoft::VST::IParamConverter< Percent >
using ParamType = Percent
 

Detailed Description

A trivial percent converter. The toString method returns the value as a percentage (precision is used to adjust how many digits to use for display)

Member Function Documentation

◆ denormalize()

double pongasoft::VST::PercentParamConverter::denormalize ( ParamValue  iNormalizedValue) const
inlineoverridevirtual

◆ normalize()

ParamValue pongasoft::VST::PercentParamConverter::normalize ( double const &  iValue) const
inlineoverridevirtual

◆ toString()

void pongasoft::VST::PercentParamConverter::toString ( ParamType const &  iValue,
String128  oString,
int32  iPrecision 
) const
inlineoverridevirtual

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