TracktionEngine
|
Public Types | |
using | Ptr = juce::ReferenceCountedObjectPtr< PatternInstance > |
Public Types inherited from tracktion::engine::Selectable | |
using | WeakRef = juce::WeakReference< Selectable > |
Public Member Functions | |
PatternInstance (StepClip &c, int index) | |
~PatternInstance () override | |
Pattern | getPattern () const |
int | getSequenceIndex () const |
juce::String | getSelectableDescription () override |
Subclasses must return a description of what they are. More... | |
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. More... | |
virtual void | changed () |
This should be called to send a change notification to any SelectableListeners that are registered with this object. More... | |
virtual void | selectableAboutToBeDeleted () |
Called just before the selectable is about to be deleted so any subclasses should still be valid at this point. More... | |
void | addSelectableListener (SelectableListener *) |
void | removeSelectableListener (SelectableListener *) |
void | cancelAnyPendingUpdates () |
If changed() has been called, this will cancel any pending async change notificaions. More... | |
void | deselect () |
void | propertiesChanged () |
void | notifyListenersOfDeletion () |
WeakRef | getWeakRef () |
Public Attributes | |
StepClip & | clip |
int | patternIndex |
Public Attributes inherited from tracktion::engine::Selectable | |
WeakRef::Master | masterReference |
Additional Inherited Members | |
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. More... | |
using tracktion::engine::StepClip::PatternInstance::Ptr = juce::ReferenceCountedObjectPtr<PatternInstance> |
tracktion::engine::StepClip::PatternInstance::PatternInstance | ( | StepClip & | c, |
int | index | ||
) |
|
override |
Pattern tracktion::engine::StepClip::PatternInstance::getPattern | ( | ) | const |
int tracktion::engine::StepClip::PatternInstance::getSequenceIndex | ( | ) | const |
|
overridevirtual |
Subclasses must return a description of what they are.
Implements tracktion::engine::Selectable.
StepClip& tracktion::engine::StepClip::PatternInstance::clip |
int tracktion::engine::StepClip::PatternInstance::patternIndex |