TracktionEngine
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
tracktion_ClipOwner.h File Reference

Classes

class  tracktion::engine::ClipOwner
 Base class for items that can contain clips. More...
 

Namespaces

namespace  tracktion
 
namespace  tracktion::engine
 

Enumerations

enum class  tracktion::engine::DeleteExistingClips { tracktion::engine::no , tracktion::engine::yes }
 Determines behaviour for overwriting clips. More...
 

Functions

Cliptracktion::engine::findClipForState (ClipOwner &, const juce::ValueTree &)
 Returns a clip with the given state if the ClipOwner contains it.
 
Cliptracktion::engine::findClipForID (ClipOwner &, EditItemID)
 Returns a clip with the given ID if the ClipOwner contains it.
 
Cliptracktion::engine::insertClipWithState (ClipOwner &, juce::ValueTree)
 Inserts a clip with the given state in to the ClipOwner's clip list.
 
Cliptracktion::engine::insertClipWithState (ClipOwner &, const juce::ValueTree &stateToUse, const juce::String &name, TrackItem::Type, ClipPosition, DeleteExistingClips, bool allowSpottingAdjustment)
 Inserts a clip with the given state in to the ClipOwner's clip list.
 
Cliptracktion::engine::insertNewClip (ClipOwner &, TrackItem::Type, EditTimeRange)
 Inserts a new clip with the given type and a default name.
 
Cliptracktion::engine::insertNewClip (ClipOwner &, TrackItem::Type, const juce::String &name, EditTimeRange)
 Inserts a new clip with the given type and name.
 
Cliptracktion::engine::insertNewClip (ClipOwner &, TrackItem::Type, const juce::String &name, ClipPosition)
 Inserts a new clip with the given type and name.
 
juce::ReferenceCountedObjectPtr< WaveAudioCliptracktion::engine::insertWaveClip (ClipOwner &, const juce::String &name, const juce::File &sourceFile, ClipPosition, DeleteExistingClips)
 Inserts a new WaveAudioClip into the ClipOwner's clip list.
 
juce::ReferenceCountedObjectPtr< WaveAudioCliptracktion::engine::insertWaveClip (ClipOwner &, const juce::String &name, ProjectItemID sourceID, ClipPosition, DeleteExistingClips)
 Inserts a new WaveAudioClip into the ClipOwner's clip list.
 
juce::ReferenceCountedObjectPtr< MidiCliptracktion::engine::insertMIDIClip (ClipOwner &, const juce::String &name, TimeRange)
 Inserts a new MidiClip into the ClipOwner's clip list.
 
juce::ReferenceCountedObjectPtr< MidiCliptracktion::engine::insertMIDIClip (ClipOwner &, TimeRange)
 Inserts a new MidiClip into the ClipOwner's clip list.
 
juce::ReferenceCountedObjectPtr< EditCliptracktion::engine::insertEditClip (ClipOwner &, TimeRange, ProjectItemID)
 Inserts a new EditClip into the ClipOwner's clip list.
 
juce::Array< Clip * > tracktion::engine::deleteRegion (ClipOwner &, TimeRange)
 Removes a region of a ClipOwner and returns any newly created clips.
 
juce::Array< Clip * > tracktion::engine::deleteRegion (Clip &, TimeRange)
 Removes a region of a clip and returns any newly created clips.
 
juce::Array< Clip * > tracktion::engine::split (ClipOwner &, TimePosition)
 Splits the given clp owner at the time and returns any newly created clips.
 
Cliptracktion::engine::split (Clip &, TimePosition)
 Splits the given clip at the time and returns the newly created clip.
 
bool tracktion::engine::containsAnyMIDIClips (const ClipOwner &)
 Returns true if the clip owner contains any MIDI clips.
 
template<typename ClipType >
juce::Array< ClipType * > tracktion::engine::getClipsOfType (const ClipOwner &)
 Returns the subclips of the given type.
 
template<typename ClipType >
juce::Array< ClipType * > tracktion::engine::getClipsOfTypeRecursive (const ClipOwner &)
 Returns the subclips of the given type, if any clips contain other clips, this will also return those.
 
bool tracktion::engine::isMasterTrack (const Track &)
 Returns true if this is a MasterTrack.
 
bool tracktion::engine::isTempoTrack (const Track &)
 Returns true if this is a TempoTrack.
 
bool tracktion::engine::isAutomationTrack (const Track &)
 Returns true if this is an AutomationTrack.
 
bool tracktion::engine::isAudioTrack (const Track &)
 Returns true if this is an AudioTrack.
 
bool tracktion::engine::isFolderTrack (const Track &)
 Returns true if this is a FolderTrack.
 
bool tracktion::engine::isMarkerTrack (const Track &)
 Returns true if this is a MarkerTrack.
 
bool tracktion::engine::isChordTrack (const Track &)
 Returns true if this is a ChordTrack.
 
bool tracktion::engine::isArrangerTrack (const Track &)
 Returns true if this is an ArrangerTrack.
 
bool tracktion::engine::isAudioTrack (const ClipOwner &)
 Returns true if this is an AudioTrack.
 
bool tracktion::engine::isFolderTrack (const ClipOwner &)
 Returns true if this is a FolderTrack.
 
bool tracktion::engine::isMarkerTrack (const ClipOwner &)
 Returns true if this is a MarkerTrack.
 
bool tracktion::engine::isChordTrack (const ClipOwner &)
 Returns true if this is a ChordTrack.
 
bool tracktion::engine::isArrangerTrack (const ClipOwner &)
 Returns true if this is an ArrangerTrack.
 
bool tracktion::engine::canContainMIDI (const ClipOwner &)
 Returns true if this Track can contain MidiClip[s].
 
bool tracktion::engine::canContainAudio (const ClipOwner &)
 Returns true if this Track can contain WaveAudioClip[s].
 
bool tracktion::engine::isMovable (const Track &)
 Returns true if this Track is movable.
 
bool tracktion::engine::isOnTop (const Track &)
 Returns true if this a global Track and should be on top of others.