NiCMidi 1.1.0
A MIDI library derived from J.D.Koftinoff jdksmidi
MIDIRawMessage Struct Reference

Used by the MIDIInDriver to keep track of incoming messages. More...

#include <driver.h>

Public Member Functions

 MIDIRawMessage (const MIDIMessage &m, tMsecs t, int p)
 The constructor. More...
 

Public Attributes

MIDIMessage msg
 The MIDI Message received from the port. More...
 
tMsecs timestamp
 The absolute time in msecs. More...
 
int port
 The id of the MIDI in port which received the message. More...
 

Detailed Description

Used by the MIDIInDriver to keep track of incoming messages.

It holds a MIDIMessage, a timestamp in milliseconds (from the start of the timer) and the id of the MIDI in port from which the message comes. The MIDIInDriver keeps an internal queue of MIDIRawMessage arrived from its hardware MIDI in port, and you can get them by its methods.

Constructor & Destructor Documentation

◆ MIDIRawMessage()

MIDIRawMessage::MIDIRawMessage ( const MIDIMessage m,
tMsecs  t,
int  p 
)
inline

The constructor.

Member Data Documentation

◆ msg

MIDIMessage MIDIRawMessage::msg

The MIDI Message received from the port.

◆ timestamp

tMsecs MIDIRawMessage::timestamp

The absolute time in msecs.

◆ port

int MIDIRawMessage::port

The id of the MIDI in port which received the message.


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