|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Represents a slot on a track that a Clip can live in to be played as a launched clip. More...
#include "tracktion_ClipSlot.h"
Public Member Functions | |
| ClipSlot (const juce::ValueTree &, Track &) | |
| Creates a ClipSlot for a given Track. | |
| ~ClipSlot () override | |
| Destructor. | |
| void | setClip (Clip *) |
| Sets the Clip to be used within this slot. | |
| Clip * | getClip () |
| Returns the currently set clip. | |
| int | getIndex () |
| Returns slot index on track. | |
| InputDeviceInstance::Destination * | getInputDestination () |
| juce::String | getName () const override |
| juce::String | getSelectableDescription () override |
| Subclasses must return a description of what they are. | |
| juce::ValueTree & | getClipOwnerState () override |
| Must return the state of this ClipOwner. | |
| EditItemID | getClipOwnerID () override |
| Must return the ID of this ClipOwner. | |
| Selectable * | getClipOwnerSelectable () override |
| Must return the selectable if this ClipOwner is one. | |
| Edit & | getClipOwnerEdit () override |
| Must return the Edit this ClipOwner belongs to. | |
Public Member Functions inherited from tracktion::engine::EditItem | |
| EditItem (EditItemID, Edit &) | |
Public Member Functions inherited from tracktion::engine::Selectable | |
| virtual void | selectionStatusChanged (bool isNowSelected) |
| Can be overridden to tell this object that it has just been selected or deselected. | |
| virtual void | changed () |
| This should be called to send a change notification to any SelectableListeners that are registered with this object. | |
| virtual void | selectableAboutToBeDeleted () |
| Called just before the selectable is about to be deleted so any subclasses should still be valid at this point. | |
| void | addListener (SelectableListener *) |
| void | removeListener (SelectableListener *) |
| void | addSelectableListener (SelectableListener *) |
| void | removeSelectableListener (SelectableListener *) |
| void | cancelAnyPendingUpdates () |
| If changed() has been called, this will cancel any pending async change notificaions. | |
| void | deselect () |
| void | propertiesChanged () |
| void | notifyListenersOfDeletion () |
| WeakRef | getWeakRef () |
Public Member Functions inherited from tracktion::engine::ClipOwner | |
| ClipOwner () | |
| Constructs an empty ClipOwner. | |
| virtual | ~ClipOwner () |
| Destructor. | |
| const juce::Array< Clip * > & | getClips () const |
| Returns the clips this owner contains. | |
Public Attributes | |
| juce::ValueTree | state |
| The state of this ClipSlot. | |
| Track & | track |
| The Track this ClipSlot belongs to. | |
Public Attributes inherited from tracktion::engine::EditItem | |
| Edit & | edit |
| const EditItemID | itemID |
| Every EditItem has an ID which is unique within the edit. | |
Public Attributes inherited from tracktion::engine::Selectable | |
| WeakRef::Master | masterReference |
Additional Inherited Members | |
Public Types inherited from tracktion::engine::Selectable | |
| using | WeakRef = juce::WeakReference< Selectable > |
Static Public Member Functions inherited from tracktion::engine::Selectable | |
| static void | initialise () |
| static bool | isSelectableValid (const Selectable *) noexcept |
| checks whether this object has been deleted. | |
Protected Member Functions inherited from tracktion::engine::ClipOwner | |
| void | initialiseClipOwner (Edit &, juce::ValueTree clipParentState) |
| Must be called once from the subclass constructor to init the clip owner. | |
Represents a slot on a track that a Clip can live in to be played as a launched clip.
Definition at line 18 of file tracktion_ClipSlot.h.
| tracktion::engine::ClipSlot::ClipSlot | ( | const juce::ValueTree & | v, |
| Track & | t | ||
| ) |
Creates a ClipSlot for a given Track.
Definition at line 15 of file tracktion_ClipSlot.cpp.
|
override |
Destructor.
Definition at line 25 of file tracktion_ClipSlot.cpp.
| Clip * tracktion::engine::ClipSlot::getClip | ( | ) |
Returns the currently set clip.
Definition at line 47 of file tracktion_ClipSlot.cpp.
|
overridevirtual |
Must return the Edit this ClipOwner belongs to.
Implements tracktion::engine::ClipOwner.
Definition at line 97 of file tracktion_ClipSlot.cpp.
|
overridevirtual |
Must return the ID of this ClipOwner.
Implements tracktion::engine::ClipOwner.
Definition at line 82 of file tracktion_ClipSlot.cpp.
|
overridevirtual |
Must return the selectable if this ClipOwner is one.
Implements tracktion::engine::ClipOwner.
Definition at line 92 of file tracktion_ClipSlot.cpp.
|
overridevirtual |
Must return the state of this ClipOwner.
Implements tracktion::engine::ClipOwner.
Definition at line 87 of file tracktion_ClipSlot.cpp.
| int tracktion::engine::ClipSlot::getIndex | ( | ) |
Returns slot index on track.
Definition at line 52 of file tracktion_ClipSlot.cpp.
| InputDeviceInstance::Destination * tracktion::engine::ClipSlot::getInputDestination | ( | ) |
Definition at line 61 of file tracktion_ClipSlot.cpp.
|
overridevirtual |
Implements tracktion::engine::EditItem.
Definition at line 72 of file tracktion_ClipSlot.cpp.
|
overridevirtual |
Subclasses must return a description of what they are.
Implements tracktion::engine::Selectable.
Definition at line 77 of file tracktion_ClipSlot.cpp.
| void tracktion::engine::ClipSlot::setClip | ( | Clip * | c | ) |
Sets the Clip to be used within this slot.
Definition at line 32 of file tracktion_ClipSlot.cpp.
| juce::ValueTree tracktion::engine::ClipSlot::state |
The state of this ClipSlot.
Definition at line 54 of file tracktion_ClipSlot.h.
| Track& tracktion::engine::ClipSlot::track |
The Track this ClipSlot belongs to.
Definition at line 55 of file tracktion_ClipSlot.h.