Both Class wirelessPhy and Phy provide a function to access its protected member node_, which refers to its node object. For example, if one wants to know the node id in the physical layer, use the following command:
node()->nodeid(), which returns an integer.
node()->nodeid(), which returns an integer.
Powered by ScribeFire.
No comments:
Post a Comment