Control Surface main
MIDI Control Surface library for Arduino
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_Pipes-Filter.ino, Mackie-Control-Universal-Reverse-Engineering.ino, and SysEx-Send-Receive.ino.

Definition at line 303 of file MIDI_MessageTypes.hpp.

+ Collaboration diagram for SysExMessage:

Public Member Functions

 SysExMessage ()
 Constructor. More...
 
 SysExMessage (const uint8_t *data, uint16_t length, Cable cable=Cable_1)
 Constructor. More...
 
 SysExMessage (const std::vector< uint8_t > &vec, Cable cable=Cable_1)
 Constructor. More...
 
template<uint16_t N>
 SysExMessage (const uint8_t(&array)[N], Cable cable=Cable_1)
 Constructor. More...
 
bool operator== (SysExMessage other) const
 
bool operator!= (SysExMessage other) const
 
Cable getCable () const
 Get the MIDI USB cable number of the message. More...
 
void setCable (Cable cable)
 Set the MIDI USB cable number of the message. More...
 
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 305 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 308 of file MIDI_MessageTypes.hpp.

◆ SysExMessage() [3/4]

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

Constructor.

Definition at line 312 of file MIDI_MessageTypes.hpp.

◆ SysExMessage() [4/4]

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

Constructor.

Definition at line 317 of file MIDI_MessageTypes.hpp.

Member Function Documentation

◆ operator==()

bool operator== ( SysExMessage  other) const
inline

Definition at line 325 of file MIDI_MessageTypes.hpp.

◆ operator!=()

bool operator!= ( SysExMessage  other) const
inline

Definition at line 330 of file MIDI_MessageTypes.hpp.

◆ getCable()

Cable getCable ( ) const
inline

Get the MIDI USB cable number of the message.

Definition at line 333 of file MIDI_MessageTypes.hpp.

◆ setCable()

void setCable ( Cable  cable)
inline

Set the MIDI USB cable number of the message.

Definition at line 335 of file MIDI_MessageTypes.hpp.

◆ isFirstChunk()

bool isFirstChunk ( ) const
inline

Definition at line 337 of file MIDI_MessageTypes.hpp.

◆ isLastChunk()

bool isLastChunk ( ) const
inline

Definition at line 341 of file MIDI_MessageTypes.hpp.

◆ isCompleteMessage()

bool isCompleteMessage ( ) const
inline

Definition at line 346 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 348 of file MIDI_MessageTypes.hpp.

◆ SysExEnd

constexpr auto SysExEnd = MIDIMessageType::SysExEnd
staticconstexpr

Definition at line 349 of file MIDI_MessageTypes.hpp.


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