Commit Graph
187 Commits
Author SHA1 Message Date
Mathieu Lacage 36dd851db3 simplicy policy handling 2007-09-28 10:42:29 +02:00
Mathieu Lacage 3db1361ccf re-implement the Timer class with the new type traits 2007-09-28 10:33:19 +02:00
Mathieu Lacage 8744ccf5e6 add testcase, make it work 2007-09-27 13:48:32 +02:00
Mathieu Lacage af8917dd2b implement the member function version of Timer::SetFunction (a1) 2007-09-27 13:45:55 +02:00
Mathieu Lacage 062c1636d1 add some doxygen 2007-09-27 13:31:20 +02:00
Mathieu Lacage 39d7cf849d add doxygen for Timer class and implement the policy flags 2007-09-27 13:27:18 +02:00
Mathieu Lacage 8f5302eded Implement a Timer API 2007-09-27 12:51:17 +02:00
Gustavo J. A. M. Carneiro 6d7dffcd1e Event Garbage Collector 2007-09-27 12:50:26 +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
Gustavo J. A. M. Carneiro 8f13030ade WAF: as suggested by George, add a bunch of helper waf scripts that call the toplevel waf script, so that it is possible to compile with ./waf from emacs regardless of which buffer you are visiting (the other alternative is to install waf system wide and run 'waf'. 2007-09-08 19:24:39 +01:00
Mathieu Lacage c780ceb2f9 fix last errors for new tests 2007-08-24 15:11:08 +02:00
Mathieu Lacage 2eb646383c fix first part of errors introduced by new tests 2007-08-24 15:05:34 +02:00
Mathieu Lacage 49afa68085 add failing tests 2007-08-24 14:45:25 +02:00
Mathieu Lacage bf65ed9df4 merge with win32 tree 2007-08-09 13:42:42 +02:00
Mathieu Lacage 5b5fd9a8f0 merge 2007-08-09 09:39:29 +02:00
Mathieu Lacage ceb786f389 merge with trunk 2007-08-09 09:36:59 +02:00
Mathieu Lacage 5a15701fca rename Bind to DefaultValue::Bind. fix bug 62 2007-08-08 16:41:59 +02:00
Gustavo J. A. M. Carneiro 9aa65d1e2a WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file. 2007-08-08 15:10:36 +01:00
Mathieu Lacage 1705fa0001 merge with trunk 2007-08-08 14:00:45 +02:00
Mathieu Lacage 5cc3b1409a fix dox warning 2007-08-08 12:34:18 +02:00
Tom Henderson 0fd80dfff3 add unreachable statement to solve gcc-4.0.x compiler bug for optimized builds on os x 2007-08-07 20:37:52 -07:00
Mathieu Lacage 0fd4d28f71 do not access the iterator after erasing it 2007-08-02 08:55:56 +02:00
Mathieu Lacage 38ca54d0ba merge with trunk 2007-08-01 19:52:59 +02:00
Gustavo J. A. M. Carneiro 4edba4b1b9 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 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 2053f19e2b add refcounting to EventImpl 2007-07-27 09:53:15 +02:00
Mathieu Lacage 6370055437 GetEventImpl -> PeekEventImpl 2007-07-27 09:50:21 +02:00
Gustavo J. A. M. Carneiro e28c04db06 EvenId const fixes.
--HG--
extra : transplant_source : %D9sU%0C%FA%2CJ%29%96h%D7%E2%B0%1F%1D%5E%F9%E2%BD%C3
2007-07-26 12:05:31 +01: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 0bdedc9a7a add operator == and != t o EventId 2007-07-23 14:51:57 +02:00
Mathieu Lacage 4245963a2d TimeDefaultValue 2007-07-23 14:41:53 +02:00
Gustavo J. A. M. Carneiro 3249fa8d54 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 5c74772062 finish support for references as arguments to event handlers 2007-07-19 18:57:19 +02:00
Mathieu Lacage ad3cf7c318 fix testcase 2007-07-19 15:10:59 +02:00
Mathieu Lacage 5c9ae7d29d rename traits to handle Ptr<> object pointers 2007-07-19 13:53:14 +02:00
Mathieu Lacage 1e7fc1ccbf failing testcases to for events with references as arguments 2007-07-19 13:45:07 +02:00
Mathieu Lacage fc95c9fff2 revert george's fix to support events with references as arguments 2007-07-19 13:44:42 +02:00
Gustavo J. A. M. Carneiro e118337d08 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 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
George F. Riley db4ae71eab Simplifications to the point to point devices and channel 2007-07-13 10:40:10 +02:00
Mathieu Lacage d7cfb6d338 append correct unit when printing Time objects 2007-07-02 19:44:18 +02:00
Gustavo J. A. M. Carneiro e6d9bcae86 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 83d1eaa881 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 ea7963f2bb 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