|
From: | Perez, Tracie R |
Subject: | Re: [Discuss-gnuradio] Custom GRC block not accepting derived class objects |
Date: | Tue, 24 Feb 2015 22:04:34 +0000 |
Thanks very much Tom for the feedback. I spent many more hours trying to get swig to work directly with the child class and could never figure out how, or find any clues about this issue in the swig documentation. So as a workaround, I’ve added a get_base_ptr()
function to the child classes as you described that the constellation objects do.
I updated the xml file for the decoder to call the make function as: self.$(id) = $(id) = fec.ldpc_bit_flip_decoder.make(${matrix_object}.get_base_ptr(), $max_iterations)
Now everything is swig’ing and working great.
Thanks again,
tracie
|
[Prev in Thread] | Current Thread | [Next in Thread] |