|
TracktionEngine
|
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.
| tracktion::engine::ClipSlotList::ClipSlotList | ( | const juce::ValueTree & | , |
| Track & | |||
| ) |
Creates a ClipSlotList for a Track.
|
override |
Destructor.
| juce::Array< ClipSlot * > tracktion::engine::ClipSlotList::getClipSlots | ( | ) | const |
Returns the ClipSlot* on this Track.
| void tracktion::engine::ClipSlotList::ensureNumberOfSlots | ( | int | numSlots | ) |
Adds Slots to ensure at least numSlots exist.
| void tracktion::engine::ClipSlotList::setNumberOfSlots | ( | int | numSlots | ) |
Adds or removes Slots to ensure the exact number of slots exist.
| 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
| void tracktion::engine::ClipSlotList::deleteSlot | ( | ClipSlot & | ) |
.
| juce::ValueTree tracktion::engine::ClipSlotList::state |
The state of this ClipSlotList.
| Track& tracktion::engine::ClipSlotList::track |
The Track this ClipSlotList belongs to.