|
From: | Mostafa Alizadeh |
Subject: | Re: [Discuss-gnuradio] Message passing(connect) in C++ |
Date: | Thu, 30 Apr 2015 16:18:53 +0430 |
Hi Marco,The top_block class has a member named: connect. You can use it in the main() to connect different blocks. However, if you want to dis/connect blocks within C++ blocks, you must pass top_block pointer to the class in some fashion. Once I did and I got errors because I didn't have accessed to the "connect" from within the block.I prefer to change your topology to refuse the need you've mentioned. Otherwise describe your problem with more details.Best,MostafaOn Thu, Apr 30, 2015 at 3:43 PM, marco Ribero <address@hidden> wrote:_______________________________________________Hi all,I have another question. How can I connect the input and output port of different blocks,from inside a C++ block? In the documentation I've only seen the msg_connect() for pythonThanks,marco
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--***********************************************************Department of Electrical EngineeringAboureyhan BuildingMMWCL LABAmirkabir University Of TechnologyTehranIRANTel: +98 (919) 158-7730Homepage: http://ele.aut.ac.ir/~alizadeh/***********************************************************
[Prev in Thread] | Current Thread | [Next in Thread] |