TracktionEngine
Classes | Public Member Functions | Public Attributes | List of all members
tracktion::engine::TrackAutomationSection Struct Reference

Holds a reference to a section of automation for a given Track. More...

Classes

struct  ActiveParameters
 Holds a parameter and curve section. More...
 

Public Member Functions

 TrackAutomationSection () noexcept=default
 Construts an empty section. More...
 
 TrackAutomationSection (TrackItem &)
 Construts a section for a given TrackItem. More...
 
void mergeIn (const TrackAutomationSection &)
 The destination Track. More...
 
bool overlaps (const TrackAutomationSection &) const
 Tests whether another section overlaps with this one. More...
 
bool containsParameter (AutomatableParameter *) const
 Tests whether this section contains a given parameter. More...
 

Public Attributes

TimeRange position
 
Track::Ptr src
 The time range of the automation section. More...
 
Track::Ptr dst
 The source Track. More...
 
juce::Array< ActiveParametersactiveParameters
 A list of parameteres and their curves. More...
 

Detailed Description

Holds a reference to a section of automation for a given Track.

Constructor & Destructor Documentation

◆ TrackAutomationSection() [1/2]

tracktion::engine::TrackAutomationSection::TrackAutomationSection ( )
defaultnoexcept

Construts an empty section.

◆ TrackAutomationSection() [2/2]

tracktion::engine::TrackAutomationSection::TrackAutomationSection ( TrackItem )

Construts a section for a given TrackItem.

Member Function Documentation

◆ mergeIn()

void tracktion::engine::TrackAutomationSection::mergeIn ( const TrackAutomationSection )

The destination Track.

Merges another TrackAutomationSection with this one.

◆ overlaps()

bool tracktion::engine::TrackAutomationSection::overlaps ( const TrackAutomationSection ) const

Tests whether another section overlaps with this one.

◆ containsParameter()

bool tracktion::engine::TrackAutomationSection::containsParameter ( AutomatableParameter ) const

Tests whether this section contains a given parameter.

Member Data Documentation

◆ position

TimeRange tracktion::engine::TrackAutomationSection::position

◆ src

Track::Ptr tracktion::engine::TrackAutomationSection::src

The time range of the automation section.

◆ dst

Track::Ptr tracktion::engine::TrackAutomationSection::dst

The source Track.

◆ activeParameters

juce::Array<ActiveParameters> tracktion::engine::TrackAutomationSection::activeParameters

A list of parameteres and their curves.


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