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.
universal_midi_packets::LegacyVirtualInput::LegacyVirtualInput | ( | ) |
Creates an invalid virtual port that doesn't correspond to any virtual device.
Referenced by LegacyVirtualInput(), LegacyVirtualInput(), operator=(), and operator=().
universal_midi_packets::LegacyVirtualInput::~LegacyVirtualInput | ( | ) |
|
noexcept |
References LegacyVirtualInput().
|
delete |
References LegacyVirtualInput().
|
noexcept |
References LegacyVirtualInput().
|
delete |
References LegacyVirtualInput().
EndpointId 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().
References getId().
Referenced by getId().
bool universal_midi_packets::LegacyVirtualInput::isAlive | ( | ) | const |
References isAlive().
Referenced by isAlive(), and operator bool().
|
explicit |
References isAlive().