Jamba
3.1.0
|
#include <ParamConverters.h>
Inherits pongasoft::VST::IParamConverter< Enum >.
Public Types | |
using | IntType = std::underlying_type_t< Enum > |
using | ParamType = Enum |
Public Types inherited from pongasoft::VST::IParamConverter< Enum > | |
using | ParamType = Enum |
Public Member Functions | |
ParamType | denormalize (ParamValue iNormalizedValue) const override |
EnumParamConverter (IntType iToStringOffset=0) | |
EnumParamConverter (VstString16 iFormat, IntType iToStringOffset=0) | |
EnumParamConverter (std::array< VstString16, MaxValue+1 > const &iToStringValues) | |
int32 | getStepCount () const override |
ParamValue | normalize (ParamType const &iDiscreteValue) const override |
void | toString (ParamType const &iValue, String128 oString, int32 iPrecision) const override |
Public Member Functions inherited from pongasoft::VST::IParamConverter< Enum > | |
virtual std::string | toString (ParamType const &iValue, int32 iPrecision) const |
Private Attributes | |
DiscreteValueParamConverter< MaxValue, IntType > | fConverter |
A converter to deal with an enum (assumes that the enum is contiguous, starts at 0 and that MaxValue is the latest value in the enum)
using pongasoft::VST::EnumParamConverter< Enum, MaxValue >::IntType = std::underlying_type_t<Enum> |
using pongasoft::VST::EnumParamConverter< Enum, MaxValue >::ParamType = Enum |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineoverridevirtual |
Implements pongasoft::VST::IParamConverter< Enum >.
|
inlineoverridevirtual |
Reimplemented from pongasoft::VST::IParamConverter< Enum >.
|
inlineoverridevirtual |
Implements pongasoft::VST::IParamConverter< Enum >.
|
inlineoverridevirtual |
Reimplemented from pongasoft::VST::IParamConverter< Enum >.
|
private |