discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Adding public methods(getters() and setters()) to


From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Adding public methods(getters() and setters()) to out of tree modules in GNURadio
Date: Tue, 2 Aug 2016 18:23:52 -0700

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.

-Johnathan

Johnathan Corgan
Corgan Labs - SDR Training and Development Services

On Tue, Aug 2, 2016 at 1:40 PM, Damindra Bandara <address@hidden> wrote:
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.

If you could give me some guidelines to make public methods in OOT modules, I would really appreciate it.

Thank you,

Damindra

--
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]