Commit Graph

1697 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
fab9df7825 Use 'const Ptr<T>' rather than 'Ptr<T> const' 2007-10-08 14:13:58 +01: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
907ad64f96 merge with HEAD 2007-10-08 10:28:52 +02:00
Gustavo J. A. M. Carneiro
3457fcb48b Fix race condition in mobility-visualizer-view; reduce refresh rate to 30fps. 2007-10-04 11:24:05 +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
2d0f686964 Compile mobility-visualizer with -fno-strict-aliasing to avoid GNOME bug #316221 2007-10-03 19:38:03 +01:00
Gustavo J. A. M. Carneiro
cf896e8064 Use GStaticMutex instead of G_DEFINE_LOCK 2007-10-03 19:36:56 +01:00
Gustavo J. A. M. Carneiro
666850a6bc Hide the velocity vector if it is null. 2007-10-03 17:38:05 +01:00
Gustavo J. A. M. Carneiro
89ff51cc09 mereg 2007-10-03 17:33:45 +01:00
Gustavo J. A. M. Carneiro
c0ea316f44 Draw the velocity vector 2007-10-03 17:29:27 +01:00
Gustavo J. A. M. Carneiro
7fae03e300 Add a small mobility model visualization tool 2007-10-03 16:38:17 +01:00
Gustavo J. A. M. Carneiro
3e2e67d88d hg ignore doc/trace-source-list.h 2007-10-03 13:59:32 +01:00
Gustavo J. A. M. Carneiro
4fd5e3dc74 Now run doxygen again before the build, but the doc/trace-source-list.h is generated during waf check; make doxygen less verbose, and give a warning when doc/trace-source-list.h is missing. 2007-10-03 13:58:01 +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
Gustavo J. A. M. Carneiro
cd21a5ed8a In trace sources list documentation, make the trace path stand out better, as it is extremely important but previously easy to miss. 2007-10-02 11:51:45 +01:00
Gustavo J. A. M. Carneiro
f970ede20b merge 2007-10-02 11:11:27 +01:00
Gustavo J. A. M. Carneiro
9308382295 Run the program print-trace-sources to generate doc/trace-source-list.h when generating docs. As a side effect, --doxygen is now has to be processed at the end of the build. 2007-10-02 11:10:31 +01: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
978e3e6e81 merge 2007-10-01 12:00:31 +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
6951f13ce4 On course-change, print velocity in addition to position. 2007-09-28 19:13:19 +01:00
Gustavo J. A. M. Carneiro
ea76a9f88e Create real nodes, not just mobility models. 2007-09-28 19:04:11 +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
c0b11f6eab Update random mobility sample to new API 2007-09-28 16:54:04 +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