Jamba
3.0.2
|
#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, TChar const *const iTitle, TChar const *const iUnits, ParamType const iDefaultValue, int32 const iFlags, UnitID const iUnitID, TChar const *const 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, TChar const *const iTitle, TChar const *const iUnits, ParamValue const iDefaultNormalizedValue, int32 const iStepCount, int32 const iFlags, UnitID const iUnitID, TChar const *const 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, TChar const *const 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 TChar *const | fShortTitle |
const int32 | fStepCount |
const UnitID | fUnitID |
const TChar *const | fUnits |
Public Attributes inherited from pongasoft::VST::IParamDef | |
const Owner | fOwner |
const ParamID | fParamID |
const TChar *const | 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 |