Logo Search packages:      
Sourcecode: xboxdrv version File versions  Download package

Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes

USBReadThread Class Reference

Collaboration diagram for USBReadThread:
Collaboration graph

List of all members.


struct  buffer_not_empty
struct  Paket

Public Member Functions

int read (uint8_t *data, int len, int timeout)
void start_thread ()
void stop_thread ()
 USBReadThread (struct usb_dev_handle *handle, int endpoint, int len)

Private Types

typedef std::queue< PaketBuffer

Private Member Functions

USBReadThreadoperator= (const USBReadThread &)
void run ()
 USBReadThread (const USBReadThread &)

Private Attributes

struct usb_dev_handle * m_handle
Buffer m_read_buffer
boost::condition m_read_buffer_cond
boost::mutex m_read_buffer_mutex
const int m_read_endpoint
const int m_read_length
bool m_stop
std::auto_ptr< boost::thread > m_thread

Detailed Description

Definition at line 29 of file usb_read_thread.hpp.

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

Generated by  Doxygen 1.6.0   Back to index