co_usb
Loading...
Searching...
No Matches
flags.hpp File Reference

Strongly typed wrappers libusb hotplug flag types (flags & events). More...

#include "co_usb/detail/flag_type.hpp"
#include <libusb.h>
Include dependency graph for flags.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  co_usb
 
namespace  co_usb::hotplug
 
namespace  co_usb::hotplug::events
 Concrete values of hotplug events.
 
namespace  co_usb::hotplug::flags
 Concrete values of hotplug flags.
 

Typedefs

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

Variables

constexpr event_type co_usb::hotplug::events::arrived {LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED}
 
constexpr event_type co_usb::hotplug::events::left {LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT}
 
constexpr flag_type co_usb::hotplug::flags::none {LIBUSB_HOTPLUG_NO_FLAGS}
 
constexpr flag_type co_usb::hotplug::flags::enumerate {LIBUSB_HOTPLUG_ENUMERATE}
 

Detailed Description

Strongly typed wrappers libusb hotplug flag types (flags & events).