[Ns-developers] Node names
Joseph Kopena
tjkopena at cs.drexel.edu
Thu May 29 23:30:31 PDT 2008
On Fri, May 16, 2008 at 1:36 PM, <craigdo at ee.washington.edu> wrote:
> NodeContainer newLanNodes;
> newLanNodes.Create (lanNodes - 1);
> Ptr<Node> n = backbone.Get (i);
> n->SetName ("my meaningful name")
> NodeContainer lan (n, newLanNodes);
Minor note that if this is enabled/promoted, users will expect and it
would be useful to be able to use those names in attribute and trace
paths:
Config::Connect("/NodeList/my meaningful
name/DeviceList/*/$ns3::WifiNetDevice/Tx",
MakeBoundCallback(&TxCallback, totalTx));
Ditto for devices possibly.
Thx
--
- joe kopena
right here and now
More information about the Ns-developers
mailing list