discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Mac gui


From: Sylvain Munaut
Subject: Re: [Discuss-gnuradio] Mac gui
Date: Wed, 15 Jul 2015 13:45:31 +0200

Hi Albin & Marcus


GQRX actually has something along those lines since the UI and their
FFT visualization widget is not a GR block object. They just send
snapshot out via a callback.


Now you won't be able to use GRC or have your block easily integrate
like other visualization block do. Even just adding another UI backend
if it was like the other is a huge work because of how many specific
UI stuff is in GRC.

But you could make a custom GR block that in its constructors takes a
reference to a custom Cocoa object, and in your work function, you can
call whatever you'd like on that Cocoa object to update it's view
(just beware of what you do in which thread).

Then in your global app, you just construct your UI, then
independently you construct your processing graph and when comes time
to plugin your custom block, you instantiate your custom GR block
giving it the handle to the UI part.


> By the way, I think there might be some licensing issues if you link cocoa
> code against GPL'ed code, but that's basically only relevant if you start
> selling/distributing your program;

No there isn't.

There is absolutely no way you could ever argue that Cocoa is a
derived work of GNURadio ...

As long as the app itself (which _is_ clearly a derived work of GR) is
GPL (or GPL compatible), then it's all fine.


Cheers,

   Sylvain



reply via email to

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