JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::midi_ci::ChannelProfileStates Class Reference

Holds the number of channels that are supported and activated for all profiles at a particular channel address. More...

#include <juce_CIProfileStates.h>

Collaboration diagram for juce::midi_ci::ChannelProfileStates:

Public Types

using Entry = ProfileStateEntry
 

Public Member Functions

auto begin () const
 Gets a const iterator over all profiles, for range-for compatibility.
 
auto empty () const
 Returns true if no profiles are supported.
 
auto end () const
 Gets a const iterator over all profiles, for range-for compatibility.
 
void erase (const Profile &profile)
 Removes the record of a particular profile, equivalent to removing support.
 
SupportedAndActive get (const Profile &profile) const
 Returns the number of channels that are supported and active for the given profile.
 
std::vector< ProfilegetActive () const
 Returns all profiles that are active at this address.
 
std::vector< ProfilegetInactive () const
 Returns all profiles that are supported but inactive at this address.
 
void set (const Profile &profile, SupportedAndActive state)
 Sets the number of channels that are supported/active for a given profile.
 
auto size () const
 Returns the number of profiles that are supported at this address.
 

Private Attributes

std::vector< Entryentries
 

Detailed Description

Holds the number of channels that are supported and activated for all profiles at a particular channel address.

@tags{Audio}

Member Typedef Documentation

◆ Entry

Member Function Documentation

◆ begin()

auto juce::midi_ci::ChannelProfileStates::begin ( ) const
inline

Gets a const iterator over all profiles, for range-for compatibility.

References entries.

◆ empty()

auto juce::midi_ci::ChannelProfileStates::empty ( ) const
inline

Returns true if no profiles are supported.

References entries.

◆ end()

auto juce::midi_ci::ChannelProfileStates::end ( ) const
inline

Gets a const iterator over all profiles, for range-for compatibility.

References entries.

◆ erase()

void juce::midi_ci::ChannelProfileStates::erase ( const Profile profile)

Removes the record of a particular profile, equivalent to removing support.

◆ get()

SupportedAndActive juce::midi_ci::ChannelProfileStates::get ( const Profile profile) const

Returns the number of channels that are supported and active for the given profile.

◆ getActive()

std::vector< Profile > juce::midi_ci::ChannelProfileStates::getActive ( ) const

Returns all profiles that are active at this address.

◆ getInactive()

std::vector< Profile > juce::midi_ci::ChannelProfileStates::getInactive ( ) const

Returns all profiles that are supported but inactive at this address.

◆ set()

void juce::midi_ci::ChannelProfileStates::set ( const Profile profile,
SupportedAndActive  state 
)

Sets the number of channels that are supported/active for a given profile.

◆ size()

auto juce::midi_ci::ChannelProfileStates::size ( ) const
inline

Returns the number of profiles that are supported at this address.

References entries.

Member Data Documentation

◆ entries

std::vector<Entry> juce::midi_ci::ChannelProfileStates::entries
private

Referenced by begin(), empty(), end(), and size().


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