[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Code re-use in blocks / C++ inheritance with gr::

From: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] Code re-use in blocks / C++ inheritance with gr::sync_block
Date: Tue, 22 Oct 2013 19:35:28 -0500

On Tue, Oct 22, 2013 at 6:40 AM, Sylvain Munaut <address@hidden> wrote:
> I think that's the point of private and protected members, you shouldn't
> have to go to the total extreme of hiding everything away in an impl, if you
> plan to inherit from that impl later....

Well it's mostly because the private part include plenty of other
headers to define structures and objects that shouldn't be part of the

This.  A major goal of the 3.7 refactoring was to expose as little as possible of the internal needs of individual blocks, so that external users of block classes wouldn't need to have headers installed, etc.

Glad you got it working.

Johnathan Corgan
Corgan Labs - SDR Training and Development Services

reply via email to

[Prev in Thread] Current Thread [Next in Thread]