[chirp_devel] [PATCH 1 of 3] [id31] Backport ID-51 mode logic to ID-31. Related to #553

Dan Smith
Thu Feb 21 18:58:28 PST 2013


> In other words, because the code is interpreted at run time, and the 
> association occurs at execution time?  This would not work in Java or
> C++.

process_mmap() is where MEM_FORMAT is used to interpret the radio
image. Since that is overridden in the subclass but uses the same
symbol names, the object that each driver builds will have the same
interface, but point to different regions in the actual data. The
behavior of the overridden method in the subclass is the same in Java or
C++, of course.

-- 
Dan Smith
www.danplanet.com
KK7DS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130221/cae5ce27/attachment-0001.bin 


More information about the chirp_devel mailing list