[Rock-dev] API change in iodrivers_base

Sylvain Joyeux sylvain.joyeux at dfki.de
Tue Sep 6 17:47:52 CEST 2011


1. iodrivers_base changed quite a bit lately. Until now, I tried to
    keep these changes backward compatible (you just get a lot of
    warnings). I just pushed backward-incompatible changes:

       the open* methods now return void and throw on error

    The reason for that is that most people that started to write
    drivers did not actually *check* for the return value. Since
    throwing is anyway the general guideline, I changed it to throw.

2. Additionally, the iodrivers_base::Driver class now supports serial,
    UDP and TCP connections. The openURI method gives a uniform access
    to that (see doxygen documentation for more info)

-- 
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------


More information about the Rock-dev mailing list