#include <MIDI_Inputs/MCU/SevenSegmentDisplay.hpp>
Public Member Functions | |
| SevenSegmentDisplay (const MIDICNChannelAddress &address) | |
| Constructor.  More... | |
| void | fillWithSpaces () | 
| void | reset () override | 
| Reset the input element to its initial state.  More... | |
| void | getText (char *buffer, uint8_t offset=0, uint8_t length=LENGTH) const | 
| Copy the ASCII text into the given buffer.  More... | |
| char | getCharacterAt (uint8_t index) const | 
| Get the character at the given index.  More... | |
| void | getDecimalPoints (bool *buffer) const | 
| Copy the decimal points into the given buffer.  More... | |
| bool | getDecimalPointAt (uint8_t index) const | 
| Get the decimal point state at the given index.  More... | |
| size_t | printTo (Print &printer) const override | 
| Print out the text of the display to the given Print.  More... | |
| virtual void | begin () | 
| Initialize the input element.  More... | |
| virtual void | update () | 
| Update the value of the input element. Used for decaying VU meters etc.  More... | |
| bool | updateWith (const ChannelMessageMatcher &midimsg) | 
| Receive a new MIDI message and update the internal state.  More... | |
Static Public Member Functions | |
| static void | beginAll () | 
| Initialize all MIDIInputElementCC elements.  More... | |
| static void | updateAll () | 
| Update all MIDIInputElementCC elements.  More... | |
| static void | resetAll () | 
| Reset all MIDIInputElementCC elements to their initial state.  More... | |
| static void | updateAllWith (const ChannelMessageMatcher &midimsg) | 
| Update all MIDIInputElementCC elements with a new MIDI message.  More... | |
Protected Attributes | |
| const MIDICNChannelAddress | address | 
| MIDIInputElementCC * | next | 
| MIDIInputElementCC * | previous | 
Private Member Functions | |
| virtual bool | updateImpl (const ChannelMessageMatcher &midimsg, const MIDICNChannelAddress &target) override | 
| Update a character.  More... | |
| bool | match (const MIDICNChannelAddress &target) const override | 
| Check if the address of the incoming MIDI message is within the range of addresses of this element.  More... | |
| uint8_t | getRangeIndex (const MIDICNChannelAddress &target) const | 
| void | moveDown () | 
| Move down this element in the linked list of elements.  More... | |
| virtual MIDICNChannelAddress | getTarget (const ChannelMessageMatcher &midimsg) const | 
| Extract the target address from a MIDI message.  More... | |
Private Attributes | |
| char | text [LENGTH] | 
Static Private Attributes | |
| static DoublyLinkedList< MIDIInputElementCC > | elements | 
Definition at line 12 of file SevenSegmentDisplay.hpp.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 23 of file SevenSegmentDisplay.hpp.
      
  | 
  inlineoverridevirtual | 
Reset the input element to its initial state.
Reimplemented from MIDIInputElement.
Definition at line 28 of file SevenSegmentDisplay.hpp.
      
  | 
  inlineoverrideprivatevirtual | 
Update a character.
Implements MIDIInputElement.
Definition at line 38 of file SevenSegmentDisplay.hpp.
      
  | 
  inlineoverrideprivatevirtual | 
Check if the address of the incoming MIDI message is within the range of addresses of this element.
Reimplemented from MIDIInputElement.
Definition at line 54 of file SevenSegmentDisplay.hpp.
      
  | 
  inlineprivate | 
Definition at line 60 of file SevenSegmentDisplay.hpp.
      
  | 
  inline | 
Copy the ASCII text into the given buffer.
| [out] | buffer | The destination to write the text to. Will be null-terminated. Should have a size of at least length+1 bytes.  | 
| [in] | offset | The offset to start copying from (in the source text, the offset in the destination buffer is always zero). | 
| [in] | length | The number of characters to copy. | 
Definition at line 78 of file SevenSegmentDisplay.hpp.
      
  | 
  inline | 
Get the character at the given index.
Definition at line 93 of file SevenSegmentDisplay.hpp.
      
  | 
  inline | 
Copy the decimal points into the given buffer.
| [out] | buffer | The destination to write the decimal points to. Should have a size of at least LENGTH bytes.  | 
Definition at line 102 of file SevenSegmentDisplay.hpp.
      
  | 
  inline | 
Get the decimal point state at the given index.
Definition at line 111 of file SevenSegmentDisplay.hpp.
      
  | 
  inlineoverride | 
Print out the text of the display to the given Print.
Definition at line 116 of file SevenSegmentDisplay.hpp.
      
  | 
  inlinestaticinherited | 
Initialize all MIDIInputElementCC elements.
Definition at line 50 of file MIDIInputElementCC.hpp.
      
  | 
  inlinestaticinherited | 
Update all MIDIInputElementCC elements.
Definition at line 58 of file MIDIInputElementCC.hpp.
      
  | 
  inlinestaticinherited | 
Reset all MIDIInputElementCC elements to their initial state.
Definition at line 66 of file MIDIInputElementCC.hpp.
      
  | 
  inlinestaticinherited | 
Update all MIDIInputElementCC elements with a new MIDI message.
Definition at line 74 of file MIDIInputElementCC.hpp.
      
  | 
  inlineprivateinherited | 
Move down this element in the linked list of elements.
This means that the element will be checked earlier on the next iteration.
Definition at line 92 of file MIDIInputElementCC.hpp.
      
  | 
  inlinevirtualinherited | 
