Jamba
3.2.0
|
#include <GUIVstParameter.h>
Classes | |
class | Editor |
Public Types | |
using | ParamType = T |
Public Member Functions | |
std::unique_ptr< FObjectCx > | connect (Parameters::IChangeListener *iChangeListener) const |
std::unique_ptr< FObjectCx > | connect (Parameters::ChangeCallback iChangeCallback) const |
std::unique_ptr< Editor > | edit () |
std::unique_ptr< Editor > | edit (ParamType iValue) |
ParamValue | getNormalizedValue () const |
ParamID | getParamID () const |
int32 | getStepCount () const |
ParamType | getValue () const |
GUIVstParameter (std::shared_ptr< GUIRawVstParameter > iRawParameter, std::shared_ptr< VstParamDef< T >> iVstParamDef) | |
tresult | setNormalizedValue (ParamValue const &iNormalizedValue) |
tresult | setValue (ParamType const &iValue) |
void | toString (String128 oString) |
String | toString () |
~GUIVstParameter () | |
Private Attributes | |
std::shared_ptr< GUIRawVstParameter > | fRawParameter |
std::shared_ptr< VstParamDef< T > > | fVstParamDef |
This class wraps a GUIRawVstParameter to deal with any type T
using pongasoft::VST::GUI::Params::GUIVstParameter< T >::ParamType = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Shortcut to create an editor and set the value to it
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets the value of this parameter as a normalized value. Note that this is "transactional" and if you want to make further changes that spans multiple calls (ex: onMouseDown / onMouseMoved / onMouseUp) you should use an editor
|
inline |
Sets the value of this parameter. Note that this is "transactional" and if you want to make further changes that spans multiple calls (ex: onMouseDown / onMouseMoved / onMouseUp) you should use an editor
|
inline |
Populates the oString with a string representation of this parameter
|
inline |
Returns a string representation of this parameter
|
private |
|
private |