A callback for NoteCCRange with an action that can be implemented by the user. More...
#include <MIDI_Inputs/NoteCCRange.hpp>
 Inheritance diagram for SimpleNoteCCValueCallback:
 Collaboration diagram for SimpleNoteCCValueCallback:Public Member Functions | |
| virtual void | begin (const INoteCCValue &) | 
| Initialize: called once.  More... | |
| virtual void | update (const INoteCCValue ¬eccval, uint8_t index)=0 | 
| Update the given index: called when a new message is received for this index.  More... | |
| virtual void | updateAll (const INoteCCValue ¬eccval) | 
| Update all values: called when a bank change causes all values to (possibly) change, or when the entire range is reset to zero.  More... | |
Protected Member Functions | |
| SimpleNoteCCValueCallback ()=default | |
A callback for NoteCCRange with an action that can be implemented by the user.
Provides default implementations for begin and updateAll. 
Definition at line 46 of file NoteCCRange.hpp.
      
  | 
  protecteddefault | 
      
  | 
  inlinevirtual | 
Initialize: called once.
Reimplemented in NoteCCLEDPWM< NumLEDs >, NoteCCLEDPWM< 1 >, NoteCCLEDPWM< RangeLen >, NoteCCLED< NumLEDs >, NoteCCLED< 1 >, NoteCCLED< RangeLen >, NoteCCLEDBarCallback< NumLEDs >, NoteCCFastLEDCallback< ColorMapper >, and NoteCCFastLEDCallback< DefaultColorMapper >.
Definition at line 52 of file NoteCCRange.hpp.
      
  | 
  pure virtual | 
Update the given index: called when a new message is received for this index.
Implemented in NoteCCLEDBarCallback< NumLEDs >, NoteCCLEDPWM< NumLEDs >, NoteCCLEDPWM< 1 >, NoteCCLEDPWM< RangeLen >, NoteCCLED< NumLEDs >, NoteCCLED< 1 >, NoteCCLED< RangeLen >, NoteCCFastLEDCallback< ColorMapper >, and NoteCCFastLEDCallback< DefaultColorMapper >.
      
  | 
  inlinevirtual | 
Update all values: called when a bank change causes all values to (possibly) change, or when the entire range is reset to zero.
Definition at line 58 of file NoteCCRange.hpp.