[Ns-bugs] [Bug 1271] stronger type checking in SpectrumPhy

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Sep 28 02:08:26 PDT 2011


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

--- Comment #2 from Nicola Baldo <nbaldo at cttc.es> 2011-09-28 05:08:26 EDT ---
Hi Tom,

I am fine with this patch, and also with applying a similar one for m_mobility.

BTW, I did not invent this idea of using opaque pointers by myself, I just got
inspiration from YansWifiPhy, which has the following methods:

  void SetDevice (Ptr<Object> device);
  void SetMobility (Ptr<Object> mobility);

and the corresponding member variables:

  Ptr<Object> m_device;
  Ptr<Object> m_mobility;

Do you suggest that we change these as well?

-- 
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