discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] new block style instructions doubt


From: Nemanja Savic
Subject: [Discuss-gnuradio] new block style instructions doubt
Date: Thu, 16 May 2013 13:30:43 +0200

Hi all guys,

I have just been reading instructions for makin new fashion signal processing block, and I have a certain doubt:

In the following link:
http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide

you can see for example this in public header file:

namespace gr {
  namespace foo {

    class FOO_API bar : virtual public gr_sync_block
and in this page:
http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7

it is written:
class MODNAME_API classname : public gr_sync_block
becomes
class MODNAME_API classname : public gr::sync_block
Does this mean that header file in the first link should contain:

namespace gr {
  namespace foo {

    class FOO_API bar : virtual public sync_block

If I am right, than maybe the tutorial page should be changed.

Best
Nemanja

--
Nemanja Savić

reply via email to

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