Holds the maximum number of channels that may be activated for a MIDI-CI profile, along with the number of channels that are currently active. More...
#include <juce_CISupportedAndActive.h>
Public Member Functions | |
bool | isSupported () const |
Returns true if supported is non-zero. | |
bool | isActive () const |
Returns true if active is non-zero. | |
bool | operator== (const SupportedAndActive &other) const |
bool | operator!= (const SupportedAndActive &other) const |
Public Attributes | |
uint16_t | supported {} |
The maximum number of member channels for a profile. | |
uint16_t | active {} |
The number of member channels currently active for a profile. | |
Holds the maximum number of channels that may be activated for a MIDI-CI profile, along with the number of channels that are currently active.
bool midi_ci::SupportedAndActive::isSupported | ( | ) | const |
Returns true if supported is non-zero.
References supported.
bool midi_ci::SupportedAndActive::isActive | ( | ) | const |
Returns true if active is non-zero.
References active.
bool midi_ci::SupportedAndActive::operator== | ( | const SupportedAndActive & | other | ) | const |
References x.
Referenced by operator!=().
bool midi_ci::SupportedAndActive::operator!= | ( | const SupportedAndActive & | other | ) | const |
References operator==().
uint16_t midi_ci::SupportedAndActive::supported {} |
The maximum number of member channels for a profile.
0 indicates that the profile is unsupported. For group/block profiles, 1/0 indicates that the profile is supported/unsupported respectively.
Referenced by isSupported().
uint16_t midi_ci::SupportedAndActive::active {} |
The number of member channels currently active for a profile.
0 indicates that the profile is inactive. For group/block profiles, 1/0 indicates that the profile is supported/unsupported respectively.
Referenced by isActive().