Commit Graph

165 Commits

Author SHA1 Message Date
Mathieu Lacage
078d8b607c do not access the iterator after erasing it 2007-08-02 08:55:56 +02:00
Mathieu Lacage
2476dd4474 merge with trunk 2007-08-01 19:52:59 +02:00
Gustavo J. A. M. Carneiro
8682d0293a WAF: remove the obj.includes = '.' part from modules, since it causes build failure in OS X, and waf was just fixed to enable header files dependency tracking by default without needing to change obj.includes 2007-07-28 14:14:16 +01:00
Mathieu Lacage
c3e1f137e1 remove GetEventImpl 2007-07-27 17:44:15 +02:00
Mathieu Lacage
0b1819cdc8 be more consistant in the handling of references 2007-07-27 17:36:14 +02:00
Mathieu Lacage
dcf642ffb0 more optimizations 2007-07-27 17:28:17 +02:00
Mathieu Lacage
21be3e3912 optimize EventImpl refcounting 2007-07-27 17:18:14 +02:00
Mathieu Lacage
daa9c3c13c use a Ptr<> to manage EventImpl instances 2007-07-27 15:37:22 +02:00
Mathieu Lacage
c7906b2d61 add refcounting to EventImpl 2007-07-27 09:53:15 +02:00
Mathieu Lacage
0b1ddb45a2 GetEventImpl -> PeekEventImpl 2007-07-27 09:50:21 +02:00
Gustavo J. A. M. Carneiro
41c4b6453a EvenId const fixes. 2007-07-26 12:05:31 +01:00
Mathieu Lacage
3fa85ade3a make sure IsExpired handles destroy events correctly 2007-07-23 15:16:45 +02:00
Mathieu Lacage
1bd05e4561 add support to cancel Now and Destroy events. 2007-07-23 14:52:51 +02:00
Mathieu Lacage
a38a0d5b81 add operator == and != t o EventId 2007-07-23 14:51:57 +02:00
Mathieu Lacage
efcf28b96b TimeDefaultValue 2007-07-23 14:41:53 +02:00
Gustavo J. A. M. Carneiro
57688559b1 WAF: add obj.includes = '.' to command waf to do dependency tracking on private header files. 2007-07-20 11:12:43 +01:00
Mathieu Lacage
5703b95d0e finish support for references as arguments to event handlers 2007-07-19 18:57:19 +02:00
Mathieu Lacage
7acaffa841 fix testcase 2007-07-19 15:10:59 +02:00
Mathieu Lacage
ea7652677d rename traits to handle Ptr<> object pointers 2007-07-19 13:53:14 +02:00
Mathieu Lacage
8bea90280f failing testcases to for events with references as arguments 2007-07-19 13:45:07 +02:00
Mathieu Lacage
4fef0935fb revert george's fix to support events with references as arguments 2007-07-19 13:44:42 +02:00
Gustavo J. A. M. Carneiro
ae8f10ae47 WAF: derive the variable NS3_MODULES from the 'all_modules' list in src/wscript, instead of requiring every module to define a configure function to register themselves. This way module registration is done in one place only: src/wscript. Requires module naming conventions, though. 2007-07-15 13:04:47 +01:00
Gustavo J. A. M. Carneiro
b6c0155487 Make Simulator::IsExpired parameter const, to reflect the fact that the EventId is not changed. EventId::IsExpired and EventId::IsRunning also made const. 2007-07-12 12:41:37 +01:00
George F. Riley
42d93b9872 Simplifications to the point to point devices and channel 2007-07-13 10:40:10 +02:00
Mathieu Lacage
5625551898 append correct unit when printing Time objects 2007-07-02 19:44:18 +02:00
Gustavo J. A. M. Carneiro
7c1e148ffa WAF: add a warning to the --high-precision-as-double option help text saying they it works in configure. 2007-06-21 12:33:50 +01:00
Gustavo J. A. M. Carneiro
65aca43f3f WAF: make all ns3 modules register themselves in the environment; link the run-tests program with all ns3 modules, not with a hardcoded list. 2007-06-15 15:19:38 +01:00
Gustavo J. A. M. Carneiro
96418f577d re-sync cairo-wideint.c with upstream cairo's version (also fixes the recent compiler warning, but in a different way) 2007-06-14 13:09:56 +01:00
Gustavo J. A. M. Carneiro
50037ae611 Fix compilier warning/error: src/simulator/cairo-wideint.c:789: warning: comparison between signed and unsigned integer expressions. 2007-06-13 18:40:38 +01:00
Mathieu Lacage
80247a993d uniformize the DefaultValues used by the Event Schedulers 2007-05-24 16:15:41 +02:00
Mathieu Lacage
25c6350a88 fix bug 24 2007-05-24 16:08:03 +02:00
Mathieu Lacage
9b4e7f4cfc add DefaultValue support for TimeStepPrecision 2007-05-24 09:34:58 +02:00
Mathieu Lacage
cd0c502986 more dox improvements 2007-05-24 09:22:48 +02:00
Mathieu Lacage
7436c51592 improve dox 2007-05-24 09:18:42 +02:00
Mathieu Lacage
95863b81a3 add reference to Emmanuelle in Authors/Copyright 2007-05-24 09:11:46 +02:00
Mathieu Lacage
49fbbec138 avoid cyclic dependency between Simulator and Time code 2007-05-24 09:08:24 +02:00
Mathieu Lacage
cc2d1399ab fix small typos 2007-05-24 09:04:19 +02:00
Mathieu Lacage
fcf02a427c namespace the precision values properly 2007-05-24 09:02:17 +02:00
Emmanuelle Laprise
73a66e5b1a Fixed the problems that were found by Mathieu Lacage in the first
implementation. Biggest change is to not allow any conversions to
double with the GetXxxSeconds and XxxSeconds functions. (see Bug 22
for more information)
2007-05-21 22:14:09 -05:00
Emmanuelle Laprise
23ab5ba436 The header file ns3/cairo-wideint-private.h was added since the type int32_t was used. 2007-05-17 12:12:44 -05:00
Raj Bhattacharjea
37aa2a4bd2 Fixed a gcc3.4.6 error for optimized builds 2007-05-16 13:37:39 -04:00
Gustavo J. A. M. Carneiro
ca2416f431 WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions. 2007-05-13 12:46:18 +01:00
Gustavo J. A. M. Carneiro
b2a87732c9 Add support for building with WAF 2007-05-07 12:01:51 +01:00
Mathieu Lacage
5461e0a056 fix doxygen doc error 2007-05-09 17:07:50 +02:00
Mathieu Lacage
ccd6f5b640 merge with HEAD 2007-05-04 14:03:12 +02:00
Mathieu Lacage
3cc6ff972b a singleton template class to simplify the implementation of a few classes 2007-05-02 13:43:41 +02:00
Mathieu Lacage
0c235e8edd improve debugger output for time variables when we do not need the 128 bit statistics 2007-05-02 11:22:27 +02:00
Mathieu Lacage
b7ad24cea9 make sure that Simulator::Cancel deals correctly with events which were already scheduled 2007-05-02 10:20:44 +02:00
Raj Bhattacharjea
327c365a41 Incorporated defaults and command-line arguments 2007-04-26 11:36:05 -04:00
Unknown
be28cb56ff Added back corrected version of TimeUnit(string) 2007-03-25 13:11:20 -04:00