[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Equalizer derived from ofdm_equalizer_1d_pilots:
Re: [Discuss-gnuradio] Equalizer derived from ofdm_equalizer_1d_pilots: .base() not found.
Mon, 26 Sep 2016 10:17:00 +0200
So, I've tried the following:
1) Derive a class from ofdm_equalizer_base
2) Add the function get_base_ptr() to the derived class. This function returns a pointer to the derived class
Now, In grc, when passing the equalizer to ofdm_frame_equalizer_vcvc I've got the following error:
Param - Equalizer(equalizer):
Value "payload_equalizer.get_base_ptr()" cannot be evaluated:
looked for information about this error, and it seems that it appears
when using shared_from_this() on an object which has no shared_ptr
pointing to it. However, In my understanding, when the equalizer is
created (function make), a shared_ptr is created.
Here my get_base_ptr() function: