AudioDataLib
A C++ library of classes supporting a variety of audio-data tasks.
Loading...
Searching...
No Matches
AudioDataLib::MidiMsgLogDestination Class Referenceabstract

This class is used mainly for diagnostic purposes, providing log message output as MIDI message input is received. More...

#include <MidiMsgLogDestination.h>

Inheritance diagram for AudioDataLib::MidiMsgLogDestination:
AudioDataLib::MidiMsgDestination

Public Member Functions

 MidiMsgLogDestination ()
 
virtual ~MidiMsgLogDestination ()
 
virtual bool ReceiveMessage (double deltaTimeSeconds, const uint8_t *message, uint64_t messageSize, Error &error) override
 
virtual void LogMessage (const std::string &message)=0
 
- Public Member Functions inherited from AudioDataLib::MidiMsgDestination
 MidiMsgDestination ()
 
virtual ~MidiMsgDestination ()
 
virtual bool Initialize (Error &error)
 
virtual bool Finalize (Error &error)
 
virtual bool Process (Error &error)
 

Detailed Description

This class is used mainly for diagnostic purposes, providing log message output as MIDI message input is received.

Constructor & Destructor Documentation

◆ MidiMsgLogDestination()

MidiMsgLogDestination::MidiMsgLogDestination ( )

◆ ~MidiMsgLogDestination()

MidiMsgLogDestination::~MidiMsgLogDestination ( )
virtual

Member Function Documentation

◆ LogMessage()

virtual void AudioDataLib::MidiMsgLogDestination::LogMessage ( const std::string & message)
pure virtual

The user should override this to provide a place for the log output to go.

Parameters
[in]messageThis is a string contain information about the MIDI message recieved.

◆ ReceiveMessage()

bool MidiMsgLogDestination::ReceiveMessage ( double deltaTimeSeconds,
const uint8_t * message,
uint64_t messageSize,
Error & error )
overridevirtual

This will call the LogMessage method with an appropriately formatted log message string.

Reimplemented from AudioDataLib::MidiMsgDestination.


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