#include <NoteCCRange.hpp>
Public Member Functions | |
GenericNoteCCRange (MIDICNChannelAddress address, const Callback &callback) | |
uint8_t | getValue (uint8_t index) const override |
virtual uint8_t | getValue (uint8_t index) const =0 |
uint8_t | getValue () const |
uint8_t | getValue () const |
void | begin () override |
Initialize. More... | |
void | reset () override |
Reset all values to zero. More... | |
uint8_t | length () const |
Static Public Member Functions | |
constexpr static uint8_t | length () |
Public Attributes | |
Callback | callback |
Private Member Functions | |
bool | match (const MIDICNChannelAddress &target) const override |
Check if the address of the incoming MIDI message is within the range of addresses of this element. More... | |
bool | updateImpl (const ChannelMessageMatcher &midimsg, const MIDICNChannelAddress &target) override |
virtual uint8_t | getSelection () const |
Get the active bank selection. More... | |
virtual setting_t | getBankIndex (MIDICNChannelAddress target) const |
Get the bank index from a MIDI address. More... | |
virtual uint8_t | getRangeIndex (MIDICNChannelAddress target) const |
Static Private Member Functions | |
static uint8_t | getValueFromMIDIMessage (const ChannelMessageMatcher &midimsg) |
Private Attributes | |
Array< Array< uint8_t, RangeLen >, NumBanks > | values |
uint8_t | rangeLength |
Definition at line 105 of file NoteCCRange.hpp.
|
inline |
Definition at line 108 of file NoteCCRange.hpp.
|
inlineoverrideprivate |
Check if the address of the incoming MIDI message is within the range of addresses of this element.
Definition at line 114 of file NoteCCRange.hpp.
|
inlineoverridevirtualinherited |
|
inherited |
|
inlineinherited |
Definition at line 16 of file NoteCCRange.hpp.
|
inlineinherited |
Definition at line 16 of file NoteCCRange.hpp.
|
inlineoverrideinherited |
Initialize.
Definition at line 57 of file NoteCCRange.hpp.
|
inlineoverrideinherited |
Reset all values to zero.
Definition at line 59 of file NoteCCRange.hpp.
|
inlineoverrideprivateinherited |
Definition at line 65 of file NoteCCRange.hpp.
|
inlinestaticprivateinherited |
Definition at line 77 of file NoteCCRange.hpp.
|
inlineprivatevirtualinherited |
Get the active bank selection.
Definition at line 82 of file NoteCCRange.hpp.
|
inlineprivatevirtualinherited |
Get the bank index from a MIDI address.
Definition at line 85 of file NoteCCRange.hpp.
|
inlineprivatevirtualinherited |
Definition at line 90 of file NoteCCRange.hpp.
|
inlinestaticconstexprinherited |
Definition at line 98 of file NoteCCRange.hpp.
|
inlineinherited |
Definition at line 14 of file NoteCCRange.hpp.
|
privateinherited |
Definition at line 94 of file NoteCCRange.hpp.
|
inherited |
Definition at line 97 of file NoteCCRange.hpp.
|
privateinherited |
Definition at line 19 of file NoteCCRange.hpp.