Loading...
Searching...
No Matches
midi_ci::ProfileDelegate Struct Referenceabstract

An interface with methods that can be overridden to customise how a Device implementing profiles responds to profile inquiries. More...

#include <juce_CIProfileDelegate.h>

Public Member Functions

 ProfileDelegate ()=default
 
virtual ~ProfileDelegate ()=default
 
 ProfileDelegate (const ProfileDelegate &)=default
 
 ProfileDelegate (ProfileDelegate &&)=default
 
ProfileDelegateoperator= (const ProfileDelegate &)=default
 
ProfileDelegateoperator= (ProfileDelegate &&)=default
 
virtual void profileEnablementRequested (MUID x, ProfileAtAddress profileAtAddress, int numChannels, bool enabled)=0
 Called when a remote device requests that a profile is enabled or disabled.
 

Detailed Description

An interface with methods that can be overridden to customise how a Device implementing profiles responds to profile inquiries.

Constructor & Destructor Documentation

◆ ProfileDelegate() [1/3]

midi_ci::ProfileDelegate::ProfileDelegate ( )
default

◆ ~ProfileDelegate()

virtual midi_ci::ProfileDelegate::~ProfileDelegate ( )
virtualdefault

◆ ProfileDelegate() [2/3]

midi_ci::ProfileDelegate::ProfileDelegate ( const ProfileDelegate & )
default

◆ ProfileDelegate() [3/3]

midi_ci::ProfileDelegate::ProfileDelegate ( ProfileDelegate && )
default

Member Function Documentation

◆ operator=() [1/2]

ProfileDelegate & midi_ci::ProfileDelegate::operator= ( const ProfileDelegate & )
default

◆ operator=() [2/2]

ProfileDelegate & midi_ci::ProfileDelegate::operator= ( ProfileDelegate && )
default

◆ profileEnablementRequested()

virtual void 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.

Additionally, profiles for entire groups or function blocks may be enabled with zero active channels. In this case, the profile should be enabled on the entire group or function block.


The documentation for this struct was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram