Commit Graph
6 Commits
Author SHA1 Message Date
Fabián Inostroza 463cc4d64e Add accidentally removed line. 2018-06-01 21:28:55 -04:00
Fabián Inostroza be42eab0b8 Fix reception of error frames in socketcan interface. 2018-04-29 03:19:25 -03:00
Andre Hartmann d69947bf2f SerialBusConnection: Use member initialization
And as we have full C++11 support, so its also preferred to use nullptr.
2017-11-25 17:27:47 +01:00
Andre Hartmann 84cb598a0d SerialBusConnection: Improve connect/disconnect handling
* disconnectDevice() already checks mDev_p
* use the error description provided by QCanBus::createDevice()
2017-11-25 17:27:38 +01:00
Andre Hartmann 15aef1afbe SerialBusConnection: Order and condence includes
By practicing the following rules:
(4 and 5 are not needed here)

1. own header
2. project headers
3. Qt headers
4. operating system headers
5. compiler headers
2017-11-25 17:27:28 +01:00
Andre Hartmann 1dd59ed73c SocketCan: Rename to SerialBusConnection
QtCanBus is not limited to SocketCAN, it also supports various
Windows CAN adapters directly.

Also, add the term Connection to describe the inheritance
hierarchy better.
2017-11-25 17:27:19 +01:00