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

Defines the place to insert Track[s]. More...

Public Member Functions

 TrackInsertPoint (Track *parent, Track *preceding)
 Creates an insertion point with a parent and preceeding track. More...
 
 TrackInsertPoint (EditItemID parentTrackID, EditItemID precedingTrackID)
 Creates an insertion point with a parent and preceeding track. More...
 
 TrackInsertPoint (Track &currentPos, bool insertBefore)
 Creates an insertion point around a Track. More...
 
 TrackInsertPoint (const juce::ValueTree &)
 Creates an insertion point after a given Track state. More...
 

Public Attributes

EditItemID parentTrackID
 
EditItemID precedingTrackID
 

Detailed Description

Defines the place to insert Track[s].

See also
Edit::insertNewTrack, Edit::moveTrack

Constructor & Destructor Documentation

◆ TrackInsertPoint() [1/4]

tracktion::engine::TrackInsertPoint::TrackInsertPoint ( Track parent,
Track preceding 
)

Creates an insertion point with a parent and preceeding track.

Parameters
parentThe parent tracks should be nested in. nullptr means a top-level track
precedingThe track before the insertion point. nullptr means tracks should be inserted at the start of the list.

◆ TrackInsertPoint() [2/4]

tracktion::engine::TrackInsertPoint::TrackInsertPoint ( EditItemID  parentTrackID,
EditItemID  precedingTrackID 
)

Creates an insertion point with a parent and preceeding track.

Parameters
parentTrackIDThe ID of the parent tracks should be nested in. An invalid ID means a top-level track
precedingTrackIDThe ID of the track before the insertion point. An invalid ID means tracks should be inserted at the start of the list.

◆ TrackInsertPoint() [3/4]

tracktion::engine::TrackInsertPoint::TrackInsertPoint ( Track currentPos,
bool  insertBefore 
)

Creates an insertion point around a Track.

Parameters
currentPosThe track to base insertion around.
insertBeforeWhether new tracks should go before or after the currentPos.

◆ TrackInsertPoint() [4/4]

tracktion::engine::TrackInsertPoint::TrackInsertPoint ( const juce::ValueTree &  )

Creates an insertion point after a given Track state.

Member Data Documentation

◆ parentTrackID

EditItemID tracktion::engine::TrackInsertPoint::parentTrackID

◆ precedingTrackID

EditItemID tracktion::engine::TrackInsertPoint::precedingTrackID

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