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

#include <MIDI_Parsers/MIDI_MessageTypes.hpp>

+ Collaboration diagram for SysExMessage:

Public Member Functions

 SysExMessage ()
 Constructor. More...
 
 SysExMessage (const uint8_t *data, size_t length, uint8_t CN)
 Constructor. More...
 
 SysExMessage (const uint8_t *data, size_t length, 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...
 

Public Attributes

const uint8_t * data
 
uint8_t length
 
uint8_t CN
 

Detailed Description

Examples
Mackie-Control-Universal-Reverse-Engineering.ino, MIDI-Input-Callback.ino, MIDI-Input.ino, and SysEx-Send-Receive.ino.

Definition at line 138 of file MIDI_MessageTypes.hpp.

Constructor & Destructor Documentation

◆ SysExMessage() [1/3]

SysExMessage ( )
inline

Constructor.

Definition at line 140 of file MIDI_MessageTypes.hpp.

◆ SysExMessage() [2/3]

SysExMessage ( const uint8_t *  data,
size_t  length,
uint8_t  CN 
)
inline

Constructor.

Definition at line 143 of file MIDI_MessageTypes.hpp.

◆ SysExMessage() [3/3]

SysExMessage ( const uint8_t *  data,
size_t  length,
Cable  cable = CABLE_1 
)
inline

Constructor.

Definition at line 147 of file MIDI_MessageTypes.hpp.

Member Function Documentation

◆ operator==()

bool operator== ( SysExMessage  other) const
inline

Definition at line 160 of file MIDI_MessageTypes.hpp.

◆ operator!=()

bool operator!= ( SysExMessage  other) const
inline

Definition at line 165 of file MIDI_MessageTypes.hpp.

◆ getCable()

Cable getCable ( ) const
inline

Get the MIDI USB cable number of the message.

Definition at line 168 of file MIDI_MessageTypes.hpp.

◆ setCable()

void setCable ( Cable  cable)
inline

Set the MIDI USB cable number of the message.

Definition at line 170 of file MIDI_MessageTypes.hpp.

Member Data Documentation

◆ data

const uint8_t* data

◆ length

uint8_t length

◆ CN

uint8_t CN

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