Android-cuttlefish cvd tool
Public Member Functions | Public Attributes | List of all members
usb_handle Struct Reference
Collaboration diagram for usb_handle:
Collaboration graph
[legend]

Public Member Functions

 ~usb_handle ()
 

Public Attributes

std::string path
 
int fd = -1
 
unsigned char ep_in
 
unsigned char ep_out
 
size_t max_packet_size
 
unsigned zero_mask
 
unsigned writeable = 1
 
usbdevfs_urb urb_in
 
usbdevfs_urb urb_out
 
bool urb_in_busy = false
 
bool urb_out_busy = false
 
bool dead = false
 
std::condition_variable cv
 
std::mutex mutex
 
bool mark
 
pthread_t reaper_thread = 0
 
char fname [64]
 
int desc
 

Constructor & Destructor Documentation

◆ ~usb_handle()

usb_handle::~usb_handle ( )
inline

Member Data Documentation

◆ cv

std::condition_variable usb_handle::cv

◆ dead

bool usb_handle::dead = false

◆ desc

int usb_handle::desc

◆ ep_in

unsigned char usb_handle::ep_in

◆ ep_out

unsigned char usb_handle::ep_out

◆ fd

int usb_handle::fd = -1

◆ fname

char usb_handle::fname[64]

◆ mark

bool usb_handle::mark

◆ max_packet_size

size_t usb_handle::max_packet_size

◆ mutex

std::mutex usb_handle::mutex

◆ path

std::string usb_handle::path

◆ reaper_thread

pthread_t usb_handle::reaper_thread = 0

◆ urb_in

usbdevfs_urb usb_handle::urb_in

◆ urb_in_busy

bool usb_handle::urb_in_busy = false

◆ urb_out

usbdevfs_urb usb_handle::urb_out

◆ urb_out_busy

bool usb_handle::urb_out_busy = false

◆ writeable

unsigned usb_handle::writeable = 1

◆ zero_mask

unsigned usb_handle::zero_mask

The documentation for this struct was generated from the following files: