C++ example

Hi list,

Is there an interest in having more c++ examples included in gnuradio?
Although the dial- tone example is very illustrative, it might be handy
to have at least a few more?

Best regards
//Mattias

On Wed, Aug 12, 2009 at 03:41:19PM +0200, Mattias K. wrote:

Hi list,

Is there an interest in having more c++ examples included in gnuradio?
Although the dial- tone example is very illustrative, it might be handy
to have at least a few more?

Best regards
//Mattias

Yes.

The currently unsolved problem has do with appropriate
conditionalization of the build process – in case the example depends
on something that’s didn’t get built.

Eric

Eric B. wrote:

Yes.

The currently unsolved problem has do with appropriate
conditionalization of the build process – in case the example depends
on something that’s didn’t get built.

Eric

Ah. I see…

In an effort to begin to use the gr- framework, including flow- graphs
(I have been using only selected parts of gr), I have re- written the
BERT example to c++ instead. Although it isn’t as polished as the
original python script, with parameters from command- line and such, it
produces the same results as the python implementation (why wouldn’t
it?).

The only functionality outside of gr I have used is a pthread for
displaying output at the rx- side, but that
shouldn’t be a problem, as long as the switch to boost- threads hasn’t
been done?

If there is an interest I could “polish” the program a bit more.

//Mattias

On Wed, 2009-08-12 at 21:25 +0200, Mattias K. wrote:

In an effort to begin to use the gr- framework, including flow- graphs
(I have been using only selected parts of gr), I have re- written the
BERT example to c++ instead. Although it isn’t as polished as the
original python script, with parameters from command- line and such, it
produces the same results as the python implementation (why wouldn’t it?).

Excellent.

The only functionality outside of gr I have used is a pthread for
displaying output at the rx- side, but that
shouldn’t be a problem, as long as the switch to boost- threads hasn’t
been done?

Well, we’re migrating things off omnithreads to Boost threads. It would
be preferable if you implement the receiver status thread using Boost.

If there is an interest I could “polish” the program a bit more.

Sure, go ahead.

Johnathan

Johnathan C. wrote:

displaying output at the rx- side, but that
shouldn’t be a problem, as long as the switch to boost- threads hasn’t
been done?

The only functionality outside of gr I have used is a pthread for

Well, we’re migrating things off omnithreads to Boost threads. It would
be preferable if you implement the receiver status thread using Boost.

Done and done.

If there is an interest I could “polish” the program a bit more.

Sure, go ahead.

The BERT- example has been polished. Where do I send the files for
review?

//Mattias

On Thu, Aug 13, 2009 at 04:32:11PM +0200, Mattias K. wrote:

Done and done.

If there is an interest I could “polish” the program a bit more.

Sure, go ahead.

The BERT- example has been polished. Where do I send the files for
review?

//Mattias

Best place is patch-gnuradio (you’ll need to subscribe first).

http://gnuradio.org/trac/wiki/MailingLists

Thanks!
Eric