Commit Graph

122 Commits

Author SHA1 Message Date
Mathieu Lacage
97fef32b22 deprecate simulator API 2010-04-08 10:49:59 +02:00
Josh Pelkey
5afc6bd374 Merge distributed simulation code 2010-03-08 21:07:31 -05:00
Craig Dowell
fab79d5875 infinite recursion isn't a good idea 2010-02-19 16:29:40 -08:00
Faker Moatamri
c0be5c00b3 Bug 793: no creation of a new simulator when calling simulator::cancel or remove or IsExpired 2010-01-19 17:02:38 +01:00
Guillaume Seguin
94cf348701 Print node context in log messages 2009-11-14 17:47:05 +01:00
Guillaume Seguin
5ce9ad2d78 Introduce Simulator::ScheduleWithContext* and Simulator::GetContext 2009-11-14 17:47:05 +01:00
Guillaume Seguin
0289746207 Simulator::SetScheduler now takes an ObjectFactory 2009-11-12 13:19:35 +01:00
Guillaume Seguin
fa3ec32522 set the implementation Scheduler after setting the implementation 2009-11-10 10:31:51 +01:00
Mathieu Lacage
f7e39fc9f3 bug 675: convert unit tests to new test framework 2009-09-30 11:08:57 +02:00
Guillaume Seguin
7f407e72a7 bug 604: Simulator::SetImplementation buggy 2009-06-26 08:58:05 +02:00
Mathieu Lacage
a6df997965 bug 583: Simulator::SetImplementation not implemented 2009-06-08 13:44:51 +02:00
Mathieu Lacage
2f0944386f bug 560: remove deprecated methods. 2009-05-19 15:34:20 +02:00
Mathieu Lacage
14fdfbf4b2 test calendar+ns2calendar schedulers 2009-01-15 20:55:34 +01:00
Gustavo J. A. M. Carneiro
8d8d19ef45 Fix build for systems without posix threads library 2009-01-14 15:36:19 +00:00
Mathieu Lacage
85af7552dd add SchedulerType global variable 2009-01-09 08:17:46 +01:00
mathieu.
691ce0fdde fix bug 230, rescan bindings 2008-12-10 17:01:06 -08:00
Mathieu Lacage
fe8a6a83b9 bug 257: change the default log output of time to seconds, not the simulator's resolution. 2008-11-25 15:37:43 +01:00
Mathieu Lacage
e2c52c7b90 remove realtime public API. 2008-10-27 12:47:33 +01:00
Mathieu Lacage
82bbe71419 rename RealtimeSimulator to WallclockSimulator 2008-10-15 14:51:16 +02:00
Mathieu Lacage
5dc0415289 move MakeEvent out of Simulator 2008-10-15 14:35:28 +02:00
Mathieu Lacage
e33fc49877 avoid using Ptr<EventImpl> 2008-10-15 13:35:49 +02:00
Craig Dowell
8b6dc98d14 slight reorganization and naming change for added realtime methods 2008-10-14 22:52:41 -07:00
Craig Dowell
c101158f24 make simulator schedule calls explicitly relative throughout. fixes multithread problem in realtime simulator 2008-10-10 15:24:56 -07:00
Gustavo J. A. M. Carneiro
161adc2a4e Bug #270: Simulator::RunOneEvent 2008-08-06 11:37:52 +01:00
Mathieu Lacage
7a711ae53e bug 269: revert parts of 9e763021e045 and add comments to avoid getting these again. 2008-08-03 09:14:07 -07:00
Mathieu Lacage
36f196a9a0 bug 252: get rid of dead code. 2008-07-28 08:54:20 -07:00
Gustavo J. A. M. Carneiro
732b7994de Add empty implementation of Simulator::SetImplementation, to make Python bindings work. 2008-07-24 11:37:56 +01:00
Craig Dowell
9c8ee223b3 make simulator implementation replaceable via global default value 2008-07-18 21:51:31 -07:00
Craig Dowell
b1af5815b0 factor simulator into interface and (multiple) implementation pieces 2008-07-17 23:52:59 -07:00
Mathieu Lacage
26d46a960d fix a couple of XXX 2008-05-30 11:11:00 -07:00
Gustavo J. A. M. Carneiro
6152ba1a89 Make Application::Start/Stop times relative, Simulator::StopAt(time) renamed to Simulator::Stop(time) and time also made relative, to improve consistency of the API which uses relative times everywhere else. Closes bug #191. 2008-05-29 11:45:57 +01:00
Mathieu Lacage
6236cbf9a3 avoid useless ifdefs 2008-05-07 14:40:03 -07:00
Craig Dowell
58ab30c53c fix optimized build, bug 169 2008-05-07 14:24:45 -07:00
Mathieu Lacage
4c424da911 add comments about previous bug fix 2008-05-07 11:33:40 -07:00
Mathieu Lacage
73aec9c9b1 avoid segfault when setting NS_LOG=* 2008-05-06 12:20:10 -07:00
Mathieu Lacage
7be1b92968 merge with HEAD 2008-04-21 09:04:08 -07:00
Mathieu Lacage
35170aed54 merge with HEAD 2008-04-17 15:54:35 -07:00
Mathieu Lacage
2c1b7db441 merge with HEAD 2008-04-17 15:50:49 -07:00
Mathieu Lacage
4ff40c4a07 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Mathieu Lacage
6fd8b6c572 bug 143: rename scheduler files 2008-04-15 10:09:42 -07:00
Mathieu Lacage
43dbc0b4d1 fix optimized build 2008-04-14 12:21:24 -07:00
Mathieu Lacage
2b0056553c add time logging support 2008-04-14 11:30:15 -07:00
Mathieu Lacage
696859e936 add a few missing ns3:: prefixes in TypeId names. 2008-04-10 11:50:08 -07:00
Mathieu Lacage
e110fea8ff get rid of implicit conversion of Attribute to/from Ptr<>. Replace this with an explicit Pointer class. 2008-04-09 12:15:24 -07:00
Mathieu Lacage
b807dfa090 Make sure that we really attempt to destroy everything upon process exit. Gets rid of spurious leak reports in valgrind. 2008-04-09 10:04:16 -07:00
Mathieu Lacage
939cee7ac3 do not use ObjectBase as a base class. 2008-03-16 18:42:23 +01:00
Mathieu Lacage
eb4fb0cb5d kill DefaultValue 2008-03-10 00:27:53 +01:00
Mathieu Lacage
59df24f63f do not use DefaultValues in simulator 2008-03-03 20:47:12 +01:00
Mathieu Lacage
e06e3096cb merge with HEAD 2008-02-27 22:19:39 +01:00
Mathieu Lacage
6a2d2601fc Release all events left upon Simulator::Destroy 2008-02-26 01:39:59 +01:00