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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tracktion::engine::TrackSection Struct Reference

Defines a time raneg sectin of a Track. More...

#include "tracktion_TrackUtils.h"

Public Member Functions

bool merge (const TrackItem &c)
 Merges an overlapping TrackItem track/time range with this section.
 

Static Public Member Functions

template<typename TrackItemArray >
static juce::Array< TrackSectionfindSections (const TrackItemArray &trackItems)
 Returns a set of TrackSections for the given TrackItems.
 

Public Attributes

Tracktrack
 The Track this section refers to.
 
TimeRange range
 The time range this section refers to.
 

Detailed Description

Defines a time raneg sectin of a Track.

Definition at line 151 of file tracktion_TrackUtils.h.

Member Function Documentation

◆ findSections()

template<typename TrackItemArray >
static juce::Array< TrackSection > tracktion::engine::TrackSection::findSections ( const TrackItemArray &  trackItems)
static

Returns a set of TrackSections for the given TrackItems.

Definition at line 175 of file tracktion_TrackUtils.h.

◆ merge()

bool tracktion::engine::TrackSection::merge ( const TrackItem c)

Merges an overlapping TrackItem track/time range with this section.

Returns
true if this item was from the same track and overlapping time range and could be merged. false if it didn't intersect and should be its own section.

Definition at line 161 of file tracktion_TrackUtils.h.

Member Data Documentation

◆ range

TimeRange tracktion::engine::TrackSection::range

The time range this section refers to.

Definition at line 154 of file tracktion_TrackUtils.h.

◆ track

Track* tracktion::engine::TrackSection::track

The Track this section refers to.

Definition at line 153 of file tracktion_TrackUtils.h.


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