[ns] How to call a function in C++ file

Liceven feixianyexin at 163.com
Wed Sep 3 18:54:10 PDT 2008


Hello,All,
  I want to calculate the signal strength received from two access points in
free space. And I find there is a function called 
double FreeSpace::Pr(PacketStamp *t, PacketStamp *r, WirelessPhy *ifp)
{...}[ns-2.31/mobile/propagation.cc]
But, I don't know how to call this function to calculate the value of SS,
so, could you do me a favor?
Actually I don't know if this function works or not? if not, is there any
way ?
Thanks.
Leyond

-- 
View this message in context: http://www.nabble.com/How-to-call-a-function-in-C%2B%2B-file-tp19301811p19301811.html
Sent from the ns-users mailing list archive at Nabble.com.



More information about the Ns-users mailing list