#include <NoteCCRange.hpp>
Public Member Functions | |
NoteCCRange (MIDICNChannelAddress address, const Callback &callback) | |
uint8_t | getValue (uint8_t index) const override |
void | begin () override |
Initialize. More... | |
void | reset () override |
Reset all values to zero. More... | |
virtual uint8_t | getValue (uint8_t index) const=0 |
uint8_t | getValue () const |
uint8_t | length () const |
uint8_t | getValue () const |
Static Public Member Functions | |
constexpr static uint8_t | length () |
Public Attributes | |
Callback | callback |
Private Member Functions | |
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 45 of file NoteCCRange.hpp.
|
inline |
Definition at line 47 of file NoteCCRange.hpp.
|
inlineoverridevirtual |
|
inlineoverride |
Initialize.
Definition at line 57 of file NoteCCRange.hpp.
|
inlineoverride |
Reset all values to zero.
Definition at line 59 of file NoteCCRange.hpp.
|
inlineoverrideprivate |
Definition at line 65 of file NoteCCRange.hpp.
|
inlinestaticprivate |
Definition at line 77 of file NoteCCRange.hpp.
|
inlineprivatevirtual |
Get the active bank selection.
Reimplemented in Bankable::GenericNoteCCRange< MIDIInput_t, RangeLen, NumBanks, Callback >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCLED< RangeLen > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCLED< RangeLen > >, and Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, NumBanks >.
Definition at line 82 of file NoteCCRange.hpp.
|
inlineprivatevirtual |
Get the bank index from a MIDI address.
Reimplemented in Bankable::GenericNoteCCRange< MIDIInput_t, RangeLen, NumBanks, Callback >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCLED< RangeLen > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCLED< RangeLen > >, and Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, NumBanks >.
Definition at line 85 of file NoteCCRange.hpp.
|
inlineprivatevirtual |
Reimplemented in Bankable::GenericNoteCCRange< MIDIInput_t, RangeLen, NumBanks, Callback >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, BankSize, NoteCCLED< RangeLen > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, RangeLen, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, NumBanks >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementNote, 1, BankSize, NoteCCLED< 1 > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCFastLED< ColorMapper > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, 1, BankSize, NoteCCLEDBarCallback< NumLEDs > >, Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, BankSize, NoteCCLED< RangeLen > >, and Bankable::GenericNoteCCRange< MIDIInputElementCC, RangeLen, NumBanks >.
Definition at line 90 of file NoteCCRange.hpp.
|
inlinestaticconstexpr |
Definition at line 98 of file NoteCCRange.hpp.
virtual uint8_t INoteCCValue::getValue |
|
inline |
Definition at line 16 of file NoteCCRange.hpp.
|
inlineinherited |
Definition at line 14 of file NoteCCRange.hpp.
|
inlineinherited |
Definition at line 16 of file NoteCCRange.hpp.
|
private |
Definition at line 94 of file NoteCCRange.hpp.
Callback NoteCCRange< MIDIInput_t, RangeLen, NumBanks, Callback >::callback |
Definition at line 97 of file NoteCCRange.hpp.
|
privateinherited |
Definition at line 19 of file NoteCCRange.hpp.