#include <MIDI_Interfaces/MIDI_Staller.hpp>
Struct that can cause a MIDI_Pipe to be stalled.
Definition at line 12 of file MIDI_Staller.hpp.
Public Member Functions | |
virtual | ~MIDIStaller ()=default |
virtual const char * | getName () const |
Get the staller's name for debugging purposes. More... | |
virtual void | handleStall ()=0 |
Call back that should finish any MIDI messages that are in progress, and un-stall the pipe or MIDI source as quickly as possible. More... | |
Static Public Member Functions | |
static const char * | getNameNull (MIDIStaller *s) |
Get the staller's name for debugging purposes. More... | |
|
virtualdefault |
|
inlinevirtual |
Get the staller's name for debugging purposes.
Definition at line 15 of file MIDI_Staller.hpp.
|
pure virtual |
Call back that should finish any MIDI messages that are in progress, and un-stall the pipe or MIDI source as quickly as possible.
Implemented in BluetoothMIDI_Interface, StreamDebugMIDI_Interface, StreamMIDI_Interface, GenericUSBMIDI_Interface< Backend >, GenericUSBMIDI_Interface< USBHostMIDIBackend< 64 > >, GenericUSBMIDI_Interface< USBHostMIDIBackend< 512 > >, GenericUSBMIDI_Interface< USBDeviceMIDIBackend >, and FortySevenEffectsMIDI_Interface< MidiInterface >.
|
static |
Get the staller's name for debugging purposes.
Correctly deals with null pointers or eternal stallers.
Definition at line 354 of file MIDI_Pipes.cpp.