Commit Graph

198 Commits

Author SHA1 Message Date
Mathieu Lacage
d42e7a6d0a remove 'All rights reserved' mention 2007-10-08 15:54:36 +02:00
Mathieu Lacage
115506476b add missing copyright 2007-10-08 15:50:25 +02:00
Mathieu Lacage
f70700c330 add Timer::GetDelayLeft 2007-10-04 09:22:05 +02:00
Mathieu Lacage
b28727ef8c make the timer a tristate object 2007-10-04 09:14:16 +02:00
Mathieu Lacage
855d52908b add Timer::Suspend/Resume/IsSuspended 2007-10-03 13:01:29 +02:00
Mathieu Lacage
1440302ab3 add Simulator::GetDelayLeft 2007-10-03 13:01:12 +02:00
Mathieu Lacage
e216675ca1 remove uneeded forward declaration 2007-10-02 11:32:16 +02: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
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
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
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
Gustavo J. A. M. Carneiro
71125e4833 Event Garbage Collector 2007-09-27 12:50:26 +02:00
Gustavo J. A. M. Carneiro
c8d4f578af 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
4b242b57c8 Use NS_TEST_* macros for simulator unit tests 2007-09-21 17:57:06 +01:00
Gustavo J. A. M. Carneiro
0824ceacd9 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
490d38c9f1 fix last errors for new tests 2007-08-24 15:11:08 +02:00
Mathieu Lacage
02418f7498 fix first part of errors introduced by new tests 2007-08-24 15:05:34 +02:00
Mathieu Lacage
ca21c26638 add failing tests 2007-08-24 14:45:25 +02:00
Mathieu Lacage
23a116b96e merge with win32 tree 2007-08-09 13:42:42 +02:00
Mathieu Lacage
c4ccb4a8ca merge 2007-08-09 09:39:29 +02:00
Mathieu Lacage
b392b2a867 merge with trunk 2007-08-09 09:36:59 +02:00
Mathieu Lacage
7f3f471f12 rename Bind to DefaultValue::Bind. fix bug 62 2007-08-08 16:41:59 +02:00
Gustavo J. A. M. Carneiro
0eca73234a 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
7bc4564029 merge with trunk 2007-08-08 14:00:45 +02:00
Mathieu Lacage
32cd28829a fix dox warning 2007-08-08 12:34:18 +02:00
Tom Henderson
02ccad8fbc 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
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