TracktionEngine
|
A Scene is a collection of ClipSlots across tracks. More...
#include <tracktion_Scene.h>
Public Member Functions | |
Scene (const juce::ValueTree &, SceneList &) | |
Creates a Scene for a given state. | |
~Scene () override | |
Destructor. | |
int | getIndex () |
juce::String | getSelectableDescription () override |
![]() | |
Selectable () | |
virtual | ~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 Attributes | |
juce::ValueTree | state |
Edit & | edit |
juce::CachedValue< juce::String > | name |
juce::CachedValue< juce::Colour > | colour |
SceneList & | sceneList |
![]() | |
WeakRef::Master | masterReference |
Additional Inherited Members | |
![]() | |
using | WeakRef = juce::WeakReference< Selectable > |
![]() | |
static void | initialise () |
static bool | isSelectableValid (const Selectable *) noexcept |
checks whether this object has been deleted. | |
A Scene is a collection of ClipSlots across tracks.
This class provides an interface to interact with them all rather than having to iterate through each Track's SlotList finding the relevant ClipSlot index.
tracktion::engine::Scene::Scene | ( | const juce::ValueTree & | , |
SceneList & | |||
) |
Creates a Scene for a given state.
|
override |
Destructor.
int tracktion::engine::Scene::getIndex | ( | ) |
|
overridevirtual |
Implements tracktion::engine::Selectable.
juce::ValueTree tracktion::engine::Scene::state |
Edit& tracktion::engine::Scene::edit |
juce::CachedValue<juce::String> tracktion::engine::Scene::name |
juce::CachedValue<juce::Colour> tracktion::engine::Scene::colour |
SceneList& tracktion::engine::Scene::sceneList |