Bug 1051 - Implement utility class to periodically poll for all nodes position and velocity
Implement utility class to periodically poll for all nodes position and velocity
Status: NEW
Product: ns-3
Classification: Unclassified
Component: mobility models
ns-3-dev
All All
: P5 normal
Assigned To: Pavel Boyko
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-06 06:08 EST by Pavel Boyko
Modified: 2011-02-06 09:01 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Boyko 2011-02-06 06:08:50 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?
Comment 1 Tom Henderson 2011-02-06 09:01:04 EST
(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.