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)
inline

Definition at line 24 of file DebugMIDI_Interface.hpp.

Member Function Documentation

◆ sendChannelMessageImpl()

void sendChannelMessageImpl ( Stream &  stream,
ChannelMessage  msg 
)
protected

Definition at line 52 of file DebugMIDI_Interface.cpp.

◆ sendSysCommonImpl()

void sendSysCommonImpl ( Stream &  stream,
SysCommonMessage  msg 
)
protected

Definition at line 89 of file DebugMIDI_Interface.cpp.

◆ sendSysExImpl()

void sendSysExImpl ( Stream &  stream,
SysExMessage  msg 
)
protected

Definition at line 77 of file DebugMIDI_Interface.cpp.

◆ sendRealTimeImpl()

void sendRealTimeImpl ( Stream &  stream,
RealTimeMessage  msg 
)
protected

Definition at line 107 of file DebugMIDI_Interface.cpp.

◆ sendNowImpl()

void sendNowImpl ( Stream &  )
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: