[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gr_block: history
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] gr_block: history |
Date: |
Thu, 27 Jul 2006 22:06:00 -0700 |
User-agent: |
Mutt/1.5.9i |
On Thu, Jul 27, 2006 at 09:59:16PM +0200, Jens Elsner wrote:
> Hello,
>
> a quick question regarding gr_block::history() etc.
>
> Say I've called set_history(2) in the constructor and
> my work function pointers look like this:
>
> gr_complex const *in = (const gr_complex *) input_items[0];
> gr_complex *out = (gr_complex *) output_items[0];
>
> What does "in" point to? Is the item "in" points to already processed,
> as the name history suggests? Or does it just assure that there are at least
> 2 items in "input_items"?
>
> Jens
set_history impacts the result computed by forecast. Take a look at
that code.
Eric