Configuration for a newly-registered virtual endpoint. More...
#include <ump_virtual_endpoint.hpp>
Public Attributes | |
| std::string | name = "Pulp Virtual UMP" |
| bool | loopback = false |
| True if send() should also fire the receive callback (round-trip loopback). | |
| UmpEndpointDirection | direction { true, true } |
| Direction the endpoint advertises in its info(). | |
Configuration for a newly-registered virtual endpoint.
All fields have sensible defaults; only name is normally set.
| UmpEndpointDirection pulp::midi::VirtualUmpEndpointConfig::direction { true, true } |
Direction the endpoint advertises in its info().
Defaults to fully bidirectional; tests that want to assert "this endpoint rejects outbound" can flip can_send off.
| bool pulp::midi::VirtualUmpEndpointConfig::loopback = false |
True if send() should also fire the receive callback (round-trip loopback).
False (default) makes the endpoint look like a sink: send() consumes, the receive callback only fires for packets pushed in via deliver().
| std::string pulp::midi::VirtualUmpEndpointConfig::name = "Pulp Virtual UMP" |