[ns] How to access mac layer in c++ of ns2.
atifet97 at yahoo.com
Fri Jan 29 23:27:23 PST 2010
How to access mac layer in c++ of ns2.
I am presently experiencing an issue while retrieving information of the Wireless-Phy layer class at the rotuing layer.
I am using the old fashioned way of declaring a function in the public doamin of the Wireless-Phy class (coz i need to pop the protected parameters of that class) and initiating the wireless-phy class in my agent class. Using the object I will try to access the public defined function which inturn help me in popinig the protected value, although I can use friend way but that has limited visibility. So in my way I am facing the error since no object has been created for that class (wireless-phy).
Do you have any idea how to handle this case?
More information about the Ns-users