Identifies a channel or set of channels in a multi-group MIDI endpoint. More...
#include <juce_CIChannelAddress.h>
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 |
Identifies a channel or set of channels in a multi-group MIDI endpoint.
|
nodiscard |
Returns a copy of this object with the specified group.
References isPositiveAndBelow(), jassert, and withMember().
|
nodiscard |
Returns a copy of this object with the specified channel.
References withMember().
|
nodiscard |
Returns the group.
|
nodiscard |
Returns the channel in the group.
bool midi_ci::ChannelAddress::isBlock | ( | ) | const |
Returns true if this address refers to all channels in the function block containing the specified group.
References midi_ci::wholeBlock.
Referenced by isSingleChannel().
bool midi_ci::ChannelAddress::isGroup | ( | ) | const |
Returns true if this address refers to all channels in the specified group.
References midi_ci::wholeGroup.
Referenced by isSingleChannel().
bool midi_ci::ChannelAddress::isSingleChannel | ( | ) | const |
bool midi_ci::ChannelAddress::operator< | ( | const ChannelAddress & | other | ) | const |
bool midi_ci::ChannelAddress::operator<= | ( | const ChannelAddress & | other | ) | const |
bool midi_ci::ChannelAddress::operator> | ( | const ChannelAddress & | other | ) | const |
bool midi_ci::ChannelAddress::operator>= | ( | const ChannelAddress & | other | ) | const |
bool midi_ci::ChannelAddress::operator== | ( | const ChannelAddress & | other | ) | const |
Referenced by operator!=().
bool midi_ci::ChannelAddress::operator!= | ( | const ChannelAddress & | other | ) | const |
References operator==().