Control Surface master
MIDI Control Surface library for Arduino
Classes | Public Member Functions | Public Attributes | List of all members
TwoByteMIDIMatcher Struct Reference

#include <MIDI_Inputs/MIDIInputElementMatchers.hpp>

Detailed Description

Matcher for MIDI messages with 2 data bytes, such as Note On/Off, Control Change, Key Pressure (but not Pitch Bend).

Matches a single address.

Definition at line 37 of file MIDIInputElementMatchers.hpp.

+ Inheritance diagram for TwoByteMIDIMatcher:
+ Collaboration diagram for TwoByteMIDIMatcher:

Classes

struct  Result
 

Public Member Functions

 TwoByteMIDIMatcher (MIDIAddress address)
 
Result operator() (ChannelMessage m)
 

Public Attributes

MIDIAddress address
 

Class Documentation

◆ TwoByteMIDIMatcher::Result

struct TwoByteMIDIMatcher::Result
+ Collaboration diagram for TwoByteMIDIMatcher::Result:
Class Members
bool match
uint8_t value

Constructor & Destructor Documentation

◆ TwoByteMIDIMatcher()

TwoByteMIDIMatcher ( MIDIAddress  address)
inline

Definition at line 38 of file MIDIInputElementMatchers.hpp.

Member Function Documentation

◆ operator()()

Result operator() ( ChannelMessage  m)
inline

Definition at line 45 of file MIDIInputElementMatchers.hpp.

Member Data Documentation

◆ address

MIDIAddress address

Definition at line 53 of file MIDIInputElementMatchers.hpp.


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