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

« « « Anklang Documentation
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:
tracktion::engine::ValueTreeObjectList< ClipSlot >

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.

Definition at line 70 of file tracktion_ClipSlot.h.

Constructor & Destructor Documentation

◆ ClipSlotList()

tracktion::engine::ClipSlotList::ClipSlotList ( const juce::ValueTree v,
Track t 
)

Creates a ClipSlotList for a Track.

Definition at line 123 of file tracktion_ClipSlot.cpp.

◆ ~ClipSlotList()

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

Destructor.

Definition at line 137 of file tracktion_ClipSlot.cpp.

Member Function Documentation

◆ deleteSlot()

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

Definition at line 180 of file tracktion_ClipSlot.cpp.

◆ ensureNumberOfSlots()

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

Adds Slots to ensure at least numSlots exist.

Definition at line 147 of file tracktion_ClipSlot.cpp.

◆ getClipSlots()

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

Returns the ClipSlot* on this Track.

Definition at line 142 of file tracktion_ClipSlot.cpp.

◆ 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

Definition at line 172 of file tracktion_ClipSlot.cpp.

◆ setNumberOfSlots()

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

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

Definition at line 159 of file tracktion_ClipSlot.cpp.

Member Data Documentation

◆ state

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

The state of this ClipSlotList.

Definition at line 92 of file tracktion_ClipSlot.h.

◆ track

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

The Track this ClipSlotList belongs to.

Definition at line 93 of file tracktion_ClipSlot.h.


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