Jamba
3.0.2
|
#include <GUIRawVstParameter.h>
Classes | |
class | Editor |
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 (ParamValue iValue) |
ParamID | getParamID () const |
ParamValue | getValue () const |
GUIRawVstParameter (ParamID iParamID, VstParametersSPtr iVstParameters) | |
tresult | setValue (ParamValue iValue) |
void | toString (String128 oString) |
String | toString () |
~GUIRawVstParameter ()=default | |
Private Attributes | |
ParamID | fParamID |
VstParametersSPtr | fVstParameters {} |
Encapsulates a vst parameter and how to access it (read/write) as well as how to "connect" to it in order to be notified of changes. This "raw" version deals with ParamValue which is the underlying type used by the vst sdk which is always a number in the range [0.0, 1.0]. The class VSTParameter deals with other types and automatic normalization/denormalization.
pongasoft::VST::GUI::Params::GUIRawVstParameter::GUIRawVstParameter | ( | ParamID | iParamID, |
VstParametersSPtr | iVstParameters | ||
) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Shortcut to create an editor and set the value to it
|
inline |
|
inline |
|
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 |