Control Surface master
MIDI Control Surface library for Arduino
Public Member Functions | Protected Attributes | List of all members
IValue14 Class Referenceabstract

#include <MIDI_Inputs/InterfaceMIDIInputElements.hpp>

Detailed Description

Abstract interface for MIDI input elements that receive and store a 14-bit value.

Definition at line 36 of file InterfaceMIDIInputElements.hpp.

+ Inheritance diagram for IValue14:
+ Collaboration diagram for IValue14:

Detecting changes

bool getDirty () const
 Check if the value was updated since the last time the dirty flag was cleared. More...
 
void clearDirty ()
 Clear the dirty flag. More...
 

Public Member Functions

virtual uint16_t getValue () const =0
 

Protected Attributes

bool dirty = true
 

Member Function Documentation

◆ getDirty()

bool getDirty ( ) const
inline

Check if the value was updated since the last time the dirty flag was cleared.

Definition at line 43 of file InterfaceMIDIInputElements.hpp.

◆ clearDirty()

void clearDirty ( )
inline

Clear the dirty flag.

Definition at line 45 of file InterfaceMIDIInputElements.hpp.

◆ getValue()

virtual uint16_t getValue ( ) const
pure virtual

Implemented in PBValue, and PBValue< BankSize >.

Member Data Documentation

◆ dirty

bool dirty = true
protected

Definition at line 52 of file InterfaceMIDIInputElements.hpp.


The documentation for this class was generated from the following file: