Files | |
file | timer-impl.h |
ns3::TimerImpl declaration and implementation. | |
Classes | |
struct | ns3::TimerImplFive< T1, T2, T3, T4, T5 > |
TimerImpl specialization class for varying numbers of arguments. More... | |
struct | ns3::TimerImplFour< T1, T2, T3, T4 > |
TimerImpl specialization class for varying numbers of arguments. More... | |
struct | ns3::TimerImplMemberTraits< T > |
Helper for the MakeTimerImpl functions which take a class method. More... | |
struct | ns3::TimerImplMemberTraits< T * > |
Helper for the MakeTimerImpl functions which take a class method. More... | |
struct | ns3::TimerImplOne< T1 > |
TimerImpl specialization class for varying numbers of arguments. More... | |
struct | ns3::TimerImplSix< T1, T2, T3, T4, T5, T6 > |
TimerImpl specialization class for varying numbers of arguments. More... | |
struct | ns3::TimerImplThree< T1, T2, T3 > |
TimerImpl specialization class for varying numbers of arguments. More... | |
struct | ns3::TimerImplTwo< T1, T2 > |
TimerImpl specialization class for varying numbers of arguments. More... | |
struct | ns3::TimerTraits< T > |
Type and reference traits for TimerImpl arguments. More... | |
Functions | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (FN fn) |
Make a TimerImpl from a function pointer taking varying numbers of arguments. More... | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 0 >, FN fn) |
Make a TimerImpl from a function pointer taking zero arguments. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 0 >, MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a function pointer taking zero arguments. More... | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 1 >, FN fn) |
Make a TimerImpl from a function pointer taking one argument. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 1 >, MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a function pointer taking one argument. More... | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 2 >, FN fn) |
Make a TimerImpl from a function pointer taking two arguments. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 2 >, MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a function pointer taking two arguments. More... | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 3 >, FN fn) |
Make a TimerImpl from a function pointer taking three arguments. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 3 >, MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a function pointer taking three arguments. More... | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 4 >, FN fn) |
Make a TimerImpl from a function pointer taking four arguments. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 4 >, MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a function pointer taking four arguments. More... | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 5 >, FN fn) |
Make a TimerImpl from a function pointer taking five arguments. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 5 >, MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a function pointer taking five arguments. More... | |
template<typename FN > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 6 >, FN fn) |
Make a TimerImpl from a function pointer taking six arguments. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (IntToType< 6 >, MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a function pointer taking six arguments. More... | |
template<typename MEM_PTR , typename OBJ_PTR > | |
TimerImpl * | ns3::MakeTimerImpl (MEM_PTR memPtr, OBJ_PTR objPtr) |
Make a TimerImpl from a class method pointer taking a varying number of arguments. More... | |
TimerImpl * ns3::MakeTimerImpl | ( | FN | fn | ) |
Make a TimerImpl from a function pointer taking varying numbers of arguments.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 252 of file timer-impl.h.
References ns3::MakeTimerImpl(), and NS_ASSERT.
Referenced by ns3::MakeTimerImpl(), ns3::Timer::SetFunction(), ns3::TrickleTimer::SetFunction(), and ns3::Watchdog::SetFunction().
Make a TimerImpl from a function pointer taking zero arguments.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 264 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | IntToType< 0 > | , |
MEM_PTR | memPtr, | ||
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a function pointer taking zero arguments.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 631 of file timer-impl.h.
References ns3::Simulator::Schedule().
Make a TimerImpl from a function pointer taking one argument.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 290 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | IntToType< 1 > | , |
MEM_PTR | memPtr, | ||
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a function pointer taking one argument.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 659 of file timer-impl.h.
References ns3::Simulator::Schedule().
Make a TimerImpl from a function pointer taking two arguments.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 325 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | IntToType< 2 > | , |
MEM_PTR | memPtr, | ||
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a function pointer taking two arguments.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 696 of file timer-impl.h.
References ns3::Simulator::Schedule().
Make a TimerImpl from a function pointer taking three arguments.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 365 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | IntToType< 3 > | , |
MEM_PTR | memPtr, | ||
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a function pointer taking three arguments.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 738 of file timer-impl.h.
References ns3::Simulator::Schedule().
Make a TimerImpl from a function pointer taking four arguments.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 410 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | IntToType< 4 > | , |
MEM_PTR | memPtr, | ||
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a function pointer taking four arguments.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 785 of file timer-impl.h.
References ns3::Simulator::Schedule().
Make a TimerImpl from a function pointer taking five arguments.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 460 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | IntToType< 5 > | , |
MEM_PTR | memPtr, | ||
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a function pointer taking five arguments.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 837 of file timer-impl.h.
References ns3::Simulator::Schedule().
Make a TimerImpl from a function pointer taking six arguments.
FN | [deduced] Function signature type of the callback function. |
[in] | fn | The function pointer to invoke when the timer expires. |
Definition at line 515 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | IntToType< 6 > | , |
MEM_PTR | memPtr, | ||
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a function pointer taking six arguments.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 894 of file timer-impl.h.
References ns3::Simulator::Schedule().
TimerImpl * ns3::MakeTimerImpl | ( | MEM_PTR | memPtr, |
OBJ_PTR | objPtr | ||
) |
Make a TimerImpl from a class method pointer taking a varying number of arguments.
MEM_PTR | [deduced] Class method function signature type. |
OBJ_PTR | [deduced] Class type. |
[in] | memPtr | Class method to invoke when the timer expires. |
[in] | objPtr | Object instance pointer. |
Definition at line 619 of file timer-impl.h.
References ns3::MakeTimerImpl(), and NS_ASSERT.