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

#include <MIDI_Interfaces/MIDI_Staller.hpp>

Detailed Description

Struct that can cause a MIDI_Pipe to be stalled.

Definition at line 12 of file MIDI_Staller.hpp.

+ Inheritance diagram for MIDIStaller:
+ Collaboration diagram for MIDIStaller:

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.
 

Constructor & Destructor Documentation

◆ ~MIDIStaller()

virtual ~MIDIStaller ( )
virtualdefault

Member Function Documentation

◆ getName()

virtual const char * getName ( ) const
inlinevirtual

◆ handleStall()

virtual void handleStall ( )
pure virtual

◆ getNameNull()

const char * getNameNull ( MIDIStaller * s)
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.


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