Represents a virtual MIDI 1.0 input port. More...
Public Member Functions | |
| LegacyVirtualInput () | |
| Creates an invalid virtual port that doesn't correspond to any virtual device. | |
| ~LegacyVirtualInput () | |
| LegacyVirtualInput (LegacyVirtualInput &&) noexcept | |
| LegacyVirtualInput & | operator= (LegacyVirtualInput &&) noexcept |
| LegacyVirtualInput (const LegacyVirtualInput &)=delete | |
| LegacyVirtualInput & | operator= (const LegacyVirtualInput &)=delete |
| EndpointId | getId () const |
| Retrieves the unique id of this input. | |
| bool | isAlive () const |
| operator bool () const | |
Represents a virtual MIDI 1.0 input port.
| juce::universal_midi_packets::LegacyVirtualInput::LegacyVirtualInput | ( | ) |
Creates an invalid virtual port that doesn't correspond to any virtual device.
| juce::universal_midi_packets::LegacyVirtualInput::~LegacyVirtualInput | ( | ) |
|
noexcept |
|
delete |
|
noexcept |
|
delete |
| EndpointId juce::universal_midi_packets::LegacyVirtualInput::getId | ( | ) | const |
Retrieves the unique id of this input.
You can pass this ID to Session::connectInput() in order to receive messages sent to this input.
Note that this ID is not guaranteed to be stable - creating the 'same' virtual device across several program invocations may produce a different ID each time.
To fetch the current details of this device, you can pass this ID to Endpoints::getEndpoint().
| bool juce::universal_midi_packets::LegacyVirtualInput::isAlive | ( | ) | const |
Referenced by operator bool().
|
inlineexplicit |
References isAlive().