Control Surface master
MIDI Control Surface library for Arduino
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
StreamDebugMIDI_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 StreamDebugMIDI_Base:
+ Collaboration diagram for StreamDebugMIDI_Base:

Public Member Functions

 StreamDebugMIDI_Base (const char *prefix)
void setPrefix (const char *prefix)
 Set the prefix to be printed before each message. More...
const char * getPrefix () const

Protected Member Functions

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

Private Attributes

const char * prefix = nullptr

Constructor & Destructor Documentation

◆ StreamDebugMIDI_Base()

StreamDebugMIDI_Base ( const char *  prefix)

Definition at line 24 of file DebugMIDI_Interface.hpp.

Member Function Documentation

◆ sendChannelMessageImpl()

void sendChannelMessageImpl ( Stream &  stream,
ChannelMessage  msg 

Definition at line 52 of file DebugMIDI_Interface.cpp.

◆ sendSysCommonImpl()

void sendSysCommonImpl ( Stream &  stream,
SysCommonMessage  msg 

Definition at line 89 of file DebugMIDI_Interface.cpp.

◆ sendSysExImpl()

void sendSysExImpl ( Stream &  stream,
SysExMessage  msg 

Definition at line 77 of file DebugMIDI_Interface.cpp.

◆ sendRealTimeImpl()

void sendRealTimeImpl ( Stream &  stream,
RealTimeMessage  msg 

Definition at line 107 of file DebugMIDI_Interface.cpp.

◆ sendNowImpl()

void sendNowImpl ( Stream &  )

Definition at line 21 of file DebugMIDI_Interface.hpp.

◆ setPrefix()

void setPrefix ( const char *  prefix)

Set the prefix to be printed before each message.

Definition at line 27 of file DebugMIDI_Interface.hpp.

◆ getPrefix()

const char * getPrefix ( ) const

Definition at line 28 of file DebugMIDI_Interface.hpp.

Member Data Documentation

◆ prefix

const char* prefix = nullptr

Definition at line 31 of file DebugMIDI_Interface.hpp.

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