Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
USBDeviceMIDIBackend Struct Reference

#include <MIDI_Interfaces/USBMIDI/USBMIDI_Mock.hpp>

Detailed Description

Definition at line 8 of file USBMIDI_Mock.hpp.

+ Collaboration diagram for USBDeviceMIDIBackend:

Public Types

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

Public Member Functions

 MOCK_METHOD (void, write,(uint8_t, uint8_t, uint8_t, uint8_t))
 
 MOCK_METHOD (MIDIUSBPacket_t, read,())
 
 MOCK_METHOD (void, sendNow,())
 
void write (MIDIUSBPacket_t d)
 

Static Public Member Functions

static bool preferImmediateSend ()
 

Member Typedef Documentation

◆ MIDIUSBPacket_t

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

Definition at line 9 of file USBMIDI_Mock.hpp.

Member Function Documentation

◆ 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 ,
()  )

◆ write()

void write ( MIDIUSBPacket_t d)
inline

Definition at line 14 of file USBMIDI_Mock.hpp.

◆ preferImmediateSend()

static bool preferImmediateSend ( )
inlinestatic

Definition at line 17 of file USBMIDI_Mock.hpp.


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