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

#include <MIDI_Inputs/MIDIInputElementMatchers.hpp>

Detailed Description

Matcher for MIDI messages with 1 data byte, such as Channel Pressure and Program Change.

Definition at line 15 of file MIDIInputElementMatchers.hpp.

+ Collaboration diagram for OneByteMIDIMatcher:


struct  Result

Public Member Functions

 OneByteMIDIMatcher (MIDIChannelCable address)
Result operator() (ChannelMessage m)

Public Attributes

MIDIChannelCable address

Class Documentation

◆ OneByteMIDIMatcher::Result

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

Constructor & Destructor Documentation

◆ OneByteMIDIMatcher()

OneByteMIDIMatcher ( MIDIChannelCable  address)

Definition at line 16 of file MIDIInputElementMatchers.hpp.

Member Function Documentation

◆ operator()()

Result operator() ( ChannelMessage  m)

Definition at line 23 of file MIDIInputElementMatchers.hpp.

Member Data Documentation

◆ address

Definition at line 30 of file MIDIInputElementMatchers.hpp.

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