TracktionEngine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tracktion::engine::ActiveNoteList Struct Reference

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

References activeChannels.

◆ isNoteActive()

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

◆ startNote()

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

◆ clearNote()

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

◆ 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

Member Data Documentation

◆ activeChannels

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

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