[Ns-bugs] [Bug 752] Object::DoStart is not executed for objects created at t >
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Nov 25 09:48:46 PST 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=752
--- Comment #8 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr> 2009-11-25 12:48:46 EDT ---
(In reply to comment #7)
> > I do not believe we ever explicitely supported the dynamic creation of
> > applications during simulation, just like we don't support dynamically creating
> > devices during simulation so, it is no wonder that it does not work.
>
> I don't think we ever explicitly excluded it, however, and there are statements
> in our documentation such as "ns-3 is a C++ based system, except we have some
> special base classes..." so I think it is probably going to be surprising to
> users to discover that some Objects can't be instantiated after time 0.
It's already the case (not legal to create them after time 0) for NetDevice,
Channel, and Node and I thought that it was the case for Application: all these
objects make up the overall simulation topology for me and I always expected
them to be fully static/constructed before simulation starts. I understand that
it's reasonable and convenient to create applications dynamically but I never
thought that this would be allowed.
> > I think that the first issue is deciding whether we want to support creating
> > applications during the simulation. CCing tom since he will have input on that.
>
> What would it take to support it?
I do not really know: I do not know what the impact is going to be on the
multithreaded stuff.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list