Identifies a channel or set of channels in a multi-group MIDI endpoint. More...
#include <juce_CIChannelAddress.h>

Public Member Functions | |
| ChannelInGroup | getChannel () const |
| Returns the channel in the group. | |
| uint8_t | getGroup () const |
| Returns 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 |
| ChannelAddress | withChannel (ChannelInGroup c) const |
| Returns a copy of this object with the specified channel. | |
| ChannelAddress | withGroup (int g) const |
| Returns a copy of this object with the specified group. | |
Private Member Functions | |
| auto | tie () const |
Private Attributes | |
| ChannelInGroup | channel {} |
| A set of channels related to specified group. | |
| uint8_t | group {} |
| A group within a MIDI endpoint, where 0 <= group && group < 16. | |
Identifies a channel or set of channels in a multi-group MIDI endpoint.
@tags{Audio}
|
inline |
Returns the channel in the group.
References channel.
|
inline |
Returns the group.
References group.
|
inline |
Returns true if this address refers to all channels in the function block containing the specified group.
References channel, and juce::midi_ci::wholeBlock.
Referenced by isSingleChannel().
|
inline |
Returns true if this address refers to all channels in the specified group.
References channel, and juce::midi_ci::wholeGroup.
Referenced by isSingleChannel().
|
inline |
|
inline |
References operator==().
|
inline |
References tie().
|
inline |
References tie().
|
inline |
References tie().
Referenced by operator!=().
|
inline |
References tie().
|
inline |
References tie().
|
inlineprivate |
References channel, and group.
Referenced by operator<(), operator<=(), operator==(), operator>(), and operator>=().
|
inline |
Returns a copy of this object with the specified channel.
References channel, and juce::withMember().
|
inline |
Returns a copy of this object with the specified group.
References group, juce::isPositiveAndBelow(), jassert, and juce::withMember().
|
private |
A set of channels related to specified group.
Referenced by getChannel(), isBlock(), isGroup(), tie(), and withChannel().
|
private |
A group within a MIDI endpoint, where 0 <= group && group < 16.
Referenced by getGroup(), tie(), and withGroup().