|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Public Member Functions | |
| ChoiceRemapperValueSource (const Value &source, const Array< var > &map) | |
| var | getValue () const override |
| Returns the current value of this object. | |
| void | setValue (const var &newValue) override |
| Changes the current value. | |
Public Member Functions inherited from juce::Value::ValueSource | |
| void | sendChangeMessage (bool dispatchSynchronously) |
| Delivers a change message to all the listeners that are registered with this value. | |
Public Member Functions inherited from juce::ReferenceCountedObject | |
| void | incReferenceCount () noexcept |
| Increments the object's reference count. | |
| void | decReferenceCount () noexcept |
| Decreases the object's reference count. | |
| bool | decReferenceCountWithoutDeleting () noexcept |
| Decreases the object's reference count. | |
| int | getReferenceCount () const noexcept |
| Returns the object's current reference count. | |
Protected Member Functions | |
| void | valueChanged (Value &) override |
| Called when a Value object is changed. | |
Protected Member Functions inherited from juce::ReferenceCountedObject | |
| ReferenceCountedObject ()=default | |
| Creates the reference-counted object (with an initial ref count of zero). | |
| ReferenceCountedObject (const ReferenceCountedObject &) noexcept | |
| Copying from another object does not affect this one's reference-count. | |
| ReferenceCountedObject (ReferenceCountedObject &&) noexcept | |
| Copying from another object does not affect this one's reference-count. | |
| ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
| Copying from another object does not affect this one's reference-count. | |
| ReferenceCountedObject & | operator= (ReferenceCountedObject &&) noexcept |
| Copying from another object does not affect this one's reference-count. | |
| virtual | ~ReferenceCountedObject () |
| Destructor. | |
| void | resetReferenceCount () noexcept |
| Resets the reference count to zero without deleting the object. | |
Protected Attributes | |
| Value | sourceValue |
| Array< var > | mappings |
Protected Attributes inherited from juce::Value::ValueSource | |
| SortedSet< Value * > | valuesWithListeners |
Definition at line 30 of file juce_ChoicePropertyComponent.cpp.
| juce::ChoiceRemapperValueSource::ChoiceRemapperValueSource | ( | const Value & | source, |
| const Array< var > & | map | ||
| ) |
Definition at line 34 of file juce_ChoicePropertyComponent.cpp.
|
overridevirtual |
Returns the current value of this object.
Implements juce::Value::ValueSource.
Definition at line 41 of file juce_ChoicePropertyComponent.cpp.
Changes the current value.
This must also trigger a change message if the value actually changes.
Implements juce::Value::ValueSource.
Definition at line 52 of file juce_ChoicePropertyComponent.cpp.
Called when a Value object is changed.
Note that the Value object passed as a parameter may not be exactly the same object that you registered the listener with - it might be a copy that refers to the same underlying ValueSource. To find out, you can call Value::refersToSameSourceAs().
Implements juce::Value::Listener.
Definition at line 64 of file juce_ChoicePropertyComponent.cpp.
Definition at line 62 of file juce_ChoicePropertyComponent.cpp.
|
protected |
Definition at line 61 of file juce_ChoicePropertyComponent.cpp.