TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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 engine::ActiveNoteList::reset ( )
noexcept

◆ isNoteActive()

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

◆ startNote()

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

◆ clearNote()

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

◆ areAnyNotesActive()

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

◆ iterate()

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

◆ isValidIndex()

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

Member Data Documentation

◆ activeChannels

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

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