11namespace tracktion {
inline namespace engine
71 virtual void slotUpdated (
int audioTrackIndex,
int slotIndex) = 0;
85 enum class RecordingState
95 LaunchHandle::PlayState playState;
97 RecordingState recordingState = RecordingState::none;
104 void checkForScenes();
105 RecordingState getRecordingState (
ClipSlot& slot);
107 void timerCallback()
override;
163 void deleteObject (
Scene*)
override;
166 void newObjectAdded (
Scene*)
override;
168 void objectRemoved (
Scene*)
override;
170 void objectOrderChanged()
override;
Represents a slot on a track that a Clip can live in to be played as a launched clip.
The Tracktion Edit class!
Represents the Scenes in an Edit.
void deleteScene(Scene &)
Deletes a specific Scene.
juce::Array< Scene * > getScenes()
Returns the Scenes in the Edit.
void ensureNumberOfScenes(int numScenes)
Adds Scenes to ensure numScenes are preset in the list.
SceneWatcher sceneWatcher
A SceneWatcher you can listen to in order to be notified of changes to Slots.
Scene * insertScene(int index)
Inserts a new scene with the given index.
Edit & edit
The Edit this SceneList belongs to.
~SceneList() override
Destructor.
juce::ValueTree state
The state of this SceneList.
int getNumScenes()
Returns the number of Scenes in the Edit.
Notifies UI components of changes to the scenes and clips.
void removeListener(Listener *)
Removes a previously added Listener.
void addListener(Listener *)
Adds a Listener.
A Scene is a collection of ClipSlots across tracks.
~Scene() override
Destructor.
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
Base class for things that can be selected, and whose properties can appear in the properties panel.
virtual void slotUpdated(int audioTrackIndex, int slotIndex)=0
Destructor.
virtual ~Listener()=default
Destructor.