Control Surface master
MIDI Control Surface library for Arduino
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
USBDeviceMIDIBackend Struct Reference

#include <MIDI_Interfaces/USBMIDI/USBMIDI_Arduino_mbed.hpp>

Detailed Description

Definition at line 10 of file USBMIDI_Arduino_mbed.hpp.

+ Collaboration diagram for USBDeviceMIDIBackend:

Public Types

using MIDIUSBPacket_t = AH::Array< uint8_t, 4 >
 
using MIDIUSBPacket_t = AH::Array< uint8_t, 4 >
 
using MIDIUSBPacket_t = AH::Array< uint8_t, 4 >
 
using MIDIUSBPacket_t = AH::Array< uint8_t, 4 >
 
using MIDIUSBPacket_t = AH::Array< uint8_t, 4 >
 

Public Member Functions

MIDIUSBPacket_t read ()
 
void write (uint8_t cn_cin, uint8_t midi_0, uint8_t midi_1, uint8_t midi_2)
 
void sendNow ()
 
bool preferImmediateSend ()
 
MIDIUSBPacket_t read ()
 
void write (uint8_t cn_cin, uint8_t midi_0, uint8_t midi_1, uint8_t midi_2)
 
void sendNow ()
 
bool preferImmediateSend ()
 
 MOCK_METHOD (void, write,(uint8_t, uint8_t, uint8_t, uint8_t))
 
 MOCK_METHOD (MIDIUSBPacket_t, read,())
 
 MOCK_METHOD (void, sendNow,())
 
MIDIUSBPacket_t read ()
 
void write (uint8_t cn_cin, uint8_t midi_0, uint8_t midi_1, uint8_t midi_2)
 
void sendNow ()
 
bool preferImmediateSend ()
 
MIDIUSBPacket_t read ()
 
void write (uint8_t cn_cin, uint8_t midi_0, uint8_t midi_1, uint8_t midi_2)
 
void sendNow ()
 
bool preferImmediateSend ()
 

Static Public Member Functions

static bool preferImmediateSend ()
 

Public Attributes

PluggableUSBMIDI backend
 

Member Typedef Documentation

◆ MIDIUSBPacket_t [1/5]

using MIDIUSBPacket_t = AH::Array<uint8_t, 4>

Definition at line 11 of file USBMIDI_Arduino_mbed.hpp.

◆ MIDIUSBPacket_t [2/5]

using MIDIUSBPacket_t = AH::Array<uint8_t, 4>

Definition at line 9 of file USBMIDI_MIDIUSB.hpp.

◆ MIDIUSBPacket_t [3/5]

using MIDIUSBPacket_t = AH::Array<uint8_t, 4>

Definition at line 9 of file USBMIDI_Mock.hpp.

◆ MIDIUSBPacket_t [4/5]

using MIDIUSBPacket_t = AH::Array<uint8_t, 4>

Definition at line 9 of file USBMIDI_Teensy2.hpp.

◆ MIDIUSBPacket_t [5/5]

using MIDIUSBPacket_t = AH::Array<uint8_t, 4>

Definition at line 8 of file USBMIDI_Teensy3.hpp.

Member Function Documentation

◆ read() [1/4]

Definition at line 12 of file USBMIDI_Arduino_mbed.hpp.

◆ write() [1/4]

void write ( uint8_t  cn_cin,
uint8_t  midi_0,
uint8_t  midi_1,
uint8_t  midi_2 
)
inline

Definition at line 13 of file USBMIDI_Arduino_mbed.hpp.

◆ sendNow() [1/4]

void sendNow ( )
inline

Definition at line 16 of file USBMIDI_Arduino_mbed.hpp.

◆ preferImmediateSend() [1/5]

bool preferImmediateSend ( )
inline

Definition at line 17 of file USBMIDI_Arduino_mbed.hpp.

◆ read() [2/4]

MIDIUSBPacket_t read ( )
inline

Definition at line 10 of file USBMIDI_MIDIUSB.hpp.

◆ write() [2/4]

void write ( uint8_t  cn_cin,
uint8_t  midi_0,
uint8_t  midi_1,
uint8_t  midi_2 
)
inline

Definition at line 15 of file USBMIDI_MIDIUSB.hpp.

◆ sendNow() [2/4]

void sendNow ( )
inline

Definition at line 19 of file USBMIDI_MIDIUSB.hpp.

◆ preferImmediateSend() [2/5]

bool preferImmediateSend ( )
inline

Definition at line 20 of file USBMIDI_MIDIUSB.hpp.

◆ MOCK_METHOD() [1/3]

MOCK_METHOD ( void  ,
write  ,
(uint8_t, uint8_t, uint8_t, uint8_t)   
)

◆ MOCK_METHOD() [2/3]

MOCK_METHOD ( MIDIUSBPacket_t  ,
read  ,
()   
)

◆ MOCK_METHOD() [3/3]

MOCK_METHOD ( void  ,
sendNow  ,
()   
)

◆ preferImmediateSend() [3/5]

static bool preferImmediateSend ( )
inlinestatic

Definition at line 15 of file USBMIDI_Mock.hpp.

◆ read() [3/4]

MIDIUSBPacket_t read ( )

◆ write() [3/4]

void write ( uint8_t  cn_cin,
uint8_t  midi_0,
uint8_t  midi_1,
uint8_t  midi_2 
)

◆ sendNow() [3/4]

void sendNow ( )

◆ preferImmediateSend() [4/5]

bool preferImmediateSend ( )

◆ read() [4/4]

MIDIUSBPacket_t read ( )

◆ write() [4/4]

void write ( uint8_t  cn_cin,
uint8_t  midi_0,
uint8_t  midi_1,
uint8_t  midi_2 
)

◆ sendNow() [4/4]

void sendNow ( )

◆ preferImmediateSend() [5/5]

bool preferImmediateSend ( )

Member Data Documentation

◆ backend

Definition at line 19 of file USBMIDI_Arduino_mbed.hpp.


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