|
From: | Damindra Bandara |
Subject: | Re: [Discuss-gnuradio] Adding public methods(getters() and setters()) to out of tree modules in GNURadio |
Date: | Wed, 3 Aug 2016 11:52:18 -0400 |
You are doing the right things. However, there is a long standing bug in our gr_modtool created template that doesn't trigger recompiling the SWIG wrapper when changing the public .h file(s). Just do a 'make clean', 'make', and 'sudo make install' again.-JohnathanJohnathan Corgan
Corgan Labs - SDR Training and Development ServicesOn Tue, Aug 2, 2016 at 1:40 PM, Damindra Bandara <address@hidden> wrote:_______________________________________________DamindraThank you,If you could give me some guidelines to make public methods in OOT modules, I would really appreciate it.Hi,I am looking for a way to add public methods to GNURadio OOT modules. I modified the <oot_module>_impl.cc and <oot_module>_impl.h files. I also added the function signature as a virtual function to /include/<oot_module>.h file. I compiled the code(make /make install/ldconfig), and I did not get any errors. However, the functions are not visible outside. For example, I cannot use the public methods from the topblock.py.
--Damindra Savithri Bandara,Ph.D. in Information Technology (Candidate)
George Mason University,
Fairfax,
Virginia
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |