Video display and composing engine for JUCE
Loading...
Searching...
No Matches
ProcessorParameter Class Referenceabstract

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 &paramID, 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 ()
 

Detailed Description

This is the base class for parameters to configure and automate your VideoProcessors.

Constructor & Destructor Documentation

◆ ProcessorParameter()

ProcessorParameter ( const juce::Identifier &  paramID,
const juce::String &  name 
)

This defines a parameter to be used in Processors like the VideoProcessor.

Parameters
paramIDan unique identifier for host and your processor to identify the parameter
namethe name the host will use to display the automation

◆ ~ProcessorParameter()

virtual ~ProcessorParameter ( )
virtualdefault

Member Function Documentation

◆ getParameterID()

const juce::Identifier & getParameterID ( ) const

◆ getName()

const juce::String & getName ( ) const

◆ getProperties()

juce::NamedValueSet & getProperties ( )

◆ setParameterIndex()

void setParameterIndex ( int  index)

◆ getParameterIndex()

int getParameterIndex ( ) const

◆ getNumSteps()

virtual const int getNumSteps ( ) const
pure virtual

◆ getRawParameterValue()

virtual double * getRawParameterValue ( )
pure virtual

Implemented in ProcessorParameterFloat.

◆ getNormalisedValue()

virtual double getNormalisedValue ( ) const
pure virtual

Implemented in ProcessorParameterFloat.

◆ getRealValue()

virtual double getRealValue ( ) const
pure virtual

◆ normaliseValue()

◆ unNormaliseValue()

virtual double unNormaliseValue ( double  normalised) const
pure virtual

◆ getDefaultValue()

virtual double getDefaultValue ( ) const
pure virtual

Returns the default value in normalised for the automation to initialise.

Implemented in ProcessorParameterFloat.

◆ setNormalisedValue()

virtual void setNormalisedValue ( double  value)
pure virtual

◆ setRealValue()

virtual void setRealValue ( double  value)
pure virtual

Implemented in ProcessorParameterFloat.

◆ getText()

virtual juce::String getText ( float  normalisedValue,
int  numDigits = 0 
) const
pure virtual

◆ getValueForText()

virtual double getValueForText ( const juce::String &  text) const
pure virtual

◆ beginGesture()

void beginGesture ( )

◆ endGesture()

void endGesture ( )

◆ isGestureInProgress()

bool isGestureInProgress ( ) const

◆ addListener()

void addListener ( Listener listener)

◆ removeListener()

void removeListener ( Listener listener)

◆ sendUpdateNotification()


The documentation for this class was generated from the following files: