Commit Graph

5927 Commits

Author SHA1 Message Date
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
Mathieu Lacage
3745686f38 merge with trunk 2007-10-01 15:41:19 +02: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
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Mathieu Lacage
2450bac944 add Packet::Ref/Unref methods 2007-10-01 14:14:31 +02:00
Mathieu Lacage
46fe0fbc29 Simplify and optimize Create template function. Add Ptr::operator * 2007-10-01 14:07:53 +02: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
d2cd341615 merge 2007-10-01 12:01:26 +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
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
Gustavo J. A. M. Carneiro
f7ff4d6cc7 merge 2007-09-27 12:49:17 +01: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
Gustavo J. A. M. Carneiro
df3bfb2771 WAF: set env['INCLUDEDIR'] to PREFIX/include so that ns3 headers get installed on 'waf install' (also shuts up the warnings in waf distcheck) 2007-09-27 12:44:29 +01:00
Gustavo J. A. M. Carneiro
76dc77106f WAF: update to WAF trunk to get bug fixes and smaller script. 2007-09-27 12:40:01 +01:00
Mathieu Lacage
265df9d0f2 add some doxygen 2007-09-27 13:31:20 +02:00
Mathieu Lacage
e4352e3c5a add doxygen for Timer class and implement the policy flags 2007-09-27 13:27:18 +02:00
Mathieu Lacage
da44de59b9 Implement a Timer API 2007-09-27 12:51:17 +02:00
Mathieu Lacage
8180ca7a9d add TypeTraits<T>::NonConstType 2007-09-27 12:50:55 +02:00
Gustavo J. A. M. Carneiro
71125e4833 Event Garbage Collector 2007-09-27 12:50:26 +02:00
Craig Dowell
5408c387ba branch merge 2007-09-26 19:55:35 -07:00
Craig Dowell
8df3425a2e tutorial files 2007-09-26 19:55:09 -07:00
Gustavo J. A. M. Carneiro
eb4e4b6b05 Enable ASCII tracing unconditionally, now that the associated problem is fixed in OLSR. 2007-09-26 18:28:42 +01:00
Gustavo J. A. M. Carneiro
166563d343 Make the OLSR headers usable from the AciiTracing point of view 2007-09-26 18:27:52 +01:00
Gustavo J. A. M. Carneiro
f6dcef3b49 Add a couple of NS_LOG_PARAM calls for debugging. 2007-09-26 18:09:19 +01:00