TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::ClipSlotList Class Reference

A list of the ClipSlots on a Track. More...

#include <tracktion_ClipSlot.h>

Inheritance diagram for tracktion::engine::ClipSlotList:

Public Member Functions

 ClipSlotList (const juce::ValueTree &, Track &)
 Creates a ClipSlotList for a Track.
 
 ~ClipSlotList () override
 Destructor.
 
juce::Array< ClipSlot * > getClipSlots () const
 Returns the ClipSlot* on this Track.
 
void ensureNumberOfSlots (int numSlots)
 Adds Slots to ensure at least numSlots exist.
 
void setNumberOfSlots (int numSlots)
 Adds or removes Slots to ensure the exact number of slots exist.
 
ClipSlotinsertSlot (int index)
 Inserts a new slot with the given index.
 
void deleteSlot (ClipSlot &)
 

Public Attributes

juce::ValueTree state
 The state of this ClipSlotList.
 
Tracktrack
 The Track this ClipSlotList belongs to.
 

Detailed Description

A list of the ClipSlots on a Track.

Constructor & Destructor Documentation

◆ ClipSlotList()

tracktion::engine::ClipSlotList::ClipSlotList ( const juce::ValueTree &  ,
Track  
)

Creates a ClipSlotList for a Track.

◆ ~ClipSlotList()

tracktion::engine::ClipSlotList::~ClipSlotList ( )
override

Destructor.

Member Function Documentation

◆ getClipSlots()

juce::Array< ClipSlot * > tracktion::engine::ClipSlotList::getClipSlots ( ) const

Returns the ClipSlot* on this Track.

◆ ensureNumberOfSlots()

void tracktion::engine::ClipSlotList::ensureNumberOfSlots ( int  numSlots)

Adds Slots to ensure at least numSlots exist.

◆ setNumberOfSlots()

void tracktion::engine::ClipSlotList::setNumberOfSlots ( int  numSlots)

Adds or removes Slots to ensure the exact number of slots exist.

◆ insertSlot()

ClipSlot * tracktion::engine::ClipSlotList::insertSlot ( int  index)

Inserts a new slot with the given index.

If the index is < 0 or greater than the current number of scenes, the new one will be added at the end of the list

◆ deleteSlot()

void tracktion::engine::ClipSlotList::deleteSlot ( ClipSlot )

.

Member Data Documentation

◆ state

juce::ValueTree tracktion::engine::ClipSlotList::state

The state of this ClipSlotList.

◆ track

Track& tracktion::engine::ClipSlotList::track

The Track this ClipSlotList belongs to.


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