Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SysExMessage Struct Reference

#include <MIDI_Parsers/MIDI_MessageTypes.hpp>

Detailed Description

Examples
MIDI-Input-Callback.ino, MIDI-Input-Fine-Grained-All-Callbacks.ino, MIDI-Input.ino, MIDI-Monitor-OLED.ino, MIDI_Pipes-Filter.ino, Mackie-Control-Universal-Reverse-Engineering.ino, and SysEx-Send-Receive.ino.

Definition at line 305 of file MIDI_MessageTypes.hpp.

+ Collaboration diagram for SysExMessage:

Public Member Functions

 SysExMessage ()
 Constructor.
 
 SysExMessage (const uint8_t *data, uint16_t length, Cable cable=Cable_1)
 Constructor.
 
 SysExMessage (const std::vector< uint8_t > &vec, Cable cable=Cable_1)
 Constructor.
 
template<uint16_t N>
 SysExMessage (const uint8_t(&array)[N], Cable cable=Cable_1)
 Constructor.
 
bool operator== (SysExMessage other) const
 
bool operator!= (SysExMessage other) const
 
Cable getCable () const
 Get the MIDI USB cable number of the message.
 
void setCable (Cable cable)
 Set the MIDI USB cable number of the message.
 
bool isFirstChunk () const
 
bool isLastChunk () const
 
bool isCompleteMessage () const
 

Public Attributes

const uint8_t * data
 
uint16_t length
 
Cable cable
 

Static Public Attributes

static constexpr auto SysExStart = MIDIMessageType::SysExStart
 
static constexpr auto SysExEnd = MIDIMessageType::SysExEnd
 

Constructor & Destructor Documentation

◆ SysExMessage() [1/4]

SysExMessage ( )
inline

Constructor.

Definition at line 307 of file MIDI_MessageTypes.hpp.

◆ SysExMessage() [2/4]

SysExMessage ( const uint8_t * data,
uint16_t length,
Cable cable = Cable_1 )
inline

Constructor.

Definition at line 310 of file MIDI_MessageTypes.hpp.

◆ SysExMessage() [3/4]

SysExMessage ( const std::vector< uint8_t > & vec,
Cable cable = Cable_1 )
inline

Constructor.

Definition at line 314 of file MIDI_MessageTypes.hpp.

◆ SysExMessage() [4/4]

template<uint16_t N>
SysExMessage ( const uint8_t(&) array[N],
Cable cable = Cable_1 )
inline

Constructor.

Definition at line 319 of file MIDI_MessageTypes.hpp.

Member Function Documentation

◆ operator==()

bool operator== ( SysExMessage other) const
inline

Definition at line 327 of file MIDI_MessageTypes.hpp.

◆ operator!=()

bool operator!= ( SysExMessage other) const
inline

Definition at line 332 of file MIDI_MessageTypes.hpp.

◆ getCable()

Cable getCable ( ) const
inline

Get the MIDI USB cable number of the message.

Examples
MIDI-Monitor-OLED.ino.

Definition at line 335 of file MIDI_MessageTypes.hpp.

◆ setCable()

void setCable ( Cable cable)
inline

Set the MIDI USB cable number of the message.

Definition at line 337 of file MIDI_MessageTypes.hpp.

◆ isFirstChunk()

bool isFirstChunk ( ) const
inline

Definition at line 339 of file MIDI_MessageTypes.hpp.

◆ isLastChunk()

bool isLastChunk ( ) const
inline
Examples
MIDI-Monitor-OLED.ino.

Definition at line 343 of file MIDI_MessageTypes.hpp.

◆ isCompleteMessage()

bool isCompleteMessage ( ) const
inline

Definition at line 348 of file MIDI_MessageTypes.hpp.

Member Data Documentation

◆ data

const uint8_t* data

◆ length

uint16_t length

◆ cable

Cable cable

◆ SysExStart

constexpr auto SysExStart = MIDIMessageType::SysExStart
staticconstexpr

Definition at line 350 of file MIDI_MessageTypes.hpp.

◆ SysExEnd

constexpr auto SysExEnd = MIDIMessageType::SysExEnd
staticconstexpr

Definition at line 351 of file MIDI_MessageTypes.hpp.


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