The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: C Facchini <c.facch...@gmail.com>
Date: Wed, 16 Sep 2009 15:48:10 -0700 (PDT)
Local: Wed, Sep 16 2009 6:48 pm
Subject: Re: On callbacks
Thank you so much!
It works, plus now I got where I was stuck. > We usually frown on passing pointers around in ns-3, but prefer to use
I've noticed that every EnableAscii() resorts to AsciiWriter, but I
> Objects and our reference counting system. The example above works, but you > have got to be very, very careful about the lifetime of that ofstream. > If you look at the CsmaHelper, you will see that the MakeBoundCallback takes
> So I would take that approach and make my own kind of writer.
thought it was overly complicated for my programming skills (that's why I decided to use just an ostream, which turns out to be more harm than good as the programmer in question doesn't know how to tame wild pointers :). I tried writing my own AsciiWriter and have some scope issues. But
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||