Control Surface master
MIDI Control Surface library for Arduino
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. 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...
 

Constructor & Destructor Documentation

◆ ~MIDIStaller()

virtual ~MIDIStaller ( )
virtualdefault

Member Function Documentation

◆ getName()

virtual const char * getName ( ) const
inlinevirtual

Get the staller's name for debugging purposes.

Definition at line 15 of file MIDI_Staller.hpp.

◆ 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 354 of file MIDI_Pipes.cpp.


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