#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. | |
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. | |
Static Public Member Functions | |
static const char * | getNameNull (MIDIStaller *s) |
Get the staller's name for debugging purposes. | |
|
virtualdefault |
|
inlinevirtual |
Get the staller's name for debugging purposes.
Reimplemented in StreamDebugMIDI_Interface, GenericBLEMIDI_Interface< Backend >, GenericBLEMIDI_Interface< BLEMIDIBackend >, StreamMIDI_Interface, GenericUSBMIDI_Interface< Backend >, GenericUSBMIDI_Interface< USBDeviceMIDIBackend >, GenericUSBMIDI_Interface< USBHostMIDIBackend< 512 > >, GenericUSBMIDI_Interface< USBHostMIDIBackend< 64 > >, and FortySevenEffectsMIDI_Interface< MidiInterface >.
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 StreamDebugMIDI_Interface, GenericBLEMIDI_Interface< Backend >, GenericBLEMIDI_Interface< BLEMIDIBackend >, StreamMIDI_Interface, GenericUSBMIDI_Interface< Backend >, GenericUSBMIDI_Interface< USBDeviceMIDIBackend >, GenericUSBMIDI_Interface< USBHostMIDIBackend< 512 > >, GenericUSBMIDI_Interface< USBHostMIDIBackend< 64 > >, FortySevenEffectsMIDI_Interface< MidiInterface >, and MIDI_Interface.
|
static |
Get the staller's name for debugging purposes.
Correctly deals with null pointers or eternal stallers.
Definition at line 357 of file MIDI_Pipes.cpp.