Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BankableVUMatcher< BankSize > Struct Template Reference

#include <MIDI_Inputs/MCU/VU.hpp>

Detailed Description

template<uint8_t BankSize>
struct MCU::BankableVUMatcher< BankSize >

MIDI Input matcher for Mackie Control Universal VU meters with bank support.

See also
MCU::VUMatcher

Definition at line 133 of file VU.hpp.

+ Collaboration diagram for BankableVUMatcher< BankSize >:

Classes

struct  Result
 Output data of the matcher/parser. More...
 

Public Member Functions

 BankableVUMatcher (BankConfig< BankSize > config, MIDIAddress address)
 Constructor.
 
Result operator() (ChannelMessage m)
 Parse and try to match the incoming MIDI message.
 
Bank< BankSize > & getBank ()
 
const Bank< BankSize > & getBank () const
 
BankType getBankType () const
 
setting_t getSelection () const
 Get the current bank setting.
 

Static Public Member Functions

static constexpr setting_t getBankSize ()
 

Public Attributes

BaseBankConfig< BankSize > config
 Bank configuration.
 
MIDIAddress address
 MIDI address to compare incoming messages with.
 

Constructor & Destructor Documentation

◆ BankableVUMatcher()

template<uint8_t BankSize>
BankableVUMatcher ( BankConfig< BankSize > config,
MIDIAddress address )
inline

Constructor.

Definition at line 135 of file VU.hpp.

Member Function Documentation

◆ operator()()

template<uint8_t BankSize>
Result operator() ( ChannelMessage m)
inline

Parse and try to match the incoming MIDI message.

Definition at line 146 of file VU.hpp.

◆ getBank() [1/2]

template<uint8_t BankSize>
Bank< BankSize > & getBank ( )
inline

Definition at line 159 of file VU.hpp.

◆ getBank() [2/2]

template<uint8_t BankSize>
const Bank< BankSize > & getBank ( ) const
inline

Definition at line 160 of file VU.hpp.

◆ getBankType()

template<uint8_t BankSize>
BankType getBankType ( ) const
inline

Definition at line 161 of file VU.hpp.

◆ getBankSize()

template<uint8_t BankSize>
static constexpr setting_t getBankSize ( )
inlinestaticconstexpr

Definition at line 162 of file VU.hpp.

◆ getSelection()

template<uint8_t BankSize>
setting_t getSelection ( ) const
inline

Get the current bank setting.

See also
Bank<N>::getSelection()

Definition at line 166 of file VU.hpp.

Member Data Documentation

◆ config

template<uint8_t BankSize>
BaseBankConfig<BankSize> config

Bank configuration.

Definition at line 168 of file VU.hpp.

◆ address

template<uint8_t BankSize>
MIDIAddress address

MIDI address to compare incoming messages with.

Definition at line 169 of file VU.hpp.


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