This is the base class for parameters to configure and automate your VideoProcessors. More...
#include <foleys_ProcessorParameter.h>
Inheritance diagram for ProcessorParameter:Classes | |
| class | Listener |
Public Member Functions | |
| ProcessorParameter (const juce::Identifier ¶mID, const juce::String &name) | |
| This defines a parameter to be used in Processors like the VideoProcessor. | |
| virtual | ~ProcessorParameter ()=default |
| const juce::Identifier & | getParameterID () const |
| const juce::String & | getName () const |
| juce::NamedValueSet & | getProperties () |
| void | setParameterIndex (int index) |
| int | getParameterIndex () const |
| virtual const int | getNumSteps () const =0 |
| virtual double * | getRawParameterValue ()=0 |
| virtual double | getNormalisedValue () const =0 |
| virtual double | getRealValue () const =0 |
| virtual double | normaliseValue (double unnormalised) const =0 |
| virtual double | unNormaliseValue (double normalised) const =0 |
| virtual double | getDefaultValue () const =0 |
| Returns the default value in normalised for the automation to initialise. | |
| virtual void | setNormalisedValue (double value)=0 |
| virtual void | setRealValue (double value)=0 |
| virtual juce::String | getText (float normalisedValue, int numDigits=0) const =0 |
| virtual double | getValueForText (const juce::String &text) const =0 |
| void | beginGesture () |
| void | endGesture () |
| bool | isGestureInProgress () const |
| void | addListener (Listener *listener) |
| void | removeListener (Listener *listener) |
| void | sendUpdateNotification () |
This is the base class for parameters to configure and automate your VideoProcessors.
| ProcessorParameter | ( | const juce::Identifier & | paramID, |
| const juce::String & | name | ||
| ) |
This defines a parameter to be used in Processors like the VideoProcessor.
| paramID | an unique identifier for host and your processor to identify the parameter |
| name | the name the host will use to display the automation |
|
virtualdefault |
| const juce::Identifier & getParameterID | ( | ) | const |
| const juce::String & getName | ( | ) | const |
Referenced by VideoParameterAutomation::getName().
| juce::NamedValueSet & getProperties | ( | ) |
Referenced by VideoParameterAutomation::getParameterProperties().
| void setParameterIndex | ( | int | index | ) |
| int getParameterIndex | ( | ) | const |
Referenced by VideoParameterAutomation::getParameterIndex().
|
pure virtual |
Implemented in ProcessorParameterFloat.
Referenced by VideoParameterAutomation::getNumSteps().
|
pure virtual |
Implemented in ProcessorParameterFloat.
|
pure virtual |
Implemented in ProcessorParameterFloat.
|
pure virtual |
Implemented in ProcessorParameterFloat.
Referenced by ProcessorParameter::sendUpdateNotification().
|
pure virtual |
|
pure virtual |
Implemented in ProcessorParameterFloat.
Referenced by VideoParameterAutomation::getRealValueForTime().
|
pure virtual |
Returns the default value in normalised for the automation to initialise.
Implemented in ProcessorParameterFloat.
|
pure virtual |
Implemented in ProcessorParameterFloat.
Referenced by VideoParameterAutomation::updateProcessor().
|
pure virtual |
Implemented in ProcessorParameterFloat.
|
pure virtual |
Implemented in ProcessorParameterFloat.
Referenced by VideoParameterAutomation::getText().
|
pure virtual |
Implemented in ProcessorParameterFloat.
Referenced by VideoParameterAutomation::getValueForText().
| void beginGesture | ( | ) |
References ProcessorParameter::Listener::gestureStarted().
| void endGesture | ( | ) |
References ProcessorParameter::Listener::gestureFinished().
| bool isGestureInProgress | ( | ) | const |
| void addListener | ( | Listener * | listener | ) |
Referenced by VideoParameterAutomation::VideoParameterAutomation().
| void removeListener | ( | Listener * | listener | ) |
Referenced by VideoParameterAutomation::~VideoParameterAutomation().
| void sendUpdateNotification | ( | ) |