Control Surface  1.1.1
MIDI Control Surface library for Arduino
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
LCD< BufferSize > Class Template Reference

#include <MIDI_Inputs/MCU/LCD.hpp>

Inheritance diagram for LCD< BufferSize >:
Collaboration diagram for LCD< BufferSize >:

Public Member Functions

 LCD (uint8_t offset=0, uint8_t CN=0)
 
const char * getText () const
 
virtual void begin ()
 Initialize the input element. More...
 
virtual void reset ()
 Reset the input element to its initial state. More...
 
virtual void update ()
 Update the value of the input element. Used for decaying VU meters etc. More...
 

Static Public Member Functions

static void beginAll ()
 Initialize all MIDIInputElementSysEx elements. More...
 
static void updateAll ()
 Update all MIDIInputElementSysEx elements. More...
 
static void resetAll ()
 Reset all MIDIInputElementSysEx elements to their initial state. More...
 
static void updateAllWith (SysExMessage midimsg)
 Update all MIDIInputElementSysEx elements with a new MIDI message. More...
 

Protected Attributes

MIDIInputElementSysExnext
 
MIDIInputElementSysExprevious
 

Private Member Functions

bool updateImpl (SysExMessage midimsg) override
 
bool updateWith (SysExMessage midimsg)
 
void moveDown ()
 Move down this element in the linked list of elements. More...
 

Static Private Member Functions

static uint8_t getInstances ()
 

Private Attributes

Array< char, BufferSize+1 > buffer
 
uint8_t offset
 
uint8_t CN
 

Static Private Attributes

static DoublyLinkedList< MIDIInputElementSysExelements
 
static uint8_t instances = 0
 

Detailed Description

template<uint8_t BufferSize = 120>
class MCU::LCD< BufferSize >

Examples
MCU-OLED-SSD1306-x2.ino.

Definition at line 31 of file LCD.hpp.

Constructor & Destructor Documentation

◆ LCD()

LCD ( uint8_t  offset = 0,
uint8_t  CN = 0 
)
inline

Definition at line 33 of file LCD.hpp.

Member Function Documentation

◆ getText()

const char* getText ( ) const
inline

Definition at line 40 of file LCD.hpp.

◆ updateImpl()

bool updateImpl ( SysExMessage  midimsg)
inlineoverrideprivatevirtual
Todo:
Documentation.

Implements MIDIInputElementSysEx.

Definition at line 43 of file LCD.hpp.

◆ begin()

virtual void begin ( )
inlinevirtualinherited

Initialize the input element.

Definition at line 43 of file MIDIInputElementSysEx.hpp.

◆ reset()

virtual void reset ( )
inlinevirtualinherited

Reset the input element to its initial state.

Definition at line 46 of file MIDIInputElementSysEx.hpp.

◆ update()

virtual void update ( )
inlinevirtualinherited

Update the value of the input element. Used for decaying VU meters etc.

Definition at line 49 of file MIDIInputElementSysEx.hpp.

◆ beginAll()

static void beginAll ( )
inlinestaticinherited

Initialize all MIDIInputElementSysEx elements.

See also
MIDIInputElementSysEx::begin

Definition at line 56 of file MIDIInputElementSysEx.hpp.

◆ updateAll()

static void updateAll ( )
inlinestaticinherited

Update all MIDIInputElementSysEx elements.

See also
MIDIInputElementSysEx::update

Definition at line 67 of file MIDIInputElementSysEx.hpp.

◆ resetAll()

static void resetAll ( )
inlinestaticinherited

Reset all MIDIInputElementSysEx elements to their initial state.

See also
MIDIInputElementSysEx::reset

Definition at line 78 of file MIDIInputElementSysEx.hpp.

◆ updateAllWith()

static void updateAllWith ( SysExMessage  midimsg)
inlinestaticinherited

Update all MIDIInputElementSysEx elements with a new MIDI message.

See also
MIDIInputElementSysEx::updateWith

Definition at line 90 of file MIDIInputElementSysEx.hpp.

◆ updateWith()

bool updateWith ( SysExMessage  midimsg)
inlineprivateinherited
Todo:
Documentation.

Definition at line 103 of file MIDIInputElementSysEx.hpp.

◆ moveDown()

void moveDown ( )
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 116 of file MIDIInputElementSysEx.hpp.

◆ getInstances()

static uint8_t getInstances ( )
inlinestaticinherited

Definition at line 24 of file LCD.hpp.

Member Data Documentation

◆ buffer

Array<char, BufferSize + 1> buffer
private

Definition at line 94 of file LCD.hpp.

◆ offset

uint8_t offset
private

Definition at line 95 of file LCD.hpp.

◆ CN

uint8_t CN
privateinherited

Definition at line 121 of file MIDIInputElementSysEx.hpp.

◆ elements

DoublyLinkedList< MIDIInputElementSysEx > elements
staticprivateinherited

Definition at line 123 of file MIDIInputElementSysEx.hpp.

◆ next

MIDIInputElementSysEx * next
protectedinherited

Definition at line 305 of file LinkedList.hpp.

◆ previous

MIDIInputElementSysEx * previous
protectedinherited

Definition at line 306 of file LinkedList.hpp.

◆ instances

uint8_t instances = 0
staticprivateinherited

Definition at line 27 of file LCD.hpp.


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