Bug 1698 - mobility.SetPositionAllocator misses prefix "ns3::"
mobility.SetPositionAllocator misses prefix "ns3::"
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: documentation
ns-3-dev
All All
: P5 normal
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-15 09:21 UTC by Junling Bu
Modified: 2013-07-09 09:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Junling Bu 2013-06-15 09:21:41 UTC
http://www.nsnam.org/docs/release/3.17/manual/html/attributes.html#setting-through-constructors-helper-classes :
mobility.SetPositionAllocator ("GridPositionAllocator",
                               "MinX", DoubleValue (-100.0),
                               "MinY", DoubleValue (-100.0),
                               "DeltaX", DoubleValue (5.0),
                               "DeltaY", DoubleValue (20.0),
                               "GridWidth", UintegerValue (20),
                               "LayoutType", StringValue ("RowFirst"));

according to src/mobility/examples/main-grid-topology.cc,the first line should be:
mobility.SetPositionAllocator ("ns3::GridPositionAllocator",
Comment 1 Tom Henderson 2013-07-09 09:16:04 UTC
fixed in 9912:d59302c89378