TracktionEngine
Public Types | Public Member Functions | Public Attributes | List of all members
tracktion::engine::StepClip::PatternInstance Struct Reference
Inheritance diagram for tracktion::engine::StepClip::PatternInstance:

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

StepClipclip
 
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...
 

Member Typedef Documentation

◆ Ptr

using tracktion::engine::StepClip::PatternInstance::Ptr = juce::ReferenceCountedObjectPtr<PatternInstance>

Constructor & Destructor Documentation

◆ PatternInstance()

tracktion::engine::StepClip::PatternInstance::PatternInstance ( StepClip c,
int  index 
)

◆ ~PatternInstance()

tracktion::engine::StepClip::PatternInstance::~PatternInstance ( )
override

Member Function Documentation

◆ getPattern()

Pattern tracktion::engine::StepClip::PatternInstance::getPattern ( ) const

◆ getSequenceIndex()

int tracktion::engine::StepClip::PatternInstance::getSequenceIndex ( ) const

◆ getSelectableDescription()

juce::String tracktion::engine::StepClip::PatternInstance::getSelectableDescription ( )
overridevirtual

Subclasses must return a description of what they are.

Implements tracktion::engine::Selectable.

Member Data Documentation

◆ clip

StepClip& tracktion::engine::StepClip::PatternInstance::clip

◆ patternIndex

int tracktion::engine::StepClip::PatternInstance::patternIndex

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