|
| | Kwidget_SAFilter (const String &id) |
| |
| | Kwidget (const String &kwidgetType, const String &kwidgetID) |
| |
| virtual | ~Kwidget ()=default |
| |
| void | init () |
| |
| std::unique_ptr< KwidgetProcessor > | createVoice () |
| |
| std::unique_ptr< KwidgetGUI > | createControls () |
| |
| KwidgetProcessor * | getVoice (int idx) const |
| |
| int | getNumVoices () const |
| |
| KwidgetProcessor * | getActiveVoice () const |
| |
| virtual void | noteOn (int voiceIdx, int midiNote, float velocity) |
| |
| virtual void | noteOff (int voiceIdx, float velocity) |
| |
| virtual void | noteCleared (int voiceIdx) |
| |
| virtual bool | isActive (int voiceIdx) |
| |
| void | addModulator (const String ¶mID, Kwidget *modulator, int modulatorIdx, float depth=0.99f, KAttachment::Polarity=KAttachment::Polarity::Bipolar) |
| |
| void | removeModulator (const String ¶mID, Kwidget *modulator, int modulatorIdx) |
| |
| void | setModulatorDepth (const String ¶mID, Kwidget *modulator, int modulatorIdx, float depth) |
| |
| void | setModulatorPolarity (const String ¶mID, Kwidget *modulator, int modulatorIdx, KAttachment::Polarity polarity) |
| |
| const std::vector< std::shared_ptr< KParameter > > & | getParameters () const |
| |
| KParameter * | getParameter (const String ¶meterID) const noexcept |
| | Get a raw pointer to a KParameter belonging to this Kwidget's KwidgetProcessor. Useful for low overhead direct parameter access.
|
| |
| std::shared_ptr< KParameter > | getParameterToAttach (const String ¶meterID) const noexcept |
| | Get a shared pointer to a KParameter, for use with KParameter::Listener objects and situations where the parameter lifetime goes beyond local scope.
|
| |
| CustomParameter * | getCustomParameter (const String ¶meterID) |
| |
| CustomParameterTree * | getCustomParameterTree (const Identifier &type) |
| | Get a CustomParameterTree belonging to this Kwidget.
|
| |
| template<typename T > |
| T * | getCustomParameter (const Identifier &type) |
| | Get the CustomParameterTree subclass object of the specified type.
|
| |
| void | notifyAllParametersListeners () |
| | Call every parameter's value changed listeners with their current values.
|
| |
| const ValueTree & | getState () |
| |
| virtual void | setState (const ValueTree &newState, KwidgetAudioProcessor &processor) |
| |
| void | flushState () |
| |
| bool | isModulator () const |
| |
| int | getNumModulators () const |
| |
| const String & | getKwidgetType () const |
| |
| const String & | getKwidgetID () const |
| |
| const String & | getKwidgetVersionFromCurrentState () const |
| |
| String | getKwidgetVersion () const |
| |
| virtual const String & | getKwidgetLabel () |
| |
| StringArray | getDragID (const String ¶meterID) |
| |
| virtual size_t | numGUIImplementations () |
| |
| virtual String | getGuiName (int) |
| |
| virtual void | createNestedKwidgets (KwidgetAudioProcessor &) |
| |
| bool | isAChildKwidget () |
| |
| std::vector< Kwidget * > & | getChildKwidgets () |
| |
| bool | isStateChanging () |
| |
| void | addChildKwidget (Kwidget *child) |
| |
| void | removeChildKwidgetFromTree (String kwidgetID) |
| |
| Kwidget * | findChildKwidget (String kiwdgetID) |
| |
| void | addParameterCallback (const String ¶mID, std::function< void(float)> callback) |
| |
| void | addVersionedParameterCallback (StringRef kwidgetVersionTheParameterChangedIn, const String ¶mID, std::function< void(float)> callback) |
| | Add an action to be performed when a specified parameter of a specific kwidget version changes value. This can be used to implement backwards compatibility when older versions of the kwidget state are loaded, and the parameters in newer versions may have been changed or removed.
|
| |
| int | getTemplateID () |
| |
| | ResourceLock () |
| |
| bool | requestAccess (const StringRef id) |
| | Called by a client to request access to the resource.
|
| |
| bool | hasAccess (const StringRef id) const |
| | Called by a client to enquire whether it has access to the resource.
|
| |
| void | finishedAccessing (const StringRef id) |
| | Called by a client to inform the resource that it no longer needs access.
|
| |
| void | setAccessible (bool isAccessible) |
| | Called by the resource to grant or deny access to clients.
|
| |