An interface with methods that can be overridden to customise how a Device implementing profiles responds to profile inquiries.
More...
#include <juce_CIProfileDelegate.h>
An interface with methods that can be overridden to customise how a Device implementing profiles responds to profile inquiries.
◆ ProfileDelegate() [1/3]
juce::midi_ci::ProfileDelegate::ProfileDelegate |
( |
| ) |
|
|
default |
◆ ~ProfileDelegate()
virtual juce::midi_ci::ProfileDelegate::~ProfileDelegate |
( |
| ) |
|
|
virtualdefault |
◆ ProfileDelegate() [2/3]
juce::midi_ci::ProfileDelegate::ProfileDelegate |
( |
const ProfileDelegate & |
| ) |
|
|
default |
◆ ProfileDelegate() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ profileEnablementRequested()
virtual void juce::midi_ci::ProfileDelegate::profileEnablementRequested |
( |
MUID |
x, |
|
|
ProfileAtAddress |
profileAtAddress, |
|
|
int |
numChannels, |
|
|
bool |
enabled |
|
) |
| |
|
pure virtual |
Called when a remote device requests that a profile is enabled or disabled.
Old MIDI-CI implementations on remote devices may request that a profile is enabled with zero channels active - in this situation, it is recommended that you use ProfileHost::enableProfile to enable the default number of channels for that profile.
The documentation for this struct was generated from the following file: