Control Surface master
MIDI Control Surface library for Arduino
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BankableVPotMatcher< BankSize > Struct Template Reference

#include <MIDI_Inputs/MCU/VPotRing.hpp>

Detailed Description

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

MIDI Input matcher for Mackie Control Universal VPot LED rings with bank support.

See also

Definition at line 127 of file VPotRing.hpp.

+ Inheritance diagram for BankableVPotMatcher< BankSize >:
+ Collaboration diagram for BankableVPotMatcher< BankSize >:

Public Member Functions

 BankableVPotMatcher (BankConfig< BankSize > config, uint8_t track, MIDIChannelCable channelCN)
 Constructor. More...
Result operator() (ChannelMessage m)
Bank< BankSize > & getBank ()
const Bank< BankSize > & getBank () const
BankType getBankType () const
setting_t getSelection () const
 Get the current bank setting. More...

Static Public Member Functions

static constexpr setting_t getBankSize ()

Public Attributes

BaseBankConfig< BankSize > config
MIDIAddress address

Constructor & Destructor Documentation

◆ BankableVPotMatcher()

BankableVPotMatcher ( BankConfig< BankSize >  config,
uint8_t  track,
MIDIChannelCable  channelCN 


configThe bank configuration to use: the bank to add this element to, and whether to change the address, channel or cable number.
trackThe track of the VPot [1, 8].
channelCNThe MIDI channel [CHANNEL_1, CHANNEL_16] and Cable Number [CABLE_1, CABLE_16].

Definition at line 140 of file VPotRing.hpp.

Member Function Documentation

◆ operator()()

Result operator() ( ChannelMessage  m)

Definition at line 160 of file MIDIInputElementMatchers.hpp.

◆ getBank() [1/2]

Bank< BankSize > & getBank ( )

Definition at line 171 of file MIDIInputElementMatchers.hpp.

◆ getBank() [2/2]

const Bank< BankSize > & getBank ( ) const

Definition at line 172 of file MIDIInputElementMatchers.hpp.

◆ getBankType()

BankType getBankType ( ) const

Definition at line 173 of file MIDIInputElementMatchers.hpp.

◆ getBankSize()

static constexpr setting_t getBankSize ( )

Definition at line 174 of file MIDIInputElementMatchers.hpp.

◆ getSelection()

setting_t getSelection ( ) const

Get the current bank setting.

See also

Definition at line 178 of file MIDIInputElementMatchers.hpp.

Member Data Documentation

◆ config

BaseBankConfig<BankSize> config

Definition at line 180 of file MIDIInputElementMatchers.hpp.

◆ address

MIDIAddress address

Definition at line 181 of file MIDIInputElementMatchers.hpp.

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