Bugzilla – Bug 1051
Implement utility class to periodically poll for all nodes position and velocity
Last modified: 2011-02-06 09:01:04 EST
As proposed in http://groups.google.com/group/ns-3-users/browse_thread/thread/bd8b95a650d24134/ The only problem I can't resolve now is where to place this new class: mobility module currently doesn't depend on node, node module is seems to disappear soon. Tom, what do you think?
(In reply to comment #0) > As proposed in > http://groups.google.com/group/ns-3-users/browse_thread/thread/bd8b95a650d24134/ > > The only problem I can't resolve now is where to place this new class: mobility > module currently doesn't depend on node, node module is seems to disappear > soon. Tom, what do you think? This seems to be helper-level API. I would have suggested previously to put it in the src/helper/mobility-helper. However, in the new modularization, src/helper probably will go away as all helper files migrate to src/<modulename>/helper. So, if you want to add this, I would suggest to add 'node' (or in the near future, 'network') dependency to mobility module. To avoid this dependency, I think you would have to support the equivalent of a NodeList (to track all of the Mobility objects in use) at the mobility level.