co_usb
Loading...
Searching...
No Matches
co_usb::hotplug Namespace Reference

Namespaces

namespace  detail
 
namespace  events
 Concrete values of hotplug events.
 
namespace  flags
 Concrete values of hotplug flags.
 

Classes

struct  device_acceptor
 Asio/Corosio-like acceptor for devices via hotplug API. More...
 

Typedefs

using event_type = detail::flag_type< libusb_hotplug_event, struct hotplug_event_t >
 enum type for libusb_hotplug_event
 
using flag_type = detail::flag_type< libusb_hotplug_flag, struct hotplug_flag_t >
 enum type for libusb_hotplug_flag
 

Functions

auto oneshot_hotplug (event_type events, flag_type flags, device_triplet triplet) -> boost::capy::io_task< event_type, device_ref >
 Oneshot coroutine to get a one-time hotplug accept.