Loading...
Searching...
No Matches
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>

Public Types

using Entry = ProfileStateEntry
 

Public Member Functions

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.
 
void erase (const Profile &profile)
 Removes the record of a particular profile, equivalent to removing support.
 
auto begin () const
 Gets a const iterator over all profiles, for range-for compatibility.
 
auto end () const
 Gets a const iterator over all profiles, for range-for compatibility.
 
auto empty () const
 Returns true if no profiles are supported.
 
auto size () const
 Returns the number of profiles that are supported at this address.
 

Detailed Description

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

Member Typedef Documentation

◆ Entry

Member Function Documentation

◆ get()

SupportedAndActive 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 > midi_ci::ChannelProfileStates::getActive ( ) const

Returns all profiles that are active at this address.

◆ getInactive()

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

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

◆ set()

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

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

◆ erase()

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

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

◆ begin()

auto midi_ci::ChannelProfileStates::begin ( ) const

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

◆ end()

auto midi_ci::ChannelProfileStates::end ( ) const

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

◆ empty()

auto midi_ci::ChannelProfileStates::empty ( ) const

Returns true if no profiles are supported.

◆ size()

auto midi_ci::ChannelProfileStates::size ( ) const

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


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