Commit Graph

1370 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
10baa77dbc Bug 81 (CommandLine::AddArgValue not working correctly) 2007-10-09 11:38:01 +01:00
Gustavo J. A. M. Carneiro
3a41b51160 Bug 82 (Add convenience API to retrieve default values) 2007-10-08 17:49:18 +01:00
Gustavo J. A. M. Carneiro
c0ed9be287 Fix bug 80 (valgrind error when finalizing PacketMetadata). 2007-10-08 17:44:17 +01:00
Gustavo J. A. M. Carneiro
7a37ee7c30 merge 2007-10-08 14:14:24 +01:00
Mathieu Lacage
d42e7a6d0a remove 'All rights reserved' mention 2007-10-08 15:54:36 +02:00
Mathieu Lacage
115506476b add missing copyright 2007-10-08 15:50:25 +02:00
Gustavo J. A. M. Carneiro
fab9df7825 Use 'const Ptr<T>' rather than 'Ptr<T> const' 2007-10-08 14:13:58 +01:00
Mathieu Lacage
907ad64f96 merge with HEAD 2007-10-08 10:28:52 +02:00
Gustavo J. A. M. Carneiro
ffdc440926 Add operator < to Ptr smart pointers, to make them behave well with STL containers. 2007-10-05 19:13:36 +01:00
Mathieu Lacage
f70700c330 add Timer::GetDelayLeft 2007-10-04 09:22:05 +02:00
Mathieu Lacage
b28727ef8c make the timer a tristate object 2007-10-04 09:14:16 +02:00
Gustavo J. A. M. Carneiro
89ff51cc09 mereg 2007-10-03 17:33:45 +01:00
Mathieu Lacage
855d52908b add Timer::Suspend/Resume/IsSuspended 2007-10-03 13:01:29 +02:00
Mathieu Lacage
1440302ab3 add Simulator::GetDelayLeft 2007-10-03 13:01:12 +02:00
Craig Dowell
ef9c8a4716 tutorial 2007-10-02 15:34:00 -07:00
Mathieu Lacage
e216675ca1 remove uneeded forward declaration 2007-10-02 11:32:16 +02:00
Tom Henderson
fec546e939 Fix callbacks in packet-sink 2007-10-01 21:04:46 -07:00
Gustavo J. A. M. Carneiro
e7fb2a2c7c According to the literature, in RandomWaypointMobilityModel the pause should come before the walk, not after; fixed. 2007-10-01 18:55:04 +01:00
Gustavo J. A. M. Carneiro
1bc6f6eeda Add ns2-mobility-file-topology sources 2007-10-01 18:01:38 +01:00
Gustavo J. A. M. Carneiro
afc46ac1d3 Adapt to StaticSpeedHelper change 2007-10-01 17:11:06 +01:00
Gustavo J. A. M. Carneiro
636e47d219 Adapt to StaticSpeedHelper change 2007-10-01 17:10:46 +01:00
Gustavo J. A. M. Carneiro
9c219d647d Refactor handling of pauses in StaticSpeedHelper to fix bug (must return null speed when paused) 2007-10-01 17:10:15 +01:00
Gustavo J. A. M. Carneiro
99da16b834 Improve the precision of the RandomDirection2dMobilityModel::PI constant (value copied from glibc's math.h header file). 2007-10-01 15:11:16 +01:00
Gustavo J. A. M. Carneiro
d8e5697bfe Add the random-direction-2d-mobility-model.cc,h sources to the build. 2007-10-01 15:05:43 +01:00
Gustavo J. A. M. Carneiro
b504a88459 Add a bit of function name logging. 2007-10-01 15:05:03 +01:00
Gustavo J. A. M. Carneiro
fda2e2d34d merge 2007-10-01 14:34:47 +01:00
Gustavo J. A. M. Carneiro
2f4da0f0b0 Make Object::QueryInterface and AddInterface check for the aggregate refcount instead of the object refcount, reason explained in a comment near Object::CheckLoose. Add the same check also to TraceConnect/Disconnect and GetTraceResolver. 2007-10-01 14:33:17 +01:00
Gustavo J. A. M. Carneiro
8f30f628a0 Minor code readability improvements. 2007-10-01 12:45:27 +01:00
Gustavo J. A. M. Carneiro
27ba7608db Use this-> to access member variables of Rectangle, for clarity. 2007-10-01 12:34:32 +01:00
Gustavo J. A. M. Carneiro
5099bebba5 Put back an assertion in Object::DoQueryInterface, erroneously removed during branch merging. 2007-10-01 11:42:41 +01:00
Gustavo J. A. M. Carneiro
35ed9727d3 Add NotifyCourseChange support to RandomWaypointMobilityModel, and fix a bug in GetSpeed. 2007-09-28 18:17:25 +01:00
Gustavo J. A. M. Carneiro
b7ddc30244 Fix bad RandomWaypointPosition default value 2007-09-28 17:33:18 +01:00
Gustavo J. A. M. Carneiro
e525cd4465 Fix infinite loop in CommandLine::Parse when trying to ignore a badly formed parameter. 2007-09-28 17:13:20 +01:00
Gustavo J. A. M. Carneiro
3898752f67 Fix infinite loop in CommandLine::Parse when trying to ignore a badly formed parameter. 2007-09-28 17:13:20 +01:00
Gustavo J. A. M. Carneiro
b6d9bf7319 Fix the enumeration value list end marker (0 and (void*)0 are very different things in amd64) 2007-09-28 16:51:34 +01:00
Gustavo J. A. M. Carneiro
16e4a3c10e Compile the random-walk-2d-mobility-model sources. 2007-09-28 16:50:15 +01:00
Mathieu Lacage
4b00999550 add a Timer::Schedule (delay) method 2007-09-28 16:14:16 +02:00
Mathieu Lacage
c5797b916f add tests 2007-09-28 13:27:37 +02:00
Mathieu Lacage
7a6385b614 add support for 6-arg Timer::SetFunction 2007-09-28 13:19:43 +02:00
Mathieu Lacage
5391aa0fa2 add support for 6-arg SetArguments 2007-09-28 13:02:14 +02:00
Gustavo J. A. M. Carneiro
06659f1dfc merge 2007-09-28 11:59:46 +01:00
Mathieu Lacage
eec001cad4 add 6 arg support to pointer to function traits 2007-09-28 12:49:05 +02:00
Mathieu Lacage
d953614fe4 add 6 arg support to pointer to member traits 2007-09-28 12:46:17 +02:00
Mathieu Lacage
82070b999c simplicy policy handling 2007-09-28 10:42:29 +02:00
Mathieu Lacage
cbf46c9ec4 re-implement the Timer class with the new type traits 2007-09-28 10:33:19 +02:00
Mathieu Lacage
13347878df implement the helper IntToType template 2007-09-28 10:32:59 +02:00
Mathieu Lacage
343d9fd63f forgot to add the nArgs enum in FunctionPtrTraits 2007-09-28 10:32:15 +02:00
Mathieu Lacage
4d1ab8f4ba rewrite the TypeTraits and add some tests 2007-09-28 09:27:57 +02:00
Mathieu Lacage
c1717498f4 add testcase, make it work 2007-09-27 13:48:32 +02:00
Mathieu Lacage
74a57d9e12 implement the member function version of Timer::SetFunction (a1) 2007-09-27 13:45:55 +02:00