UsbDevice.cpp
/tmp/ws/src/lusb/src/
UsbDevice_8cpp.html
lusb/UsbDevice.h
lusb
static UsbDevice::Location
locationFromLibUsbDevice
namespacelusb.html
a1743e9b13a67537400dfc5568757478f
(libusb_device *dev, const libusb_device_descriptor desc)
UsbDevice.h
/tmp/ws/src/lusb/include/lusb/
UsbDevice_8h.html
lusb::UsbDevice::Location
lusb::UsbDevice
lusb::UsbDeviceException
lusb::UsbDevice::UsbIds
lusb
lusb::UsbDevice::Location
classlusb_1_1UsbDevice_1_1Location.html
Location
classlusb_1_1UsbDevice_1_1Location.html
a263aa79c5e11a91ec2570f3ade129b3b
()
Location
classlusb_1_1UsbDevice_1_1Location.html
aade96932454b6e58118f72affa43a2b5
(uint8_t _bus, uint8_t _port=0, uint8_t _addr=0, uint16_t _vid=0, uint16_t _pid=0)
bool
match
classlusb_1_1UsbDevice_1_1Location.html
a9017b1d19d6444abf6c9d37cd4ed4e1f
(const Location &other) const
bool
operator!=
classlusb_1_1UsbDevice_1_1Location.html
a499076867fa50fd5e0ea2007a91e6b51
(const Location &other) const
bool
operator<
classlusb_1_1UsbDevice_1_1Location.html
ad8720226eb8c9fa97202c0e1f523c5c4
(const Location &other) const
bool
operator<=
classlusb_1_1UsbDevice_1_1Location.html
a52220d8404d94092ed24282541c9f4eb
(const Location &other) const
bool
operator==
classlusb_1_1UsbDevice_1_1Location.html
a25fd563c2ef40d6e7943b35e8e5d9226
(const Location &other) const
bool
operator>
classlusb_1_1UsbDevice_1_1Location.html
a72714e6337b9eea1968e5cbac8ae8af4
(const Location &other) const
bool
operator>=
classlusb_1_1UsbDevice_1_1Location.html
aee3d8291f5f1cc01967f8a01d32013c7
(const Location &other) const
static bool
match
classlusb_1_1UsbDevice_1_1Location.html
a2b3d2b6c4b08ec08ddfb674f2052e073
(const Location &a, const Location &b)
uint8_t
__pad0__
classlusb_1_1UsbDevice_1_1Location.html
af9cf7f264faf1111e1b2cf87cc2ff092
uint8_t
addr
classlusb_1_1UsbDevice_1_1Location.html
a572773b0ca676354854e88d5c16cb08e
uint8_t
bus
classlusb_1_1UsbDevice_1_1Location.html
afa289b48dad9241a97631ffafd988fd2
uint32_t
loc
classlusb_1_1UsbDevice_1_1Location.html
af30574e2bb09f951a830b70bc7fb6fa8
uint16_t
pid
classlusb_1_1UsbDevice_1_1Location.html
ab3ac5571fd5ee32635529a13dc094dcb
uint8_t
port
classlusb_1_1UsbDevice_1_1Location.html
ad53cd3b2fe049499a664dd386df13260
uint16_t
vid
classlusb_1_1UsbDevice_1_1Location.html
a3474707222fb4fb7b673d902e649a97a
lusb::UsbDevice
classlusb_1_1UsbDevice.html
lusb::UsbDevice::Location
lusb::UsbDevice::UsbIds
boost::function< void(const void *data, int size)>
Callback
classlusb_1_1UsbDevice.html
a4b7438b0f8506c6cf7b0fddf9ac6382d
int
bulkRead
classlusb_1_1UsbDevice.html
a2d1fd5ae0b2eb4dff5a3225cb2f4fd52
(void *data, int size, unsigned char endpoint, int timeout)
bool
bulkWrite
classlusb_1_1UsbDevice.html
af5a3ff83debae997dadf69159878c619
(const void *data, int size, unsigned char endpoint, int timeout)
void
close
classlusb_1_1UsbDevice.html
a1caef9472feb16ee015f06cdc2ce966f
()
int
getLastError
classlusb_1_1UsbDevice.html
ade6a7f77046e5c0a469ff7acf8e23808
(std::string &str) const
Location
getLocation
classlusb_1_1UsbDevice.html
af37ef31d6e87238d013d103fcccfdbec
() const
int
interruptRead
classlusb_1_1UsbDevice.html
a4e0ac61f45858c88c9d66d44035048d3
(void *data, int size, unsigned char endpoint, int timeout)
bool
interruptWrite
classlusb_1_1UsbDevice.html
a5d7714f12d8b515e6030e45d9f1bb12c
(const void *data, int size, unsigned char endpoint, int timeout)
bool
isOpen
classlusb_1_1UsbDevice.html
ad88bf1335e5cc1596d49bf22100fe0cd
() const
void
listDevices
classlusb_1_1UsbDevice.html
a347dfaaf69d923d23af494aeb9b464f4
(std::vector< Location > &list) const
bool
open
classlusb_1_1UsbDevice.html
afeec39f8c2e11e0ad298f59b7c98e3bb
(const Location &location=Location())
void
setDebugLevel
classlusb_1_1UsbDevice.html
a468a75ef497c66e9e2abb50f479c667c
(uint8_t level)
void
setDevceIds
classlusb_1_1UsbDevice.html
af79a1af1861f5cc2a87bd154313b5eb9
(uint16_t vid, uint16_t pid, uint8_t mi)
void
startBulkReadThread
classlusb_1_1UsbDevice.html
a612f9af47f2b8a157d56bc5c33c8d420
(Callback callback, unsigned char endpoint)
void
startInterruptReadThread
classlusb_1_1UsbDevice.html
af8d8d7969f8c6c58f6b91193b7eaa467
(Callback callback, unsigned char endpoint)
void
stopBulkReadThread
classlusb_1_1UsbDevice.html
ab10cf8251eea92d17ffd1102d1a82d23
(unsigned char endpoint)
void
stopInterruptReadThread
classlusb_1_1UsbDevice.html
a5ea4cd39ee494c3ffbb853f9a9e6cb67
(unsigned char endpoint)
UsbDevice
classlusb_1_1UsbDevice.html
a7b58d65d3011053009c86ff54b9c9b29
()
UsbDevice
classlusb_1_1UsbDevice.html
a930101a4a690165e0ff7e855d4011915
(uint16_t vid, uint16_t pid)
UsbDevice
classlusb_1_1UsbDevice.html
aa3056712b6a80890f06bba118ca8ce58
(uint16_t vid, uint16_t pid, uint8_t mi)
~UsbDevice
classlusb_1_1UsbDevice.html
ae58d775a1286dd10df75babb03fad6d7
()
static void
listDevices
classlusb_1_1UsbDevice.html
a93576cd30a21dc6b47314ae36598991f
(const std::vector< UsbIds > &ids, std::vector< Location > &list)
static void
listDevices
classlusb_1_1UsbDevice.html
a16a7a29e11d23d13ae6b72b3888268d1
(uint16_t vid, uint16_t pid, std::vector< Location > &list)
bool
throw_errors_
classlusb_1_1UsbDevice.html
a7992ddd888c207bb19c2e0113f8cc1a4
void
bulkReadThread
classlusb_1_1UsbDevice.html
a7cd19c8606d54fceb4b7704cedfeae58
(Callback callback, unsigned char endpoint)
void
closeDevice
classlusb_1_1UsbDevice.html
a0e2d83853d1304c97b5ae46219f0006b
()
bool
handleError
classlusb_1_1UsbDevice.html
a80b30d61c7ac11b6923df47c32d05e39
(int err)
void
init
classlusb_1_1UsbDevice.html
a597ce416dce9e485819cb9a6531c2000
()
void
interruptReadThread
classlusb_1_1UsbDevice.html
a6a207967c0145c0fcd2a13c2362de91b
(Callback callback, unsigned char endpoint)
void
throwError
classlusb_1_1UsbDevice.html
a22244f9df9feb09e47df8d4483d983e1
(int err)
boost::thread
bulk_threads_
classlusb_1_1UsbDevice.html
a2a1eb7ce773f890e6a245eae8313988d
[128]
bool
bulk_threads_enable_
classlusb_1_1UsbDevice.html
a67756bde2646cdbb3f1d39bc696db1ec
[128]
libusb_context *
ctx_
classlusb_1_1UsbDevice.html
a91988c2a4ec836457c9a3baeedccf1cc
int
error_code_
classlusb_1_1UsbDevice.html
a01860faac276cf6990e27aef54e9584d
std::string
error_str_
classlusb_1_1UsbDevice.html
a17647f34af47b2cd8d2cfd9817a1ed74
boost::thread
interrupt_threads_
classlusb_1_1UsbDevice.html
a5bd24b1fd5aec2a186b965d13896e8c6
[128]
bool
interrupt_threads_enable_
classlusb_1_1UsbDevice.html
a563c6b312c2f22b8491b2a0a36110dc7
[128]
libusb_device_handle *
libusb_handle_
classlusb_1_1UsbDevice.html
aab76b724416c83e7d2d06c5e0aba0aa9
Location
location_
classlusb_1_1UsbDevice.html
ae278370e1b121f080f22186a10f04b0c
uint8_t
mi_
classlusb_1_1UsbDevice.html
a6d45f70134ed367c5b0e9b20bf8b3a31
bool
open_
classlusb_1_1UsbDevice.html
afc007e345583c019acc7a43dbd934456
uint16_t
pid_
classlusb_1_1UsbDevice.html
ac5a7ee9c66c16d93dd45fc320dfdea70
uint16_t
vid_
classlusb_1_1UsbDevice.html
ab94c8350a171eb9c0b36d068cbb24c16
lusb::UsbDeviceException
structlusb_1_1UsbDeviceException.html
UsbDeviceException
structlusb_1_1UsbDeviceException.html
aef6769bc39fbd70f19f36d65a136f9c4
(int code, const char *msg)
int
error_code_
structlusb_1_1UsbDeviceException.html
a07e0f91add2a66ee5f0edea460516fe5
lusb::UsbDevice::UsbIds
structlusb_1_1UsbDevice_1_1UsbIds.html
UsbIds
structlusb_1_1UsbDevice_1_1UsbIds.html
ac584b11a9156c925380601ab633dc73e
()
UsbIds
structlusb_1_1UsbDevice_1_1UsbIds.html
a2a0f65cd6fb9c195ebbd7d90151c4f56
(uint16_t _vid, uint16_t _pid)
uint16_t
pid
structlusb_1_1UsbDevice_1_1UsbIds.html
a220ae83900577e3f354696269ec773f8
uint16_t
vid
structlusb_1_1UsbDevice_1_1UsbIds.html
a2aa55871a35b547cc6377da6fc94f854
lusb
namespacelusb.html
lusb::UsbDevice
lusb::UsbDeviceException
static UsbDevice::Location
locationFromLibUsbDevice
namespacelusb.html
a1743e9b13a67537400dfc5568757478f
(libusb_device *dev, const libusb_device_descriptor desc)