#include <MIDI_Inputs/InterfaceMIDIInputElements.hpp>
Abstract interface for MIDI input elements that receive and store a 7-bit value.
Definition at line 12 of file InterfaceMIDIInputElements.hpp.
Detecting changes | |
| bool | getDirty () const |
| Check if the value was updated since the last time the dirty flag was cleared. | |
| void | clearDirty () |
| Clear the dirty flag. | |
Public Member Functions | |
| virtual uint8_t | getValue () const =0 |
Protected Attributes | |
| bool | dirty = true |
|
inline |
Check if the value was updated since the last time the dirty flag was cleared.
Definition at line 19 of file InterfaceMIDIInputElements.hpp.
|
inline |
Clear the dirty flag.
Definition at line 21 of file InterfaceMIDIInputElements.hpp.
|
pure virtual |
Implemented in NoteCCKPLED< Type, BankSize >, NoteCCKPLED< MIDIMessageType::ControlChange, BankSize >, NoteCCKPLED< MIDIMessageType::KeyPressure, BankSize >, NoteCCKPLED< MIDIMessageType::NoteOn, BankSize >, NoteCCKPLEDPWM< Type, BankSize >, NoteCCKPLEDPWM< MIDIMessageType::ControlChange, BankSize >, NoteCCKPLEDPWM< MIDIMessageType::KeyPressure, BankSize >, NoteCCKPLEDPWM< MIDIMessageType::NoteOn, BankSize >, NoteCCKPValue< Type, BankSize >, NoteCCKPValue< MIDIMessageType::ControlChange, BankSize >, NoteCCKPValue< MIDIMessageType::KeyPressure, BankSize >, NoteCCKPValue< MIDIMessageType::NoteOn, BankSize >, NoteCCKPValue< Type >, NoteCCKPValue< MIDIMessageType::ControlChange >, NoteCCKPValue< MIDIMessageType::KeyPressure >, and NoteCCKPValue< MIDIMessageType::NoteOn >.
|
protected |
Definition at line 28 of file InterfaceMIDIInputElements.hpp.