|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Represents the Scenes in an Edit. More...
#include "tracktion_Scene.h"
Public Member Functions | |
| SceneList (const juce::ValueTree &, Edit &) | |
| Creates a SceneList for an Edit with a given state. | |
| ~SceneList () override | |
| Destructor. | |
| int | getNumScenes () |
| Returns the number of Scenes in the Edit. | |
| juce::Array< Scene * > | getScenes () |
| Returns the Scenes in the Edit. | |
| void | ensureNumberOfScenes (int numScenes) |
| Adds Scenes to ensure numScenes are preset in the list. | |
| Scene * | insertScene (int index) |
| Inserts a new scene with the given index. | |
| void | deleteScene (Scene &) |
| Deletes a specific Scene. | |
Public Attributes | |
| juce::ValueTree | state |
| The state of this SceneList. | |
| Edit & | edit |
| The Edit this SceneList belongs to. | |
| SceneWatcher | sceneWatcher |
| A SceneWatcher you can listen to in order to be notified of changes to Slots. | |
Represents the Scenes in an Edit.
Definition at line 120 of file tracktion_Scene.h.
| tracktion::engine::SceneList::SceneList | ( | const juce::ValueTree & | v, |
| Edit & | e | ||
| ) |
Creates a SceneList for an Edit with a given state.
Definition at line 183 of file tracktion_Scene.cpp.
|
override |
Destructor.
Definition at line 192 of file tracktion_Scene.cpp.
| void tracktion::engine::SceneList::deleteScene | ( | Scene & | scene | ) |
Deletes a specific Scene.
Definition at line 224 of file tracktion_Scene.cpp.
| void tracktion::engine::SceneList::ensureNumberOfScenes | ( | int | numScenes | ) |
Adds Scenes to ensure numScenes are preset in the list.
N.B. This also adds ClipSlots to all tracks to ensure they have the same number of slots.
Definition at line 203 of file tracktion_Scene.cpp.
| int tracktion::engine::SceneList::getNumScenes | ( | ) |
Returns the number of Scenes in the Edit.
Definition at line 130 of file tracktion_Scene.h.
| juce::Array< Scene * > tracktion::engine::SceneList::getScenes | ( | ) |
Returns the Scenes in the Edit.
Definition at line 198 of file tracktion_Scene.cpp.
Inserts a new scene with the given index.
If the index is < 0 or greater than the current number of scenes, the new one will be added at the end of the list
Definition at line 214 of file tracktion_Scene.cpp.
| Edit& tracktion::engine::SceneList::edit |
The Edit this SceneList belongs to.
Definition at line 151 of file tracktion_Scene.h.
| SceneWatcher tracktion::engine::SceneList::sceneWatcher |
A SceneWatcher you can listen to in order to be notified of changes to Slots.
Definition at line 154 of file tracktion_Scene.h.
| juce::ValueTree tracktion::engine::SceneList::state |
The state of this SceneList.
Definition at line 150 of file tracktion_Scene.h.