tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::StepClip::Channel Struct Reference
Inheritance diagram for tracktion::engine::StepClip::Channel:
tracktion::engine::Selectable

Public Member Functions

 Channel (StepClip &, const juce::ValueTree &)
 
bool operator== (const Channel &) const noexcept
 
juce::String getSelectableDescription () override
 Subclasses must return a description of what they are.
 
int getIndex () const
 
juce::String getDisplayName () const
 
bool usesGrooveStrength () const
 
- Public Member Functions inherited from tracktion::engine::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

StepClipclip
 
juce::ValueTree state
 
juce::CachedValue< MidiChannelchannel
 
juce::CachedValue< intnoteNumber
 
juce::CachedValue< intnoteValue
 
juce::CachedValue< juce::StringgrooveTemplate
 
juce::CachedValue< juce::Stringname
 
juce::CachedValue< floatgrooveStrength
 
- 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

Definition at line 29 of file tracktion_StepClip.h.

Constructor & Destructor Documentation

◆ Channel()

tracktion::engine::StepClip::Channel::Channel ( StepClip c,
const juce::ValueTree v 
)

Definition at line 14 of file tracktion_StepClipChannel.cpp.

◆ ~Channel()

tracktion::engine::StepClip::Channel::~Channel ( )
overridenoexcept

Definition at line 27 of file tracktion_StepClipChannel.cpp.

Member Function Documentation

◆ getDisplayName()

juce::String tracktion::engine::StepClip::Channel::getDisplayName ( ) const

Definition at line 60 of file tracktion_StepClipChannel.cpp.

◆ getIndex()

int tracktion::engine::StepClip::Channel::getIndex ( ) const

Definition at line 55 of file tracktion_StepClipChannel.cpp.

◆ getSelectableDescription()

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

Subclasses must return a description of what they are.

Implements tracktion::engine::Selectable.

Definition at line 66 of file tracktion_StepClipChannel.cpp.

◆ operator==()

bool tracktion::engine::StepClip::Channel::operator== ( const Channel other) const
noexcept

Definition at line 32 of file tracktion_StepClipChannel.cpp.

◆ usesGrooveStrength()

bool tracktion::engine::StepClip::Channel::usesGrooveStrength ( ) const

Definition at line 42 of file tracktion_StepClipChannel.cpp.

Member Data Documentation

◆ channel

juce::CachedValue<MidiChannel> tracktion::engine::StepClip::Channel::channel

Definition at line 46 of file tracktion_StepClip.h.

◆ clip

StepClip& tracktion::engine::StepClip::Channel::clip

Definition at line 43 of file tracktion_StepClip.h.

◆ grooveStrength

juce::CachedValue<float> tracktion::engine::StepClip::Channel::grooveStrength

Definition at line 50 of file tracktion_StepClip.h.

◆ grooveTemplate

juce::CachedValue<juce::String> tracktion::engine::StepClip::Channel::grooveTemplate

Definition at line 49 of file tracktion_StepClip.h.

◆ name

juce::CachedValue<juce::String> tracktion::engine::StepClip::Channel::name

Definition at line 49 of file tracktion_StepClip.h.

◆ noteNumber

juce::CachedValue<int> tracktion::engine::StepClip::Channel::noteNumber

Definition at line 47 of file tracktion_StepClip.h.

◆ noteValue

juce::CachedValue<int> tracktion::engine::StepClip::Channel::noteValue

Definition at line 48 of file tracktion_StepClip.h.

◆ state

juce::ValueTree tracktion::engine::StepClip::Channel::state

Definition at line 44 of file tracktion_StepClip.h.


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