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
BankablePitchBendMIDIMatcher< BankSize > Struct Template Reference

#include <MIDI_Inputs/MIDIInputElementMatchers.hpp>

Detailed Description

template<uint8_t BankSize>
struct BankablePitchBendMIDIMatcher< BankSize >

Matcher for MIDI Pitch Bend messages.

Matches a single address over multiple banks.

Definition at line 189 of file MIDIInputElementMatchers.hpp.

+ Collaboration diagram for BankablePitchBendMIDIMatcher< BankSize >:

Classes

struct  Result
 

Public Member Functions

 BankablePitchBendMIDIMatcher (BankConfig< BankSize, BankType::ChangeChannel > config, MIDIChannelCable address)
 
Result operator() (ChannelMessage m)
 
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
 
MIDIChannelCable address
 

Constructor & Destructor Documentation

◆ BankablePitchBendMIDIMatcher()

template<uint8_t BankSize>
BankablePitchBendMIDIMatcher ( BankConfig< BankSize, BankType::ChangeChannel > config,
MIDIChannelCable address )
inline

Definition at line 190 of file MIDIInputElementMatchers.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 201 of file MIDIInputElementMatchers.hpp.

◆ getBank() [1/2]

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

Definition at line 211 of file MIDIInputElementMatchers.hpp.

◆ getBank() [2/2]

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

Definition at line 212 of file MIDIInputElementMatchers.hpp.

◆ getBankType()

template<uint8_t BankSize>
BankType getBankType ( ) const
inline

Definition at line 213 of file MIDIInputElementMatchers.hpp.

◆ getBankSize()

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

Definition at line 214 of file MIDIInputElementMatchers.hpp.

◆ getSelection()

template<uint8_t BankSize>
setting_t getSelection ( ) const
inline

Get the current bank setting.

See also
Bank<N>::getSelection()

Definition at line 218 of file MIDIInputElementMatchers.hpp.

Member Data Documentation

◆ config

template<uint8_t BankSize>
BaseBankConfig<BankSize> config

Definition at line 220 of file MIDIInputElementMatchers.hpp.

◆ address

template<uint8_t BankSize>
MIDIChannelCable address

Definition at line 221 of file MIDIInputElementMatchers.hpp.


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