Files | |
file | timer-impl.h |
ns3::TimerImpl declaration and implementation. | |
Classes | |
struct | ns3::internal::TimerImplX< Args > |
TimerImpl specialization class for varying numbers of arguments. More... | |
Functions | |
template<typename U , typename... Ts> | |
TimerImpl * | ns3::internal::MakeTimerImpl (U(fn)(Ts...)) |
Make a TimerImpl from a function pointer taking varying numbers of arguments. | |
template<typename OBJ_PTR , typename U , typename V , typename... Ts> | |
TimerImpl * | ns3::internal::MakeTimerImpl (U(V::*memPtr)(Ts...), OBJ_PTR objPtr) |
Make a TimerImpl from a class method pointer taking a varying number of arguments. | |
TimerImpl * ns3::internal::MakeTimerImpl | ( | U(fn)(Ts...) | ) |
Make a TimerImpl from a function pointer taking varying numbers of arguments.
U | [deduced] Return type of the callback function. |
Ts | [deduced] Argument types of the callback function. |
Definition at line 92 of file timer-impl.h.
Referenced by ns3::Timer::SetFunction(), ns3::Timer::SetFunction(), ns3::TrickleTimer::SetFunction(), ns3::TrickleTimer::SetFunction(), ns3::Watchdog::SetFunction(), and ns3::Watchdog::SetFunction().
TimerImpl * ns3::internal::MakeTimerImpl | ( | U(V::* | memPtr )(Ts...), |
OBJ_PTR | objPtr ) |
Make a TimerImpl from a class method pointer taking a varying number of arguments.
OBJ_PTR | [deduced] Class type. |
U | [deduced] Class method function return type. |
V | [deduced] Class method function class type. |
Ts | [deduced] Class method function argument types. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 139 of file timer-impl.h.