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

« « « Anklang Documentation
Loading...
Searching...
No Matches
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...

#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< ActiveParametersactiveParameters
 A list of parameteres and their curves.
 

Detailed Description

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

Definition at line 211 of file tracktion_TrackUtils.h.


Class Documentation

◆ tracktion::engine::TrackAutomationSection::ActiveParameters

struct tracktion::engine::TrackAutomationSection::ActiveParameters

Holds a parameter and curve section.

Definition at line 233 of file tracktion_TrackUtils.h.

Class Members
AutomationCurve curve The curve section of this parameter.
Ptr param The parameter.

Constructor & Destructor Documentation

◆ TrackAutomationSection()

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

Construts a section for a given TrackItem.

Definition at line 259 of file tracktion_TrackUtils.cpp.

Member Function Documentation

◆ containsParameter()

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

Tests whether this section contains a given parameter.

Definition at line 275 of file tracktion_TrackUtils.cpp.

◆ mergeIn()

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

The destination Track.

Merges another TrackAutomationSection with this one.

Definition at line 266 of file tracktion_TrackUtils.cpp.

◆ overlaps()

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

Tests whether another section overlaps with this one.

Definition at line 284 of file tracktion_TrackUtils.cpp.

Member Data Documentation

◆ activeParameters

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

A list of parameteres and their curves.

Definition at line 239 of file tracktion_TrackUtils.h.

◆ dst

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

The source Track.

Definition at line 221 of file tracktion_TrackUtils.h.

◆ position

TimeRange tracktion::engine::TrackAutomationSection::position

Definition at line 219 of file tracktion_TrackUtils.h.

◆ src

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

The time range of the automation section.

Definition at line 220 of file tracktion_TrackUtils.h.


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