#include <MIDI_Inputs/InterfaceMIDIInputElements.hpp>
Abstract interface for MIDI input elements that receive and store a 14-bit value.
Definition at line 33 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 uint16_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 40 of file InterfaceMIDIInputElements.hpp.
|
inline |
Clear the dirty flag.
Definition at line 42 of file InterfaceMIDIInputElements.hpp.
Implemented in PBValue, and PBValue< BankSize >.
Definition at line 49 of file InterfaceMIDIInputElements.hpp.