#include <MIDI_Parsers/MIDI_MessageTypes.hpp>
Definition at line 354 of file MIDI_MessageTypes.hpp.
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 | |
static constexpr auto | TimingClock = MIDIMessageType::TimingClock |
static constexpr auto | UndefinedRealTime1 |
static constexpr auto | Start = MIDIMessageType::Start |
static constexpr auto | Continue = MIDIMessageType::Continue |
static constexpr auto | Stop = MIDIMessageType::Stop |
static constexpr auto | UndefinedRealTime2 |
static constexpr auto | ActiveSensing = MIDIMessageType::ActiveSensing |
static constexpr auto | RESET = MIDIMessageType::SystemReset |
|
inline |
Constructor.
Definition at line 356 of file MIDI_MessageTypes.hpp.
|
inline |
Constructor.
Definition at line 360 of file MIDI_MessageTypes.hpp.
|
inline |
Definition at line 366 of file MIDI_MessageTypes.hpp.
|
inline |
Definition at line 369 of file MIDI_MessageTypes.hpp.
|
inline |
Set the MIDI message type.
Definition at line 372 of file MIDI_MessageTypes.hpp.
|
inline |
Get the MIDI message type.
Definition at line 376 of file MIDI_MessageTypes.hpp.
|
inline |
Get the MIDI USB cable number of the message.
Definition at line 381 of file MIDI_MessageTypes.hpp.
|
inline |
Set the MIDI USB cable number of the message.
Definition at line 383 of file MIDI_MessageTypes.hpp.
|
inline |
Check whether the header is a valid header for a Real-Time message.
Definition at line 386 of file MIDI_MessageTypes.hpp.
uint8_t message |
Definition at line 363 of file MIDI_MessageTypes.hpp.
Cable cable |
Definition at line 364 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 388 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 389 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 391 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 392 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 393 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 394 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 396 of file MIDI_MessageTypes.hpp.
|
staticconstexpr |
Definition at line 397 of file MIDI_MessageTypes.hpp.