Loading...
Searching...
No Matches
midi_ci::ChannelAddress Class Reference

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
 

Detailed Description

Identifies a channel or set of channels in a multi-group MIDI endpoint.

Member Function Documentation

◆ withGroup()

ChannelAddress midi_ci::ChannelAddress::withGroup ( int g) const
nodiscard

Returns a copy of this object with the specified group.

References isPositiveAndBelow(), jassert, and withMember().

◆ withChannel()

ChannelAddress midi_ci::ChannelAddress::withChannel ( ChannelInGroup c) const
nodiscard

Returns a copy of this object with the specified channel.

References withMember().

◆ getGroup()

uint8_t midi_ci::ChannelAddress::getGroup ( ) const
nodiscard

Returns the group.

◆ getChannel()

ChannelInGroup midi_ci::ChannelAddress::getChannel ( ) const
nodiscard

Returns the channel in the group.

◆ isBlock()

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().

◆ isGroup()

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().

◆ isSingleChannel()

bool midi_ci::ChannelAddress::isSingleChannel ( ) const

Returns true if this address refers to a single channel.

References isBlock(), and isGroup().

◆ operator<()

bool midi_ci::ChannelAddress::operator< ( const ChannelAddress & other) const

◆ operator<=()

bool midi_ci::ChannelAddress::operator<= ( const ChannelAddress & other) const

◆ operator>()

bool midi_ci::ChannelAddress::operator> ( const ChannelAddress & other) const

◆ operator>=()

bool midi_ci::ChannelAddress::operator>= ( const ChannelAddress & other) const

◆ operator==()

bool midi_ci::ChannelAddress::operator== ( const ChannelAddress & other) const

Referenced by operator!=().

◆ operator!=()

bool midi_ci::ChannelAddress::operator!= ( const ChannelAddress & other) const

References operator==().


The documentation for this class was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram