discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Accessing the uhd_usrp object


From: M. Ranganathan
Subject: [Discuss-gnuradio] Accessing the uhd_usrp object
Date: Wed, 13 Nov 2013 19:26:51 -0500

Hello all!

I want to write a block that can directly access the uhd_usrp_source. This block is a mac block hence it is up on the food chain and far away from uhd_usrp_source in terms of its processing function. What is a good way of passing it a handle to the usrp_source ?

I can think of some hacks (such as a static global pointer where the uhd_usrp_source C++ object registers itself) but it seems ugly to me to take that route. Is there a better way to access global objects from within a block implementation.

Thanks in advance for any help.

Regards,

Ranga

--
M. Ranganathan

reply via email to

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