[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Sub-classing a block defined in an _impl class
From: |
Sylvain Munaut |
Subject: |
Re: [Discuss-gnuradio] Sub-classing a block defined in an _impl class |
Date: |
Fri, 10 Oct 2014 12:30:50 +0200 |
Hi,
> There
> is way to achieve this without copying around significant portions of code?
No, you'll need to copy the _impl
> The case at hand is subclassing gr::analog::pll_carriertracking_cc
> changing the phase_detector() method to use the regular atan2() instead
> of the fast version.
Actually this is a private non-virtual method, so even if all that was
in the public API you wouldn't be able to do it.
Cheers,
Sylvain