discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] QUESTION: &input_items in gr_block


From: Jonas
Subject: [Discuss-gnuradio] QUESTION: &input_items in gr_block
Date: Mon, 7 Jan 2008 11:04:55 +0800

To make things clearer regarding my previous post of a similar
subject, I have included part of my code to this post:

int divcom_rca_ff::general_work(int noutput_items,
                                gr_vector_int &ninput_items,
                                gr_vector_const_void_star &input_items,
                                gr_vector_void_star &output_items)
{

        // GETTING VARIABLES FROM CALLING FUNCTION
        //
        //       I will  assume that the &input_items CAN take a 
multidimensional
        //       array as input. Note that each main index of input_items 
correspond
        //        to a vector<float> type of data

        const vector<float> *yrx1 = input_items[0][];
        const vector<float> *yrx2 = input_items[1][];
        const vector<float> *X1 = input_items[2][];

... more code follows

}

QUESTION:
Is the above possible? I really don't want to run into errors simply
because I didn't declare my input correctly.

Thanks!




reply via email to

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