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 254 of file timer-impl.h.
References 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 266 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 690 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 297 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 723 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 338 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 766 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 384 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 814 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 435 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 867 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 492 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 927 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 558 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 996 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 676 of file timer-impl.h.
References ns3::MakeTimerImpl(), and NS_ASSERT.