The Timer and Watchdog objects both facilitate scheduling functions to execute a specified virtual time in the future. More...
Modules | |
TimerImpl Implementation | |
Files | |
file | timer-impl.h |
ns3::TimerImpl declaration and implementation. | |
file | timer.cc |
ns3::Timer implementation. | |
file | timer.h |
ns3::Timer class declaration. | |
file | trickle-timer-test-suite.cc |
Trickle Timer test suite. | |
file | trickle-timer.h |
ns3::TrickleTimer timer class declaration. | |
file | watchdog-test-suite.cc |
Watchdog test suite. | |
file | watchdog.cc |
ns3::Watchdog timer class implementation. | |
file | watchdog.h |
ns3::Watchdog timer class declaration. | |
Classes | |
class | ns3::Timer |
A simple virtual Timer class. More... | |
class | ns3::TimerImpl |
The timer implementation underlying Timer and Watchdog. More... | |
class | ns3::TrickleTimer |
A Trickle Timer following RFC 6206. More... | |
class | ns3::Watchdog |
A very simple watchdog operating in virtual time. More... | |
The Timer and Watchdog objects both facilitate scheduling functions to execute a specified virtual time in the future.
A Watchdog timer cannot be paused or cancelled once it has been started, however it can be lengthened (delayed). A Watchdog takes no action when it is destroyed.
A Timer can be suspended, resumed, cancelled and queried for time left, but it can't be extended (except by suspending and resuming). In addition, it can be configured to take different actions when the Timer is destroyed.