This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
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
MCU::LCD< BufferSize > Class Template Reference

#include <LCD.hpp>

Inheritance diagram for MCU::LCD< BufferSize >:
Collaboration diagram for MCU::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 27 of file LCD.hpp.

Constructor & Destructor Documentation

◆ LCD()

template<uint8_t BufferSize = 120>
MCU::LCD< BufferSize >::LCD ( uint8_t  offset = 0,
uint8_t  CN = 0 
)
inline

Definition at line 29 of file LCD.hpp.

Member Function Documentation

◆ getText()

template<uint8_t BufferSize = 120>
const char* MCU::LCD< BufferSize >::getText ( ) const
inline

Definition at line 36 of file LCD.hpp.

◆ updateImpl()

template<uint8_t BufferSize = 120>
bool MCU::LCD< BufferSize >::updateImpl ( SysExMessage  midimsg)
inlineoverrideprivatevirtual
Todo:
Documentation.

Implements MIDIInputElementSysEx.

Definition at line 39 of file LCD.hpp.

◆ begin()

virtual void MIDIInputElementSysEx::begin ( )
inlinevirtualinherited

Initialize the input element.

Definition at line 43 of file MIDIInputElementSysEx.hpp.

◆ reset()

virtual void MIDIInputElementSysEx::reset ( )
inlinevirtualinherited

Reset the input element to its initial state.

Definition at line 46 of file MIDIInputElementSysEx.hpp.

◆ update()

virtual void MIDIInputElementSysEx::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 MIDIInputElementSysEx::beginAll ( )
inlinestaticinherited

Initialize all MIDIInputElementSysEx elements.

See also
MIDIInputElementSysEx::begin

Definition at line 56 of file MIDIInputElementSysEx.hpp.

◆ updateAll()

static void MIDIInputElementSysEx::updateAll ( )
inlinestaticinherited

Update all MIDIInputElementSysEx elements.

See also
MIDIInputElementSysEx::update

Definition at line 67 of file MIDIInputElementSysEx.hpp.

◆ resetAll()

static void MIDIInputElementSysEx::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 MIDIInputElementSysEx::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 MIDIInputElementSysEx::updateWith ( SysExMessage  midimsg)
inlineprivateinherited
Todo:
Documentation.

Definition at line 103 of file MIDIInputElementSysEx.hpp.

◆ moveDown()

void MIDIInputElementSysEx::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 MCU::LCDCounter::getInstances ( )
inlinestaticinherited

Definition at line 20 of file LCD.hpp.

Member Data Documentation

◆ buffer

template<uint8_t BufferSize = 120>
Array<char, BufferSize + 1> MCU::LCD< BufferSize >::buffer
private

Definition at line 90 of file LCD.hpp.

◆ offset

template<uint8_t BufferSize = 120>
uint8_t MCU::LCD< BufferSize >::offset
private

Definition at line 91 of file LCD.hpp.

◆ CN

uint8_t MIDIInputElementSysEx::CN
privateinherited

Definition at line 121 of file MIDIInputElementSysEx.hpp.

◆ elements

DoublyLinkedList< MIDIInputElementSysEx > MIDIInputElementSysEx::elements
staticprivateinherited

Definition at line 123 of file MIDIInputElementSysEx.hpp.

◆ next

Definition at line 301 of file LinkedList.hpp.

◆ previous

MIDIInputElementSysEx * DoublyLinkable< MIDIInputElementSysEx >::previous
protectedinherited

Definition at line 302 of file LinkedList.hpp.

◆ instances

uint8_t MCU::LCDCounter::instances = 0
staticprivateinherited

Definition at line 23 of file LCD.hpp.


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