Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
PrintDebugMIDI_Base Class Reference

#include <MIDI_Interfaces/DebugMIDI_Interface.hpp>

Detailed Description

A class that implements MIDI debug send functions.

Definition at line 15 of file DebugMIDI_Interface.hpp.

+ Inheritance diagram for PrintDebugMIDI_Base:
+ Collaboration diagram for PrintDebugMIDI_Base:

Public Member Functions

 PrintDebugMIDI_Base (const char *prefix)
 
void setPrefix (const char *prefix)
 Set the prefix to be printed before each message.
 
const chargetPrefix () const
 

Protected Member Functions

void sendChannelMessageImpl (Print &, ChannelMessage)
 
void sendSysCommonImpl (Print &, SysCommonMessage)
 
void sendSysExImpl (Print &, SysExMessage)
 
void sendRealTimeImpl (Print &, RealTimeMessage)
 
void sendNowImpl (Print &)
 

Private Attributes

const charprefix = nullptr
 

Constructor & Destructor Documentation

◆ PrintDebugMIDI_Base()

PrintDebugMIDI_Base ( const char * prefix)
inline

Definition at line 24 of file DebugMIDI_Interface.hpp.

Member Function Documentation

◆ sendChannelMessageImpl()

void sendChannelMessageImpl ( Print & stream,
ChannelMessage msg )
protected

Definition at line 52 of file DebugMIDI_Interface.cpp.

◆ sendSysCommonImpl()

void sendSysCommonImpl ( Print & stream,
SysCommonMessage msg )
protected

Definition at line 93 of file DebugMIDI_Interface.cpp.

◆ sendSysExImpl()

void sendSysExImpl ( Print & stream,
SysExMessage msg )
protected

Definition at line 79 of file DebugMIDI_Interface.cpp.

◆ sendRealTimeImpl()

void sendRealTimeImpl ( Print & stream,
RealTimeMessage msg )
protected

Definition at line 113 of file DebugMIDI_Interface.cpp.

◆ sendNowImpl()

void sendNowImpl ( Print & )
inlineprotected

Definition at line 21 of file DebugMIDI_Interface.hpp.

◆ setPrefix()

void setPrefix ( const char * prefix)
inline

Set the prefix to be printed before each message.

Definition at line 27 of file DebugMIDI_Interface.hpp.

◆ getPrefix()

const char * getPrefix ( ) const
inline

Definition at line 28 of file DebugMIDI_Interface.hpp.

Member Data Documentation

◆ prefix

const char* prefix = nullptr
private

Definition at line 31 of file DebugMIDI_Interface.hpp.


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