CHANGES.html
changeset 5507 915abd2b907b
parent 5497 d8b1b591839b
child 5526 d70ac1951ae4
     1.1 --- a/CHANGES.html	Tue Nov 10 06:14:11 2009 -0800
     1.2 +++ b/CHANGES.html	Thu Nov 12 13:19:35 2009 +0100
     1.3 @@ -62,6 +62,28 @@
     1.4  </ul>
     1.5  
     1.6  <hr>
     1.7 +<h1>Changes from ns-3.6 to ns-3.7</h1>
     1.8 +
     1.9 +<h2>Changes to existing API:</h2>
    1.10 +<ul>
    1.11 +<li><b>Simulator::SetScheduler</b>: this method now takes an ObjectFactory
    1.12 +instead of an object pointer directly. Existing callers can trivially be
    1.13 +updated to use this new method.<br>
    1.14 +Before:
    1.15 +<pre>
    1.16 +Ptr&lt;Scheduler&gt; sched = CreateObject&lt;ListScheduler&gt; ();
    1.17 +Simulator::SetScheduler (sched);
    1.18 +</pre>
    1.19 +After:
    1.20 +<pre>
    1.21 +ObjectFactory sched;
    1.22 +sched.SetTypeId ("ns3::ListScheduler");
    1.23 +Simulator::SetScheduler (sched);
    1.24 +</pre>
    1.25 +
    1.26 +</ul>
    1.27 +
    1.28 +<hr>
    1.29  <h1>Changes from ns-3.5 to ns-3.6</h1>
    1.30  
    1.31  <h2>Changes to build system:</h2>