TracktionEngine
Loading...
Searching...
No Matches
engine::TrackAutomationSection Struct Reference

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

#include <tracktion_TrackUtils.h>

Classes

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

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ TrackAutomationSection() [1/2]

engine::TrackAutomationSection::TrackAutomationSection ( )
defaultnoexcept

Construts an empty section.

Referenced by mergeIn(), overlaps(), and TrackAutomationSection().

◆ TrackAutomationSection() [2/2]

engine::TrackAutomationSection::TrackAutomationSection ( TrackItem & )

Construts a section for a given TrackItem.

References TrackAutomationSection().

Member Function Documentation

◆ mergeIn()

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

The destination Track.

Merges another TrackAutomationSection with this one.

References mergeIn(), and TrackAutomationSection().

Referenced by mergeIn().

◆ overlaps()

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

Tests whether another section overlaps with this one.

References overlaps(), and TrackAutomationSection().

Referenced by overlaps().

◆ containsParameter()

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

Tests whether this section contains a given parameter.

References containsParameter().

Referenced by containsParameter().

Member Data Documentation

◆ position

TimeRange engine::TrackAutomationSection::position

◆ src

Track::Ptr engine::TrackAutomationSection::src

The time range of the automation section.

◆ dst

Track::Ptr engine::TrackAutomationSection::dst

The source Track.

◆ activeParameters

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

A list of parameteres and their curves.


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