[Ns-bugs] [Bug 962] list of paths to reach objects contains bogus entries

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Sep 15 22:26:35 PDT 2011


https://www.nsnam.org/bugzilla/show_bug.cgi?id=962

--- Comment #4 from Tom Henderson <tomh at tomh.org> 2011-09-16 01:26:34 EDT ---
Here is another example where the documentation does not contain the correct
succinct path:

http://www.nsnam.org/docs/release/3.12/doxygen/classns3_1_1_wifi_phy_state_helper.html

The correct working path is
/NodeList/[i]/DeviceList/[i]/Phy/State

This one that is listed will work:
/NodeList/[i]/DeviceList/[i]/$ns3::WifiNetDevice/Phy/$ns3::YansWifiPhy/State 

but is more verbose than needed (Phy is an attribute of WifiNetDevice, State is
an attribute of YansWifiPhy).  The others may or may not work; they gave me
runtime errors for my set of modules.

While this one will work:
/NodeList/[i]/DeviceList/[i]/$ns3::WifiNetDevice/Phy/$ns3::YansWifiPhy/State 
I'm wondering if we can, in general, trim these $ns3::... extra TypeIds when we
generate the doxygen for the trace paths.

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list