Initialize the input element.
Reimplemented in VPotRing_Base< NumValues, Callback >, VPotRing_Base< NumBanks, Callback >, VPotRing_Base< 1, VPotRingLEDsCallback >, VPotRing_Base< NumBanks, VPotEmptyCallback >, VPotRing_Base< 1, VPotEmptyCallback >, VPotRing_Base< 1, Callback >, VPotRing_Base< NumBanks, VPotRingLEDsCallback >, VU_Base< NumValues, Callback >, VU_Base< NumBanks, Callback >, VU_Base< NumBanks, VULEDsCallback< NumLEDs > >, VU_Base< NumBanks, VUEmptyCallback >, VU_Base< 1, VUEmptyCallback >, VU_Base< 1, VULEDsCallback< NumLEDs > >, VU_Base< 1, Callback >, NoteCCRange< MIDIInputElementCC, RangeLen, NumBanks, NoteCCLEDBarCallback< NumLEDs > >, NoteCCRange< MIDIInputElementNote, RangeLen, 1, NoteCCLEDPWM< 1 > >, NoteCCRange< MIDIInputElementNote, RangeLen, NumBanks, NoteCCLEDPWM< RangeLen > >, NoteCCRange< MIDIInputElementNote, RangeLen, 1, NoteCCLEDPWM< RangeLen > >, NoteCCRange< MIDIInputElementNote, RangeLen, 1, NoteCCLED< RangeLen > >, NoteCCRange< MIDIInputElementCC, RangeLen, 1, NoteCCLED< 1 > >, NoteCCRange< MIDIInputElementCC, RangeLen, NumBanks, NoteCCLED< 1 > >, NoteCCRange< MIDIInputElementNote, RangeLen, NumBanks, NoteCCLED< 1 > >, NoteCCRange< MIDIInputElementCC, RangeLen, NumBanks, NoteCCLEDPWM< RangeLen > >, NoteCCRange< MIDIInputElementNote, RangeLen, NumBanks, NoteCCFastLEDCallback< ColorMapper > >, NoteCCRange< MIDIInputElementCC, RangeLen, 1, NoteCCLEDBarCallback< NumLEDs > >, NoteCCRange< MIDIInputElementNote, RangeLen, NumBanks, NoteCCLEDBarCallback< NumLEDs > >, NoteCCRange< MIDIInputElementNote, RangeLen, NumBanks, NoteCCLED< RangeLen > >, NoteCCRange< MIDIInputElementCC, RangeLen, 1, NoteCCLED< RangeLen > >, NoteCCRange< MIDIInputElementNote, RangeLen, 1, NoteCCFastLEDCallback< ColorMapper > >, NoteCCRange< MIDIInputElementCC, RangeLen, NumBanks, NoteCCFastLEDCallback< ColorMapper > >, NoteCCRange< MIDIInputElementCC, RangeLen, NumBanks, NoteCCLEDPWM< 1 > >, NoteCCRange< MIDIInputElementNote, RangeLen, NumBanks, NoteCCLEDPWM< 1 > >, NoteCCRange< MIDIInputElementNote, RangeLen, 1, NoteCCLEDBarCallback< NumLEDs > >, NoteCCRange< MIDIInputElementCC, RangeLen, 1, NoteCCLEDPWM< 1 > >, NoteCCRange< MIDIInputElementCC, RangeLen, 1, NoteCCLEDPWM< RangeLen > >, NoteCCRange< MIDIInputElementCC, RangeLen, 1, NoteCCFastLEDCallback< ColorMapper > >, NoteCCRange< MIDIInputElementCC, RangeLen, NumBanks, NoteCCLED< RangeLen > >, NoteCCRange< MIDIInputElementNote, RangeLen, 1, NoteCCLED< 1 > >, GenericProgramChangeSelector< N, Callback >, GenericProgramChangeSelector< N >, and GenericProgramChangeSelector< N, SelectorLEDsCallback< N > >.
Definition at line 30 of file MIDIInputElement.hpp.
      
  | 
  inlinevirtualinherited | 
Update the value of the input element. Used for decaying VU meters etc.
Reimplemented in VU_Base< NumValues, Callback >, VU_Base< NumBanks, Callback >, VU_Base< NumBanks, VULEDsCallback< NumLEDs > >, VU_Base< NumBanks, VUEmptyCallback >, VU_Base< 1, VUEmptyCallback >, VU_Base< 1, VULEDsCallback< NumLEDs > >, and VU_Base< 1, Callback >.
Definition at line 36 of file MIDIInputElement.hpp.
      
  | 
  inlineinherited | 
Receive a new MIDI message and update the internal state.
Definition at line 39 of file MIDIInputElement.hpp.
      
  | 
  inlineprivatevirtualinherited | 
Extract the target address from a MIDI message.
Reimplemented in VU_Base< NumValues, Callback >, VU_Base< NumBanks, Callback >, VU_Base< NumBanks, VULEDsCallback< NumLEDs > >, VU_Base< NumBanks, VUEmptyCallback >, VU_Base< 1, VUEmptyCallback >, VU_Base< 1, VULEDsCallback< NumLEDs > >, VU_Base< 1, Callback >, MIDIInputElementChannelPressure, and MIDIInputElementPC.
Definition at line 64 of file MIDIInputElement.hpp.
      
  | 
  private | 
Definition at line 127 of file SevenSegmentDisplay.hpp.
      
  | 
  staticprivateinherited | 
Definition at line 97 of file MIDIInputElementCC.hpp.
      
  | 
  protectedinherited | 
Definition at line 80 of file MIDIInputElement.hpp.
      
  | 
  protectedinherited | 
Definition at line 305 of file LinkedList.hpp.
      
  | 
  protectedinherited | 
Definition at line 306 of file LinkedList.hpp.
 1.8.16