discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Message_source.cc


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Message_source.cc
Date: Sat, 9 Sep 2006 13:19:14 -0700
User-agent: Mutt/1.5.9i

On Sat, Sep 09, 2006 at 02:40:03PM -0500, Michael Ford wrote:
> I've been studying the message_source.{h,cc} code, and I'm confused on one
> issue. In gr_message_source.h, one of the member variables of the gr_message
> source class if a gr_message_sptr called d_msg. The .cc file makes use of
> the d_msg, yet nowhere do I find it being initialized to a value. What data
> is d_msg pointing to?


It starts out as the equivalent of the NULL pointer.  It's a
boost::shared_ptr; its default constructor handles this.

Later it is then assigned a value on line 95.

Eric




reply via email to

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