tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::AutomationCurveSource Class Reference
Inheritance diagram for tracktion::engine::AutomationCurveSource:
tracktion::engine::AutomationSource juce::ReferenceCountedObject

Public Member Functions

 AutomationCurveSource (AutomatableParameter &ap)
 
void triggerAsyncCurveUpdate ()
 
void updateInterpolatedPoints ()
 
bool isActive () const noexcept
 
float getValueAt (TimePosition time) override
 Must return the value of automation at the given time.
 
bool isEnabledAt (TimePosition) override
 Must return if the source is enabled at the given time.
 
void setPosition (TimePosition time) override
 Should set the position of the source to a specific time in the Edit.
 
bool isEnabled () override
 Should return true if the source is enabled at the current position.
 
float getCurrentValue () override
 Should return the current value of the source.
 
- Public Member Functions inherited from tracktion::engine::AutomationSource
 AutomationSource (const juce::ValueTree &v)
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 
void decReferenceCount () noexcept
 
bool decReferenceCountWithoutDeleting () noexcept
 
int getReferenceCount () const noexcept
 

Public Attributes

AutomatableParameterparameter
 
AutomationCurve curve
 
- Public Attributes inherited from tracktion::engine::AutomationSource
juce::ValueTree state
 

Additional Inherited Members

- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 
void resetReferenceCount () noexcept
 

Detailed Description

Definition at line 166 of file tracktion_AutomatableParameter.cpp.

Constructor & Destructor Documentation

◆ AutomationCurveSource()

tracktion::engine::AutomationCurveSource::AutomationCurveSource ( AutomatableParameter ap)

Definition at line 169 of file tracktion_AutomatableParameter.cpp.

Member Function Documentation

◆ getCurrentValue()

float tracktion::engine::AutomationCurveSource::getCurrentValue ( )
overridevirtual

Should return the current value of the source.

Implements tracktion::engine::AutomationSource.

Definition at line 253 of file tracktion_AutomatableParameter.cpp.

◆ getValueAt()

float tracktion::engine::AutomationCurveSource::getValueAt ( TimePosition  )
overridevirtual

Must return the value of automation at the given time.

This is called from the message thread and can be used for drawing etc. so shouldn't reposition the streams.

Implements tracktion::engine::AutomationSource.

Definition at line 224 of file tracktion_AutomatableParameter.cpp.

◆ isActive()

bool tracktion::engine::AutomationCurveSource::isActive ( ) const
noexcept

Definition at line 219 of file tracktion_AutomatableParameter.cpp.

◆ isEnabled()

bool tracktion::engine::AutomationCurveSource::isEnabled ( )
overridevirtual

Should return true if the source is enabled at the current position.

Implements tracktion::engine::AutomationSource.

Definition at line 248 of file tracktion_AutomatableParameter.cpp.

◆ isEnabledAt()

bool tracktion::engine::AutomationCurveSource::isEnabledAt ( TimePosition  )
overridevirtual

Must return if the source is enabled at the given time.

This is called from the message thread and can be used for drawing etc. so shouldn't reposition the streams.

Implements tracktion::engine::AutomationSource.

Definition at line 230 of file tracktion_AutomatableParameter.cpp.

◆ setPosition()

void tracktion::engine::AutomationCurveSource::setPosition ( TimePosition  )
overridevirtual

Should set the position of the source to a specific time in the Edit.

This must be thread safe as it could be called from multiple threads.

Implements tracktion::engine::AutomationSource.

Definition at line 235 of file tracktion_AutomatableParameter.cpp.

◆ triggerAsyncCurveUpdate()

void tracktion::engine::AutomationCurveSource::triggerAsyncCurveUpdate ( )

Definition at line 183 of file tracktion_AutomatableParameter.cpp.

◆ updateInterpolatedPoints()

void tracktion::engine::AutomationCurveSource::updateInterpolatedPoints ( )

Definition at line 189 of file tracktion_AutomatableParameter.cpp.

Member Data Documentation

◆ curve

AutomationCurve tracktion::engine::AutomationCurveSource::curve

Definition at line 260 of file tracktion_AutomatableParameter.cpp.

◆ parameter

AutomatableParameter& tracktion::engine::AutomationCurveSource::parameter

Definition at line 259 of file tracktion_AutomatableParameter.cpp.


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