2012/9/5 Anthony Clay <anthony.c...@zarthcode.com>:
> Greetings all,

Hello,

> I've spent the last couple of weeks building a wrapper for libusb to save
> time while developing native c++ applications.  It completely hides the
> libusb implementation inside of an object-oriented framework.  It's based
> around a USB "Device" class that can be instanced easily using the default
> factories.  From there, you can iterate through Configurations, Interfaces,
> and Endpoints, and create specialized Transfer objects to communicate with
> your device in a straight-forward manner.  In the example LibusbTest.cpp is
> a demonstration all of the available transfer types, with only a few lines
> of code!)
>
> The library does utilize C++11 standard library features, including
> threading for effortless asynchronous background transfers.
>
> However, the real power is shown when you inherit the base device class.  By
> doing this, you can create intuitive, easy-to-use libraries for your devices
> in record time.
>
> If you give it a try, I'd love some feedback on what you think about how
> I've structured things, and where it can stand some improvement.  (It's
> untested in linux, though, I expect no issues other than needing a
> makefile.)
>
> https://github.com/zarthcode/Libusbpp

You should provide (at least) an example in the wiki. The file
LibusbTest.cpp is a test suite. It is way too big and complex for an
example.
Different examples is even better. Do not mix different features in
the same code.

Also the LibusbTest.cpp do not compile on Mac OS X. Bug filed in github.

Do you plan to support Unix or just Windows?

Bye

-- 
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to