Commit Graph
72 Commits
Author SHA1 Message Date
Mathieu Lacage 6dad8a4d79 introduce ObjectBase 2008-01-30 17:25:06 +01:00
Mathieu Lacage 242e8356a9 bug 104: add a method to retrive the maximum simulation time. 2007-11-21 15:54:34 +01:00
Mathieu Lacage b7700e016c remove 'All rights reserved' mention 2007-10-08 15:54:36 +02:00
Mathieu Lacage 9902b77846 add Simulator::GetDelayLeft 2007-10-03 13:01:12 +02:00
Gustavo J. A. M. Carneiro b32284c17b Call Simulator::Destroy () before running simulator unit tests, to force time to start from zero (some tests check for absolute times) 2007-09-21 18:04:53 +01:00
Gustavo J. A. M. Carneiro d225ef7939 Use NS_TEST_* macros for simulator unit tests 2007-09-21 17:57:06 +01:00
Mathieu Lacage c780ceb2f9 fix last errors for new tests 2007-08-24 15:11:08 +02:00
Mathieu Lacage 49afa68085 add failing tests 2007-08-24 14:45:25 +02:00
Mathieu Lacage 5a15701fca rename Bind to DefaultValue::Bind. fix bug 62 2007-08-08 16:41:59 +02:00
Mathieu Lacage b862eef794 remove GetEventImpl 2007-07-27 17:44:15 +02:00
Mathieu Lacage f2d682c6eb be more consistant in the handling of references 2007-07-27 17:36:14 +02:00
Mathieu Lacage 579da82cce more optimizations 2007-07-27 17:28:17 +02:00
Mathieu Lacage 5168bd8db6 optimize EventImpl refcounting 2007-07-27 17:18:14 +02:00
Mathieu Lacage 5df4aa5589 use a Ptr<> to manage EventImpl instances 2007-07-27 15:37:22 +02:00
Mathieu Lacage 6370055437 GetEventImpl -> PeekEventImpl 2007-07-27 09:50:21 +02:00
Mathieu Lacage cce7d91487 make sure IsExpired handles destroy events correctly 2007-07-23 15:16:45 +02:00
Mathieu Lacage cbd9a431a8 add support to cancel Now and Destroy events. 2007-07-23 14:52:51 +02:00
Mathieu Lacage 5c74772062 finish support for references as arguments to event handlers 2007-07-19 18:57:19 +02:00
Mathieu Lacage 1e7fc1ccbf failing testcases to for events with references as arguments 2007-07-19 13:45:07 +02:00
Gustavo J. A. M. Carneiro 077e2d79e1 Make Simulator::IsExpired parameter const, to reflect the fact that the EventId is not changed. EventId::IsExpired and EventId::IsRunning also made const.
--HG--
extra : transplant_source : l%B2q%00j%5B%B9%AF%E5%E7%29%01%CA%CC%80%A5%94%DE%FF%BD
2007-07-12 12:41:37 +01:00
Mathieu Lacage 086ba70562 uniformize the DefaultValues used by the Event Schedulers 2007-05-24 16:15:41 +02:00
Mathieu Lacage dab4efa76f fix bug 24 2007-05-24 16:08:03 +02:00
Mathieu Lacage 1987bcd5d1 avoid cyclic dependency between Simulator and Time code 2007-05-24 09:08:24 +02:00
Emmanuelle Laprise 9bfd1b0c8e 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
Mathieu Lacage 681415672a merge with HEAD 2007-05-04 14:03:12 +02:00
Mathieu Lacage dc1bba4197 make sure that Simulator::Cancel deals correctly with events which were already scheduled 2007-05-02 10:20:44 +02:00
Raj Bhattacharjea b76875567f Incorporated defaults and command-line arguments 2007-04-26 11:36:05 -04:00
Mathieu Lacage fc72c4efb3 add consistency checks. Based on patch by Gustavo Carneiro 2007-03-06 18:38:51 +01:00
Mathieu Lacage b23ee44ad8 convert use of <cassert> to "ns3/assert.h" 2007-02-16 09:56:21 +01:00
Mathieu Lacage 1d3cf64970 fix trace output 2007-02-02 19:29:55 +01:00
Mathieu Lacage ebe99a4afb fix EventId::IsExpired and Simulator::IsExpired, add EventId::IsRunning, add relevant tests, replace Seconds, MilliSeconds, MicroSeconds, and, NanoSeconds classes by functions named similarly 2007-02-01 18:52:55 +01:00
Mathieu Lacage 32f5b36fe2 We need to make sure that the uid of the first event generated is different from the uid of the simulator when no events have yet been run. 2006-12-15 10:01:23 +01:00
Mathieu Lacage e2caaf8a99 Log format is defined in units of nano seconds rather than seconds. 2006-12-13 15:19:06 +01:00
Mathieu Lacage 2f905ba7b8 remove now-unimplemented IsValid method 2006-12-11 19:37:53 +01:00
Mathieu Lacage 5bc16e171c fix memory leaks 2006-12-11 18:56:11 +01:00
Mathieu Lacage f784fee81d rename Time::ApproximateTo methods to Time::Get 2006-11-21 15:53:32 +01:00
Mathieu Lacage aa731ce4c7 make Time relative instead of Absolute 2006-11-21 15:50:09 +01:00
Mathieu Lacage 881f3bc03c fix coding style 2006-11-01 13:11:30 +01:00
Mathieu Lacage d747bf4840 fix build 2006-10-28 21:25:00 +02:00
Mathieu Lacage a47c5bc05b implement ScheduleNow and ScheduleDestroy methods 2006-10-28 21:21:55 +02:00
Mathieu Lacage ac5306db2b implement overloads for ScheduleNow and ScheduleDestroy 2006-10-28 21:21:53 +02:00
Mathieu Lacage 141b100723 start of work to re-implement Schedule* methods 2006-10-28 21:21:51 +02:00
Mathieu Lacage b7e4b7567d fix Time::ApproximateTo* return type 2006-10-28 21:21:48 +02:00
Mathieu Lacage c877a34562 new Time implementation 2006-10-28 21:21:34 +02:00
Mathieu Lacage d45f358e7c fix coding style 2006-10-18 09:27:21 +02:00
Mathieu Lacage 30c4e8edaa fix coding style 2006-10-06 13:37:25 +02:00
mlacage@nef.inria.fr b615a5880c remove unused variable 2006-10-03 12:21:13 +02:00
mlacage@nef.inria.fr 41bc87087d make destructor public to avoid compiler warning. 2006-10-03 12:20:13 +02:00
Mathieu Lacage b0b388b4f0 test each default event scheduler 2006-10-02 19:10:04 +02:00
Mathieu Lacage 4ed243345f try to get rid of tabs which sneaked in 2006-10-02 14:37:46 +02:00