Control Surface new-input
MIDI Control Surface library for Arduino
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
RealTimeMessage Struct Reference

#include <MIDI_Parsers/MIDI_MessageTypes.hpp>

Detailed Description

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

Definition at line 326 of file MIDI_MessageTypes.hpp.

+ Collaboration diagram for RealTimeMessage:

Public Member Functions

 RealTimeMessage (uint8_t message, Cable cable=CABLE_1)
 Constructor.
 
 RealTimeMessage (MIDIMessageType message, Cable cable=CABLE_1)
 Constructor.
 
bool operator== (RealTimeMessage other) const
 
bool operator!= (RealTimeMessage other) const
 
void setMessageType (MIDIMessageType type)
 Set the MIDI message type.
 
MIDIMessageType getMessageType () const
 Get the MIDI message type.
 
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 isValid () const
 Check whether the header is a valid header for a Real-Time message.
 

Public Attributes

uint8_t message
 
Cable cable
 

Static Public Attributes

constexpr static auto TIMING_CLOCK = MIDIMessageType::TIMING_CLOCK
 
constexpr static auto UNDEFINED_REALTIME_1
  More...
 
constexpr static auto START = MIDIMessageType::START
 
constexpr static auto CONTINUE = MIDIMessageType::CONTINUE
 
constexpr static auto STOP = MIDIMessageType::STOP
 
constexpr static auto UNDEFINED_REALTIME_2
  More...
 
constexpr static auto ACTIVE_SENSING = MIDIMessageType::ACTIVE_SENSING
 
constexpr static auto RESET = MIDIMessageType::SYSTEM_RESET
 

Member Data Documentation

◆ UNDEFINED_REALTIME_1

constexpr static auto UNDEFINED_REALTIME_1
staticconstexpr
Initial value:

Definition at line 361 of file MIDI_MessageTypes.hpp.

◆ UNDEFINED_REALTIME_2

constexpr static auto UNDEFINED_REALTIME_2
staticconstexpr
Initial value:

Definition at line 366 of file MIDI_MessageTypes.hpp.


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