Identifies a MIDI endpoint. More...
Public Member Functions | |
| EndpointId ()=default | |
| bool | operator== (const EndpointId &x) const |
| bool | operator!= (const EndpointId &x) const |
| bool | operator< (const EndpointId &x) const |
| bool | operator<= (const EndpointId &x) const |
| bool | operator> (const EndpointId &x) const |
| bool | operator>= (const EndpointId &x) const |
| String | get (IOKind k) const |
Static Public Member Functions | |
| static EndpointId | make (IOKind dir, const String &id) |
| static EndpointId | makeSrcDst (const String &s, const String &d) |
Public Attributes | |
| String | src |
| String | dst |
Identifies a MIDI endpoint.
This is intended to be an opaque type that can only be compared with other instances.
For backwards compatibility, we need to ensure that port identifier strings that used to work with MidiInput and MidiOutput continue to function in the same way. However, the old identifiers weren't necessarily unique between inputs and outputs (a MIDI 1.0 input and output could have the same ID), which means that a single id string isn't enough to uniquely identify an input or output port.
|
default |
| bool juce::universal_midi_packets::EndpointId::operator== | ( | const EndpointId & | x | ) | const |
| bool juce::universal_midi_packets::EndpointId::operator!= | ( | const EndpointId & | x | ) | const |
| bool juce::universal_midi_packets::EndpointId::operator< | ( | const EndpointId & | x | ) | const |
| bool juce::universal_midi_packets::EndpointId::operator<= | ( | const EndpointId & | x | ) | const |
| bool juce::universal_midi_packets::EndpointId::operator> | ( | const EndpointId & | x | ) | const |
| bool juce::universal_midi_packets::EndpointId::operator>= | ( | const EndpointId & | x | ) | const |
References dst, juce::universal_midi_packets::src, and src.
|
inlinestatic |
References makeSrcDst(), and juce::universal_midi_packets::src.
|
inlinestatic |
Referenced by make().