Android-cuttlefish cvd tool
Classes | Typedefs | Functions
usb.h File Reference
#include <functional>
#include <memory>
#include "transport.h"
Include dependency graph for usb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  usb_ifc_info
 
class  UsbTransport
 

Typedefs

typedef std::function< int(usb_ifc_info *)> ifc_match_func
 

Functions

std::unique_ptr< UsbTransportusb_open (ifc_match_func callback, uint32_t timeout_ms=0)
 

Typedef Documentation

◆ ifc_match_func

typedef std::function<int(usb_ifc_info*)> ifc_match_func

Function Documentation

◆ usb_open()

std::unique_ptr< UsbTransport > usb_open ( ifc_match_func  callback,
uint32_t  timeout_ms = 0 
)