discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] block struct change


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] block struct change
Date: Thu, 07 Aug 2014 14:18:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tiankun,

the advantage lies in the fact that the user of your block just has to
look at the block_name.h (and also SWIG), and you can exchange,
implement, extend and subclass your implementation to your heart's
delight in the block_name_impl.h. This simplifies SWIG wrapping a lot,
and thus has, at least for me, decreased development complexity
significantly.

Greetings,
Marcus

On 07.08.2014 14:15, Tiankun Hu wrote:
> Hi All, I want know to why the block has been split into two class:
> "block_name.cc" and "block_name_impl.cc", why do we need a virtual
> class, and use a "_impl" to inherit it? As we know, the older
> gnuradio just use a single class. Is there any advantage of this
> change?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJT4256AAoJEAFxB7BbsDrLVkIH/3cGvhUk0TZKaUdWz+YQ5Z3G
Vj2QaXF6t0Kx8b0SSv47sgVNoz7TCaeL7BcQy3ptbpBsC1rmzxck+mOLyuEd5kZF
eog377YacFix5lj4Xv3KLkaDN8kZ2OpE/9eCp7PJpE3cEFeKlX+Qaan1+X1eE52f
uujWuYVGISWj9X7fToPiRa4n8gNMaJgAh/82hloqhCtAToPnDg7RGa4hlClsr/dE
WOiu4z7pkcxnA+9Y4F1fnOlYOUBafrGXT15fSzIoVTnb2KmdJ1FwVWVymPeh46dW
fffyu1THeOKmS48L64a23Fpv9mbHVj3OIqX4jONVBebgSOgAj321xDWBT48kG1M=
=x3Nx
-----END PGP SIGNATURE-----



reply via email to

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