12namespace tracktion {
inline namespace engine
38 InputDeviceInstance::Destination* getInputDestination();
58 void clipCreated (
Clip&)
override;
59 void clipAddedOrRemoved()
override;
60 void clipOrderChanged()
override;
61 void clipPositionChanged()
override;
101 void deleteObject (
ClipSlot*)
override;
103 void newObjectAdded (
ClipSlot*)
override;
104 void objectRemoved (
ClipSlot*)
override;
105 void objectOrderChanged()
override;
Base class for items that can contain clips.
A list of the ClipSlots on a Track.
ClipSlot * insertSlot(int index)
Inserts a new slot with the given index.
juce::Array< ClipSlot * > getClipSlots() const
Returns the ClipSlot* on this Track.
~ClipSlotList() override
Destructor.
Track & track
The Track this ClipSlotList belongs to.
juce::ValueTree state
The state of this ClipSlotList.
void setNumberOfSlots(int numSlots)
Adds or removes Slots to ensure the exact number of slots exist.
void ensureNumberOfSlots(int numSlots)
Adds Slots to ensure at least numSlots exist.
Represents a slot on a track that a Clip can live in to be played as a launched clip.
juce::ValueTree & getClipOwnerState() override
Must return the state of this ClipOwner.
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
Edit & getClipOwnerEdit() override
Must return the Edit this ClipOwner belongs to.
EditItemID getClipOwnerID() override
Must return the ID of this ClipOwner.
Clip * getClip()
Returns the currently set clip.
Track & track
The Track this ClipSlot belongs to.
int getIndex()
Returns slot index on track.
void setClip(Clip *)
Sets the Clip to be used within this slot.
~ClipSlot() override
Destructor.
Selectable * getClipOwnerSelectable() override
Must return the selectable if this ClipOwner is one.
juce::ValueTree state
The state of this ClipSlot.
Base class for objects that live inside an edit - e.g.
The Tracktion Edit class!
Base class for things that can be selected, and whose properties can appear in the properties panel.
Base class for tracks which contain clips and plugins and can be added to Edit[s].
ID for objects of type EditElement - e.g.