|
JUCE
|
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< Profile > | getActive () const |
| Returns all profiles that are active at this address. | |
| std::vector< Profile > | getInactive () 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. | |
Holds the number of channels that are supported and activated for all profiles at a particular channel address.
| SupportedAndActive juce::midi_ci::ChannelProfileStates::get | ( | const Profile & | profile | ) | const |
Returns the number of channels that are supported and active for the given profile.
| std::vector< Profile > juce::midi_ci::ChannelProfileStates::getActive | ( | ) | const |
Returns all profiles that are active at this address.
| std::vector< Profile > juce::midi_ci::ChannelProfileStates::getInactive | ( | ) | const |
Returns all profiles that are supported but inactive at this address.
| void juce::midi_ci::ChannelProfileStates::set | ( | const Profile & | profile, |
| SupportedAndActive | state ) |
Sets the number of channels that are supported/active for a given profile.
| void juce::midi_ci::ChannelProfileStates::erase | ( | const Profile & | profile | ) |
Removes the record of a particular profile, equivalent to removing support.
| auto juce::midi_ci::ChannelProfileStates::begin | ( | ) | const |
Gets a const iterator over all profiles, for range-for compatibility.
| auto juce::midi_ci::ChannelProfileStates::end | ( | ) | const |
Gets a const iterator over all profiles, for range-for compatibility.
| auto juce::midi_ci::ChannelProfileStates::empty | ( | ) | const |
Returns true if no profiles are supported.
| auto juce::midi_ci::ChannelProfileStates::size | ( | ) | const |
Returns the number of profiles that are supported at this address.