]> git.tdb.fi Git - r2c2.git/commitdiff
Refer to things in the driver with abstract ids instead of addresses
authorMikko Rasa <tdb@tdb.fi>
Thu, 7 Nov 2013 22:01:03 +0000 (00:01 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 7 Nov 2013 22:01:03 +0000 (00:01 +0200)
Since different protocols can and do have overlapping address spaces, the
address alone isn't sufficient to identify a thing.  Passing both address
and protocol in every function and signal would make the interface too
complicated.

At the moment only locomotives can have a protocol specified, but there's
no technical reason why other types of things couldn't have different
protocols as well.


No differences found