Control Surface main
MIDI Control Surface library for Arduino
Classes | Public Member Functions | Public Attributes | List of all members
MIDIMessageQueue::MIDIMessageQueueElement Struct Reference

#include <MIDI_Interfaces/BLEMIDI/MIDIMessageQueue.hpp>

Detailed Description

Definition at line 14 of file MIDIMessageQueue.hpp.

+ Collaboration diagram for MIDIMessageQueue::MIDIMessageQueueElement:

Classes

union  Message
 

Public Member Functions

 MIDIMessageQueueElement ()=default
 
 MIDIMessageQueueElement (ChannelMessage message, uint16_t timestamp)
 
 MIDIMessageQueueElement (SysCommonMessage message, uint16_t timestamp)
 
 MIDIMessageQueueElement (RealTimeMessage message, uint16_t timestamp)
 
 MIDIMessageQueueElement (SysExMessage message, uint16_t timestamp)
 
 MIDIMessageQueueElement (const MIDIMessageQueueElement &)=delete
 No copy constructor. More...
 
MIDIMessageQueueElementoperator= (const MIDIMessageQueueElement &)=delete
 No copy assignment. More...
 
 MIDIMessageQueueElement (MIDIMessageQueueElement &&that)
 Move constructor. More...
 
MIDIMessageQueueElementoperator= (MIDIMessageQueueElement &&that)
 Move assignemnt. More...
 
void release ()
 Deallocate the storage for the SysEx data (if present). More...
 
 ~MIDIMessageQueueElement ()
 

Public Attributes

MIDIReadEvent eventType = MIDIReadEvent::NO_MESSAGE
 
union MIDIMessageQueue::MIDIMessageQueueElement::Message message
 
uint16_t timestamp = 0xFFFF
 

Constructor & Destructor Documentation

◆ MIDIMessageQueueElement() [1/7]

◆ MIDIMessageQueueElement() [2/7]

MIDIMessageQueueElement ( ChannelMessage  message,
uint16_t  timestamp 
)
inline

Definition at line 31 of file MIDIMessageQueue.hpp.

◆ MIDIMessageQueueElement() [3/7]

MIDIMessageQueueElement ( SysCommonMessage  message,
uint16_t  timestamp 
)
inline

Definition at line 34 of file MIDIMessageQueue.hpp.

◆ MIDIMessageQueueElement() [4/7]

MIDIMessageQueueElement ( RealTimeMessage  message,
uint16_t  timestamp 
)
inline

Definition at line 37 of file MIDIMessageQueue.hpp.

◆ MIDIMessageQueueElement() [5/7]

MIDIMessageQueueElement ( SysExMessage  message,
uint16_t  timestamp 
)

◆ MIDIMessageQueueElement() [6/7]

No copy constructor.

◆ MIDIMessageQueueElement() [7/7]

Move constructor.

◆ ~MIDIMessageQueueElement()

Definition at line 55 of file MIDIMessageQueue.hpp.

Member Function Documentation

◆ operator=() [1/2]

MIDIMessageQueueElement & operator= ( const MIDIMessageQueueElement )
delete

No copy assignment.

◆ operator=() [2/2]

Move assignemnt.

◆ release()

void release ( )

Deallocate the storage for the SysEx data (if present).

Member Data Documentation

◆ eventType

Definition at line 15 of file MIDIMessageQueue.hpp.

◆ message

◆ timestamp

uint16_t timestamp = 0xFFFF

Definition at line 28 of file MIDIMessageQueue.hpp.


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