|
From: | Juan Daniel Fernandez Martinez |
Subject: | [Discuss-gnuradio] A block with 2 inputs |
Date: | Tue, 15 Jan 2013 21:44:29 +0000 |
-- A block with 2 inputs (float and double) and 1 output -- std::vector<int> input_sizes; input_sizes.push_back(sizeof(float)); input_sizes.push_back(sizeof(double)); gnuradio::block("my block", gr_make_io_signaturev(2, 2, input_sizes), gr_make_io_signature(1, 1, sizeof(float)))
I am kind of new to c++, so I am not sure where to put the definition of the vector
and the "input_sizes.push_back" in the .cc file.
Thanks for your attention :)
[Prev in Thread] | Current Thread | [Next in Thread] |