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

#include <MIDI_Inputs/InterfaceMIDIInputElements.hpp>

Detailed Description

Definition at line 57 of file InterfaceMIDIInputElements.hpp.

+ Inheritance diagram for IVPot:
+ Collaboration diagram for IVPot:

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 bool getCenterLed () const =0
 
virtual uint8_t getStartOn () const =0
 
virtual uint8_t getStartOff () 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 64 of file InterfaceMIDIInputElements.hpp.

◆ clearDirty()

void clearDirty ( )
inline

Clear the dirty flag.

Definition at line 66 of file InterfaceMIDIInputElements.hpp.

◆ getCenterLed()

virtual bool getCenterLed ( ) const
pure virtual

Implemented in VPotRing, and VPotRing< BankSize >.

◆ getStartOn()

virtual uint8_t getStartOn ( ) const
pure virtual

Implemented in VPotRing, and VPotRing< BankSize >.

◆ getStartOff()

virtual uint8_t getStartOff ( ) const
pure virtual

Implemented in VPotRing, and VPotRing< BankSize >.

Member Data Documentation

◆ dirty

bool dirty = true
protected

Definition at line 75 of file InterfaceMIDIInputElements.hpp.


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