Control Surface  1.2.0
MIDI Control Surface library for Arduino
Public Member Functions | Public Attributes | List of all members
ChannelMessageMatcher Struct Reference

Struct for easily matching MIDI messages. More...

#include <MIDI_Inputs/ChannelMessageMatcher.hpp>

+ Collaboration diagram for ChannelMessageMatcher:

Public Member Functions

 ChannelMessageMatcher (MIDIMessageType type, Channel channel, uint8_t data1, uint8_t data2, uint8_t CN=0)
 
 ChannelMessageMatcher (const ChannelMessage &midimsg)
 

Public Attributes

MIDIMessageType type
 
Channel channel
 
uint8_t data1
 
uint8_t data2
 
uint8_t CN
 

Detailed Description

Struct for easily matching MIDI messages.

Definition at line 10 of file ChannelMessageMatcher.hpp.

Constructor & Destructor Documentation

◆ ChannelMessageMatcher() [1/2]

ChannelMessageMatcher ( MIDIMessageType  type,
Channel  channel,
uint8_t  data1,
uint8_t  data2,
uint8_t  CN = 0 
)
inline

Definition at line 11 of file ChannelMessageMatcher.hpp.

◆ ChannelMessageMatcher() [2/2]

ChannelMessageMatcher ( const ChannelMessage midimsg)
inline

Definition at line 14 of file ChannelMessageMatcher.hpp.

Member Data Documentation

◆ type

Definition at line 17 of file ChannelMessageMatcher.hpp.

◆ channel

Channel channel

Definition at line 18 of file ChannelMessageMatcher.hpp.

◆ data1

uint8_t data1

Definition at line 19 of file ChannelMessageMatcher.hpp.

◆ data2

uint8_t data2

Definition at line 20 of file ChannelMessageMatcher.hpp.

◆ CN

uint8_t CN

Definition at line 21 of file ChannelMessageMatcher.hpp.


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