discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr_make_io_signaturev


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] gr_make_io_signaturev
Date: Wed, 5 Nov 2008 11:35:59 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, Nov 05, 2008 at 01:29:21PM -0600, Brett L. Trotter wrote:
> Are there any examples of how to use this?
> 
> Since the current C++ (until C++0x is out) doesn't support vector
> initialization, how does one format the inheritance constructor?
> for example:
> myblock::myblock(...) : gr_block("myblock", gr_make_io_signaturev(4,4,
> std::vector<int> somevec)) { ...} 
> 
> in what code do I populate somevec? or is there another way to attack this?

Take a look at gr_io_signature.cc.  It uses gr_make_io_signaturev to
implement the other versions.

Do you really have more than 3 different kinds of items in your signature?

Eric




reply via email to

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