The timer implementation underlying Timer and Watchdog. More...
#include "timer-impl.h"
Inheritance diagram for ns3::TimerImpl:Public Member Functions | |
| virtual | ~TimerImpl () |
| Destructor. More... | |
| virtual void | Invoke (void)=0 |
| Invoke the expire function. More... | |
| virtual EventId | Schedule (const Time &delay)=0 |
| Schedule the callback for a future time. More... | |
| template<typename T1 > | |
| void | SetArgs (T1 a1) |
| Set the arguments to be used when invoking the expire function. More... | |
| template<typename T1 , typename T2 > | |
| void | SetArgs (T1 a1, T2 a2) |
| template<typename T1 , typename T2 , typename T3 > | |
| void | SetArgs (T1 a1, T2 a2, T3 a3) |
| template<typename T1 , typename T2 , typename T3 , typename T4 > | |
| void | SetArgs (T1 a1, T2 a2, T3 a3, T4 a4) |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
| void | SetArgs (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) |
| template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
| void | SetArgs (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) |
The timer implementation underlying Timer and Watchdog.
Definition at line 42 of file timer-impl.h.
|
inlinevirtual |
Destructor.
Definition at line 46 of file timer-impl.h.
|
pure virtual |
Invoke the expire function.
Referenced by ns3::Watchdog::Expire().
Schedule the callback for a future time.
| [in] | delay | The amount of time until the timer expires. |
Referenced by ns3::Timer::Resume(), and ns3::Timer::Schedule().
| void ns3::TimerImpl::SetArgs | ( | T1 | a1 | ) |
Set the arguments to be used when invoking the expire function.
| T1 | [deduced] Type of the first argument. |
| [in] | a1 | The first argument |
Definition at line 974 of file timer-impl.h.
References ns3::if(), and NS_FATAL_ERROR.
Referenced by ns3::Watchdog::SetArguments(), and ns3::Timer::SetArguments().
| void ns3::TimerImpl::SetArgs | ( | T1 | a1, |
| T2 | a2 | ||
| ) |
| T1 | [deduced] Type of the first argument. |
| T2 | [deduced] Type of the second argument. |
| [in] | a1 | the first argument |
| [in] | a2 | the second argument |
Definition at line 990 of file timer-impl.h.
References ns3::if(), and NS_FATAL_ERROR.
| void ns3::TimerImpl::SetArgs | ( | T1 | a1, |
| T2 | a2, | ||
| T3 | a3 | ||
| ) |
| T1 | [deduced] Type of the first argument. |
| T2 | [deduced] Type of the second argument. |
| T3 | [deduced] Type of the third argument. |
| [in] | a1 | the first argument |
| [in] | a2 | the second argument |
| [in] | a3 | the third argument |
Definition at line 1007 of file timer-impl.h.
References ns3::if(), and NS_FATAL_ERROR.
| void ns3::TimerImpl::SetArgs | ( | T1 | a1, |
| T2 | a2, | ||
| T3 | a3, | ||
| T4 | a4 | ||
| ) |
| T1 | [deduced] Type of the first argument. |
| T2 | [deduced] Type of the second argument. |
| T3 | [deduced] Type of the third argument. |
| T4 | [deduced] Type of the fourth argument. |
| [in] | a1 | the first argument |
| [in] | a2 | the second argument |
| [in] | a3 | the third argument |
| [in] | a4 | the fourth argument |
Definition at line 1025 of file timer-impl.h.
References ns3::if(), and NS_FATAL_ERROR.
| void ns3::TimerImpl::SetArgs | ( | T1 | a1, |
| T2 | a2, | ||
| T3 | a3, | ||
| T4 | a4, | ||
| T5 | a5 | ||
| ) |
| T1 | [deduced] Type of the first argument. |
| T2 | [deduced] Type of the second argument. |
| T3 | [deduced] Type of the third argument. |
| T4 | [deduced] Type of the fourth argument. |
| T5 | [deduced] Type of the fifth argument. |
| [in] | a1 | the first argument |
| [in] | a2 | the second argument |
| [in] | a3 | the third argument |
| [in] | a4 | the fourth argument |
| [in] | a5 | the fifth argument |
Definition at line 1044 of file timer-impl.h.
References ns3::if(), and NS_FATAL_ERROR.
| void ns3::TimerImpl::SetArgs | ( | T1 | a1, |
| T2 | a2, | ||
| T3 | a3, | ||
| T4 | a4, | ||
| T5 | a5, | ||
| T6 | a6 | ||
| ) |
| T1 | [deduced] Type of the first argument. |
| T2 | [deduced] Type of the second argument. |
| T3 | [deduced] Type of the third argument. |
| T4 | [deduced] Type of the fourth argument. |
| T5 | [deduced] Type of the fifth argument. |
| T6 | [deduced] Type of the sixth argument. |
| [in] | a1 | the first argument |
| [in] | a2 | the second argument |
| [in] | a3 | the third argument |
| [in] | a4 | the fourth argument |
| [in] | a5 | the fifth argument |
| [in] | a6 | the sixth argument |
Definition at line 1064 of file timer-impl.h.
References ns3::if(), and NS_FATAL_ERROR.
1.8.14