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::AutomationSource Struct Referenceabstract
Inheritance diagram for tracktion::engine::AutomationSource:
juce::ReferenceCountedObject tracktion::engine::AutomationCurveSource tracktion::engine::AutomationModifierSource tracktion::engine::MacroSource tracktion::engine::ModifierAutomationSource

Public Member Functions

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

Public Attributes

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 72 of file tracktion_AutomatableParameter.cpp.

Constructor & Destructor Documentation

◆ AutomationSource()

tracktion::engine::AutomationSource::AutomationSource ( const juce::ValueTree v)

Definition at line 74 of file tracktion_AutomatableParameter.cpp.

Member Function Documentation

◆ getCurrentValue()

virtual float tracktion::engine::AutomationSource::getCurrentValue ( )
pure virtual

◆ getValueAt()

virtual float tracktion::engine::AutomationSource::getValueAt ( TimePosition  )
pure virtual

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.

Implemented in tracktion::engine::AutomationCurveSource, tracktion::engine::MacroSource, and tracktion::engine::ModifierAutomationSource.

◆ isEnabled()

virtual bool tracktion::engine::AutomationSource::isEnabled ( )
pure virtual

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

Implemented in tracktion::engine::ModifierAutomationSource, tracktion::engine::AutomationCurveSource, and tracktion::engine::MacroSource.

◆ isEnabledAt()

virtual bool tracktion::engine::AutomationSource::isEnabledAt ( TimePosition  )
pure virtual

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.

Implemented in tracktion::engine::ModifierAutomationSource, tracktion::engine::AutomationCurveSource, and tracktion::engine::MacroSource.

◆ setPosition()

virtual void tracktion::engine::AutomationSource::setPosition ( TimePosition  )
pure virtual

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.

Implemented in tracktion::engine::ModifierAutomationSource, tracktion::engine::AutomationCurveSource, and tracktion::engine::MacroSource.

Member Data Documentation

◆ state

juce::ValueTree tracktion::engine::AutomationSource::state

Definition at line 100 of file tracktion_AutomatableParameter.cpp.


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