|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
A list of the ClipSlots on a Track. More...
#include "tracktion_ClipSlot.h"
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. | |
| ClipSlot * | insertSlot (int index) |
| Inserts a new slot with the given index. | |
| void | deleteSlot (ClipSlot &) |
Public Attributes | |
| juce::ValueTree | state |
| The state of this ClipSlotList. | |
| Track & | track |
| The Track this ClipSlotList belongs to. | |
A list of the ClipSlots on a Track.
Definition at line 70 of file tracktion_ClipSlot.h.
| 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.
|
override |
Destructor.
Definition at line 137 of file tracktion_ClipSlot.cpp.
| void tracktion::engine::ClipSlotList::deleteSlot | ( | ClipSlot & | cs | ) |
Definition at line 180 of file tracktion_ClipSlot.cpp.
| void tracktion::engine::ClipSlotList::ensureNumberOfSlots | ( | int | numSlots | ) |
Adds Slots to ensure at least numSlots exist.
Definition at line 147 of file tracktion_ClipSlot.cpp.
| juce::Array< ClipSlot * > tracktion::engine::ClipSlotList::getClipSlots | ( | ) | const |
Returns the ClipSlot* on this Track.
Definition at line 142 of file tracktion_ClipSlot.cpp.
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.
| 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.
| juce::ValueTree tracktion::engine::ClipSlotList::state |
The state of this ClipSlotList.
Definition at line 92 of file tracktion_ClipSlot.h.
| Track& tracktion::engine::ClipSlotList::track |
The Track this ClipSlotList belongs to.
Definition at line 93 of file tracktion_ClipSlot.h.