Static information about a particular MIDI device that can be queried without opening a connection to the device.
This information differs from the detailed information in the Endpoint struct, in that the StaticDeviceInformation is communicated out-of-band, whereas Endpoint information is communicated in-band, i.e. it is sent as MIDI messages after establishing a connection to the device.
Public Member Functions | |
StaticDeviceInfo | withName (const String &x) const |
StaticDeviceInfo | withManufacturer (const String &x) const |
StaticDeviceInfo | withProduct (const String &x) const |
StaticDeviceInfo | withHasSource (bool x) const |
StaticDeviceInfo | withHasDestination (bool x) const |
StaticDeviceInfo | withTransport (Transport x) const |
StaticDeviceInfo | withLegacyIdentifiersSrc (Span< const String, 16 > x) const |
StaticDeviceInfo | withLegacyIdentifiersDst (Span< const String, 16 > x) const |
StaticDeviceInfo | withLegacyIdentifiers (IOKind k, Span< const String, 16 > x) const |
String | getName () const |
String | getManufacturer () const |
String | getProduct () const |
bool | hasSource () const |
bool | hasDestination () const |
Transport | getTransport () const |
Span< const String, 16 > | getLegacyIdentifiersSrc () const & |
Returns an identifier to uniquely identify each group, for use with the legacy MIDI API. | |
Span< const String, 16 > | getLegacyIdentifiersDst () const & |
Returns an identifier to uniquely identify each group, for use with the legacy MIDI API. | |
Span< const String, 16 > | getLegacyIdentifiers (IOKind k) const & |
Span< const String, 16 > | getLegacyIdentifiersSrc () const &&=delete |
Span< const String, 16 > | getLegacyIdentifiersDst () const &&=delete |
Span< const String, 16 > | getLegacyIdentifiers (IOKind) const &&=delete |
|
nodiscard |
References juce::withMember(), and x.
|
nodiscard |
References juce::withMember(), and x.
|
nodiscard |
References juce::withMember(), and x.
|
nodiscard |
References juce::withMember(), and x.
|
nodiscard |
References juce::withMember(), and x.
|
nodiscard |
References juce::withMember(), and x.
|
nodiscard |
References x.
Referenced by withLegacyIdentifiers().
|
nodiscard |
References x.
Referenced by withLegacyIdentifiers().
|
nodiscard |
References juce::universal_midi_packets::src, withLegacyIdentifiersDst(), withLegacyIdentifiersSrc(), and x.
String juce::universal_midi_packets::StaticDeviceInfo::getName | ( | ) | const |
String juce::universal_midi_packets::StaticDeviceInfo::getManufacturer | ( | ) | const |
String juce::universal_midi_packets::StaticDeviceInfo::getProduct | ( | ) | const |
bool juce::universal_midi_packets::StaticDeviceInfo::hasSource | ( | ) | const |
bool juce::universal_midi_packets::StaticDeviceInfo::hasDestination | ( | ) | const |
Transport juce::universal_midi_packets::StaticDeviceInfo::getTransport | ( | ) | const |
Span< const String, 16 > juce::universal_midi_packets::StaticDeviceInfo::getLegacyIdentifiersSrc | ( | ) | const & |
Returns an identifier to uniquely identify each group, for use with the legacy MIDI API.
Referenced by getLegacyIdentifiers().
Span< const String, 16 > juce::universal_midi_packets::StaticDeviceInfo::getLegacyIdentifiersDst | ( | ) | const & |
Returns an identifier to uniquely identify each group, for use with the legacy MIDI API.
Referenced by getLegacyIdentifiers(), and getLegacyIdentifiersDst().
Span< const String, 16 > juce::universal_midi_packets::StaticDeviceInfo::getLegacyIdentifiers | ( | IOKind | k | ) | const & |
References getLegacyIdentifiersDst(), getLegacyIdentifiersSrc(), and juce::universal_midi_packets::src.
Referenced by getLegacyIdentifiers().
|
delete |
|
delete |
References getLegacyIdentifiersDst().
|
delete |
References getLegacyIdentifiers().