TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tracktion::engine::ActiveNoteList Struct Reference

#include <tracktion_ActiveNoteList.h>

Public Member Functions

void reset () noexcept
 
bool isNoteActive (int channel, int note) const noexcept
 
void startNote (int channel, int note) noexcept
 
void clearNote (int channel, int note) noexcept
 
bool areAnyNotesActive () const noexcept
 
template<typename Visitor >
void iterate (Visitor &&v) const noexcept
 

Static Public Member Functions

static bool isValidIndex (int channel, int note) noexcept
 

Public Attributes

juce::uint16 activeChannels [128] = {}
 

Member Function Documentation

◆ reset()

void tracktion::engine::ActiveNoteList::reset ( )
noexcept

◆ isNoteActive()

bool tracktion::engine::ActiveNoteList::isNoteActive ( int  channel,
int  note 
) const
noexcept

References activeChannels, and isValidIndex().

◆ startNote()

void tracktion::engine::ActiveNoteList::startNote ( int  channel,
int  note 
)
noexcept

References activeChannels, and isValidIndex().

◆ clearNote()

void tracktion::engine::ActiveNoteList::clearNote ( int  channel,
int  note 
)
noexcept

References activeChannels, and isValidIndex().

◆ areAnyNotesActive()

bool tracktion::engine::ActiveNoteList::areAnyNotesActive ( ) const
noexcept

References activeChannels.

◆ iterate()

template<typename Visitor >
void tracktion::engine::ActiveNoteList::iterate ( Visitor &&  v) const
noexcept

◆ isValidIndex()

static bool tracktion::engine::ActiveNoteList::isValidIndex ( int  channel,
int  note 
)
staticnoexcept

Referenced by clearNote(), isNoteActive(), and startNote().

Member Data Documentation

◆ activeChannels

juce::uint16 tracktion::engine::ActiveNoteList::activeChannels[128] = {}

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