Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Ed Criscuolo
On 6/6/14 3:50 PM, Tom Rondeau wrote: On Fri, Jun 6, 2014 at 3:37 PM, Ed Criscuolo mailto:edward.l.criscu...@nasa.gov>> wrote: On 6/6/14 3:20 PM, Tom Rondeau wrote: On Fri, Jun 6, 2014 at 3:02 PM, Ed Criscuolo mailto:edward.l.criscu...@nasa.gov>

Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Tom Rondeau
On Fri, Jun 6, 2014 at 3:37 PM, Ed Criscuolo wrote: > On 6/6/14 3:20 PM, Tom Rondeau wrote: > >> On Fri, Jun 6, 2014 at 3:02 PM, Ed Criscuolo >> mailto:edward.l.criscu...@nasa.gov>> wrote: >> >> On 6/6/14 2:30 PM, Ed Criscuolo wrote: >> >> On 6/6/14 1:50 PM, Martin Braun wrote: >> >>

Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Ed Criscuolo
On 6/6/14 3:20 PM, Tom Rondeau wrote: On Fri, Jun 6, 2014 at 3:02 PM, Ed Criscuolo mailto:edward.l.criscu...@nasa.gov>> wrote: On 6/6/14 2:30 PM, Ed Criscuolo wrote: On 6/6/14 1:50 PM, Martin Braun wrote: You also need to add the accessor in the include/*.h file as

Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Tom Rondeau
On Fri, Jun 6, 2014 at 3:02 PM, Ed Criscuolo wrote: > On 6/6/14 2:30 PM, Ed Criscuolo wrote: > >> On 6/6/14 1:50 PM, Martin Braun wrote: >> >>> >>> You also need to add the accessor in the include/*.h file as a virtual >>> member function. >>> >>> >> Thanks Martin. That did it, although I had to

Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Ed Criscuolo
On 6/6/14 2:30 PM, Ed Criscuolo wrote: On 6/6/14 1:50 PM, Martin Braun wrote: You also need to add the accessor in the include/*.h file as a virtual member function. Thanks Martin. That did it, although I had to rerun cmake to get it to propagate into the swig files. Guess I spoke too so

Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Ed Criscuolo
On 6/6/14 1:50 PM, Martin Braun wrote: You also need to add the accessor in the include/*.h file as a virtual member function. Thanks Martin. That did it, although I had to rerun cmake to get it to propagate into the swig files. @(^.^)@ Ed ___

Re: [Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Martin Braun
On 06/06/2014 07:44 PM, Ed Criscuolo wrote: > I've recently converted to GR 3.7, and am currently on 3.7.3. Welcome :) > I have created and run a new block in C++, but now want to add > an accessor method to the block's class. I defined it in > _impl.h , in the public part of the > class declara

[Discuss-gnuradio] Adding Accessor Methods in GR 3.7

2014-06-06 Thread Ed Criscuolo
I've recently converted to GR 3.7, and am currently on 3.7.3. I have created and run a new block in C++, but now want to add an accessor method to the block's class. I defined it in _impl.h , in the public part of the class declaration as follows: float get_samples_per_second(void)