Vital
Loading...
Searching...
No Matches
MidiManager::PresetLoadedCallback Struct Reference

A callback message class that notifies listeners of preset changes through MIDI. More...

#include <midi_manager.h>

Inheritance diagram for MidiManager::PresetLoadedCallback:

Public Member Functions

 PresetLoadedCallback (Listener *lis, File pre)
 Constructs a PresetLoadedCallback.
 
void messageCallback () override
 The callback invoked when the message is delivered.
 

Public Attributes

Listenerlistener
 The listener to notify.
 
File preset
 The preset file that was loaded.
 

Detailed Description

A callback message class that notifies listeners of preset changes through MIDI.

When dispatched, it calls the listener's presetChangedThroughMidi method.

Constructor & Destructor Documentation

◆ PresetLoadedCallback()

MidiManager::PresetLoadedCallback::PresetLoadedCallback ( Listener * lis,
File pre )
inline

Constructs a PresetLoadedCallback.

Parameters
lisThe listener to notify.
preThe preset file that was loaded.

Member Function Documentation

◆ messageCallback()

void MidiManager::PresetLoadedCallback::messageCallback ( )
inlineoverride

The callback invoked when the message is delivered.

Member Data Documentation

◆ listener

Listener* MidiManager::PresetLoadedCallback::listener

The listener to notify.

◆ preset

File MidiManager::PresetLoadedCallback::preset

The preset file that was loaded.


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