Jamba
3.1.0
|
#include <ParamDef.h>
Inherits pongasoft::VST::RawVstParamDef.
Public Types | |
using | ParamType = T |
Public Types inherited from pongasoft::VST::IParamDef | |
enum | Owner { Owner::kRT, Owner::kGUI } |
Public Member Functions | |
ParamType | denormalize (ParamValue iNormalizedValue) const |
ParamType | getDefaultValue () const |
ParamValue | normalize (ParamType const &iValue) const |
void | toString (ParamValue iNormalizedValue, String128 iString) const override |
VstParamDef (ParamID const iParamID, VstString16 iTitle, VstString16 iUnits, ParamType const iDefaultValue, int32 const iFlags, UnitID const iUnitID, VstString16 iShortTitle, int32 const iPrecision, Owner const iOwner, bool const iTransient, std::shared_ptr< IParamConverter< ParamType >> iConverter) | |
Public Member Functions inherited from pongasoft::VST::RawVstParamDef | |
RawVstParamDef (ParamID const iParamID, VstString16 iTitle, VstString16 iUnits, ParamValue const iDefaultNormalizedValue, int32 const iStepCount, int32 const iFlags, UnitID const iUnitID, VstString16 iShortTitle, int32 const iPrecision, Owner const iOwner, bool const iTransient) | |
ParamValue | readFromStream (IBStreamer &iStreamer) const |
Public Member Functions inherited from pongasoft::VST::IParamDef | |
IParamDef (ParamID const iParamID, VstString16 iTitle, Owner const iOwner, bool const iTransient) | |
Public Attributes | |
const std::shared_ptr< IParamConverter< ParamType > > | fConverter |
const ParamType | fDefaultValue |
Public Attributes inherited from pongasoft::VST::RawVstParamDef | |
const ParamValue | fDefaultValue |
const int32 | fFlags |
const int32 | fPrecision |
const VstString16 | fShortTitle |
const int32 | fStepCount |
const UnitID | fUnitID |
const VstString16 | fUnits |
Public Attributes inherited from pongasoft::VST::IParamDef | |
const Owner | fOwner |
const ParamID | fParamID |
const VstString16 | fTitle |
const bool | fTransient |
Typed parameter definition.
T | the underlying type of the param |
using pongasoft::VST::VstParamDef< T >::ParamType = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Using fConverter::toString
Reimplemented from pongasoft::VST::RawVstParamDef.
const std::shared_ptr<IParamConverter<ParamType> > pongasoft::VST::VstParamDef< T >::fConverter |
const ParamType pongasoft::VST::VstParamDef< T >::fDefaultValue |