Control Surface  1.2.0
MIDI Control Surface library for Arduino
ChannelMessageMatcher.hpp
Go to the documentation of this file.
1 /* ✔ */
2 
3 #pragma once
4 
6 
8 
12  uint8_t data2, uint8_t CN = 0)
15  : type(midimsg.getMessageType()), channel(midimsg.getChannel()),
16  data1(midimsg.data1), data2(midimsg.data2), CN(midimsg.CN) {}
19  uint8_t data1;
20  uint8_t data2;
21  uint8_t CN;
22 };
23 
ChannelMessageMatcher::ChannelMessageMatcher
ChannelMessageMatcher(MIDIMessageType type, Channel channel, uint8_t data1, uint8_t data2, uint8_t CN=0)
Definition: ChannelMessageMatcher.hpp:11
ChannelMessageMatcher::data1
uint8_t data1
Definition: ChannelMessageMatcher.hpp:19
Channel
A type-safe class for MIDI channels.
Definition: Channel.hpp:13
ChannelMessageMatcher::data2
uint8_t data2
Definition: ChannelMessageMatcher.hpp:20
ChannelMessageMatcher::CN
uint8_t CN
Definition: ChannelMessageMatcher.hpp:21
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:9
ChannelMessageMatcher
Struct for easily matching MIDI messages.
Definition: ChannelMessageMatcher.hpp:10
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition: Settings/NamespaceSettings.hpp:10
MIDIMessageType
MIDIMessageType
Definition: MIDI_MessageTypes.hpp:21
ChannelMessageMatcher::ChannelMessageMatcher
ChannelMessageMatcher(const ChannelMessage &midimsg)
Definition: ChannelMessageMatcher.hpp:14
ChannelMessage
Definition: MIDI_MessageTypes.hpp:72
ChannelMessageMatcher::channel
Channel channel
Definition: ChannelMessageMatcher.hpp:18
MIDI_Parser.hpp
ChannelMessageMatcher::type
MIDIMessageType type
Definition: ChannelMessageMatcher.hpp:17