Identifies a channel or set of channels in a multi-group MIDI endpoint.
Public Member Functions | |
ChannelAddress | withGroup (int g) const |
Returns a copy of this object with the specified group. | |
ChannelAddress | withChannel (ChannelInGroup c) const |
Returns a copy of this object with the specified channel. | |
uint8_t | getGroup () const |
Returns the group. | |
ChannelInGroup | getChannel () const |
Returns the channel in the group. | |
bool | isBlock () const |
Returns true if this address refers to all channels in the function block containing the specified group. | |
bool | isGroup () const |
Returns true if this address refers to all channels in the specified group. | |
bool | isSingleChannel () const |
Returns true if this address refers to a single channel. | |
bool | operator< (const ChannelAddress &other) const |
bool | operator<= (const ChannelAddress &other) const |
bool | operator> (const ChannelAddress &other) const |
bool | operator>= (const ChannelAddress &other) const |
bool | operator== (const ChannelAddress &other) const |
bool | operator!= (const ChannelAddress &other) const |
|
inlinenodiscard |
Returns a copy of this object with the specified group.
References juce::isPositiveAndBelow(), jassert, and juce::withMember().
|
inlinenodiscard |
Returns a copy of this object with the specified channel.
References juce::withMember().
|
inlinenodiscard |
Returns the group.
|
inlinenodiscard |
Returns the channel in the group.
|
inline |
Returns true if this address refers to all channels in the function block containing the specified group.
References juce::midi_ci::wholeBlock.
Referenced by isSingleChannel().
|
inline |
Returns true if this address refers to all channels in the specified group.
References juce::midi_ci::wholeGroup.
Referenced by isSingleChannel().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by operator!=().
|
inline |
References operator==().