TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::Scene Class Reference

A Scene is a collection of ClipSlots across tracks. More...

#include <tracktion_Scene.h>

Inheritance diagram for tracktion::engine::Scene:

Public Member Functions

 Scene (const juce::ValueTree &, SceneList &)
 Creates a Scene for a given state.
 
 ~Scene () override
 Destructor.
 
int getIndex ()
 
juce::String getSelectableDescription () override
 
- Public Member Functions inherited from tracktion::engine::Selectable
 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
 
Editedit
 
juce::CachedValue< juce::String > name
 
juce::CachedValue< juce::Colour > colour
 
SceneListsceneList
 
- 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Scene()

tracktion::engine::Scene::Scene ( const juce::ValueTree &  ,
SceneList  
)

Creates a Scene for a given state.

◆ ~Scene()

tracktion::engine::Scene::~Scene ( )
override

Destructor.

Member Function Documentation

◆ getIndex()

int tracktion::engine::Scene::getIndex ( )

◆ getSelectableDescription()

juce::String tracktion::engine::Scene::getSelectableDescription ( )
overridevirtual

Member Data Documentation

◆ state

juce::ValueTree tracktion::engine::Scene::state

◆ edit

Edit& tracktion::engine::Scene::edit

◆ name

juce::CachedValue<juce::String> tracktion::engine::Scene::name

◆ colour

juce::CachedValue<juce::Colour> tracktion::engine::Scene::colour

◆ sceneList

SceneList& tracktion::engine::Scene::sceneList

The documentation for this class was generated from the following file: