Create EventImpl instances from function pointers or lambdas which take varying numbers of arguments. More...
Functions | |
template<typename T > | |
EventImpl * | ns3::MakeEvent (T function) |
Make an EventImpl from a lambda. | |
EventImpl * | ns3::MakeEvent (void(*f)()) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
template<typename U1 , typename T1 > | |
EventImpl * | ns3::MakeEvent (void(*f)(U1), T1 a1) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
template<typename U1 , typename U2 , typename T1 , typename T2 > | |
EventImpl * | ns3::MakeEvent (void(*f)(U1, U2), T1 a1, T2 a2) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
template<typename U1 , typename U2 , typename U3 , typename T1 , typename T2 , typename T3 > | |
EventImpl * | ns3::MakeEvent (void(*f)(U1, U2, U3), T1 a1, T2 a2, T3 a3) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
template<typename U1 , typename U2 , typename U3 , typename U4 , typename T1 , typename T2 , typename T3 , typename T4 > | |
EventImpl * | ns3::MakeEvent (void(*f)(U1, U2, U3, U4), T1 a1, T2 a2, T3 a3, T4 a4) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
template<typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > | |
EventImpl * | ns3::MakeEvent (void(*f)(U1, U2, U3, U4, U5), T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
template<typename U1 , typename U2 , typename U3 , typename U4 , typename U5 , typename U6 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > | |
EventImpl * | ns3::MakeEvent (void(*f)(U1, U2, U3, U4, U5, U6), T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
Create EventImpl instances from function pointers or lambdas which take varying numbers of arguments.
EventImpl * ns3::MakeEvent | ( | T | function | ) |
Make an EventImpl from a lambda.
[in] | function | The lambda |
Definition at line 939 of file make-event.h.
EventImpl * ns3::MakeEvent | ( | void(*)() | f | ) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
[in] | f | The function pointer. |
Definition at line 36 of file make-event.cc.
References f(), and NS_LOG_FUNCTION.
Referenced by ns3::TapBridge::ReadCallback(), ns3::FdNetDevice::ReceiveCallback(), ns3::Simulator::Schedule(), ns3::Simulator::ScheduleDestroy(), ns3::Simulator::ScheduleNow(), and ns3::Simulator::ScheduleWithContext().
EventImpl * ns3::MakeEvent | ( | void(*)(U1) | f, |
T1 | a1 | ||
) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
U1 | [deduced] Formal type of the argument to the function. |
T1 | [deduced] Actual type of the argument to the function. |
[in] | f | The function pointer. |
[in] | a1 | Argument to be bound to the function. |
Definition at line 678 of file make-event.h.
References f().
EventImpl * ns3::MakeEvent | ( | void(*)(U1, U2) | f, |
T1 | a1, | ||
T2 | a2 | ||
) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
U1 | [deduced] Formal type of the first argument to the function. |
U2 | [deduced] Formal type of the second argument to the function. |
T1 | [deduced] Actual type of the first argument to the function. |
T2 | [deduced] Actual type of the second argument to the function. |
[in] | f | The function pointer. |
[in] | a1 | First argument to be bound to the function. |
[in] | a2 | Second argument to be bound to the function. |
Definition at line 712 of file make-event.h.
References f().
EventImpl * ns3::MakeEvent | ( | void(*)(U1, U2, U3) | f, |
T1 | a1, | ||
T2 | a2, | ||
T3 | a3 | ||
) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
U1 | [deduced] Formal type of the first argument to the function. |
U2 | [deduced] Formal type of the second argument to the function. |
U3 | [deduced] Formal type of the third argument to the function. |
T1 | [deduced] Actual type of the first argument to the function. |
T2 | [deduced] Actual type of the second argument to the function. |
T3 | [deduced] Actual type of the third argument to the function. |
[in] | f | The function pointer. |
[in] | a1 | First argument to be bound to the function. |
[in] | a2 | Second argument to be bound to the function. |
[in] | a3 | Third argument to be bound to the function. |
Definition at line 748 of file make-event.h.
References f().
EventImpl * ns3::MakeEvent | ( | void(*)(U1, U2, U3, U4) | f, |
T1 | a1, | ||
T2 | a2, | ||
T3 | a3, | ||
T4 | a4 | ||
) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
U1 | [deduced] Formal type of the first argument to the function. |
U2 | [deduced] Formal type of the second argument to the function. |
U3 | [deduced] Formal type of the third argument to the function. |
U4 | [deduced] Formal type of the fourth argument to the function. |
T1 | [deduced] Actual type of the first argument to the function. |
T2 | [deduced] Actual type of the second argument to the function. |
T3 | [deduced] Actual type of the third argument to the function. |
T4 | [deduced] Actual type of the fourth argument to the function. |
[in] | f | The function pointer. |
[in] | a1 | First argument to be bound to the function. |
[in] | a2 | Second argument to be bound to the function. |
[in] | a3 | Third argument to be bound to the function. |
[in] | a4 | Fourth argument to be bound to the function. |
Definition at line 793 of file make-event.h.
References f().
EventImpl * ns3::MakeEvent | ( | void(*)(U1, U2, U3, U4, U5) | f, |
T1 | a1, | ||
T2 | a2, | ||
T3 | a3, | ||
T4 | a4, | ||
T5 | a5 | ||
) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
U1 | [deduced] Formal type of the first argument to the function. |
U2 | [deduced] Formal type of the second argument to the function. |
U3 | [deduced] Formal type of the third argument to the function. |
U4 | [deduced] Formal type of the fourth argument to the function. |
U5 | [deduced] Formal type of the fifth argument to the function. |
T1 | [deduced] Actual type of the first argument to the function. |
T2 | [deduced] Actual type of the second argument to the function. |
T3 | [deduced] Actual type of the third argument to the function. |
T4 | [deduced] Actual type of the fourth argument to the function. |
T5 | [deduced] Actual type of the fifth argument to the function. |
[in] | f | The function pointer. |
[in] | a1 | First argument to be bound to the function. |
[in] | a2 | Second argument to be bound to the function. |
[in] | a3 | Third argument to be bound to the function. |
[in] | a4 | Fourth argument to be bound to the function. |
[in] | a5 | Fifth argument to be bound to the function. |
Definition at line 842 of file make-event.h.
References f().
EventImpl * ns3::MakeEvent | ( | void(*)(U1, U2, U3, U4, U5, U6) | f, |
T1 | a1, | ||
T2 | a2, | ||
T3 | a3, | ||
T4 | a4, | ||
T5 | a5, | ||
T6 | a6 | ||
) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
U1 | Formal type of the first argument to the function. |
U2 | Formal type of the second argument to the function. |
U3 | Formal type of the third argument to the function. |
U4 | Formal type of the fourth argument to the function. |
U5 | Formal type of the fifth argument to the function. |
U6 | Formal type of the sixth argument to the function. |
T1 | Actual type of the first argument to the function. |
T2 | Actual type of the second argument to the function. |
T3 | Actual type of the third argument to the function. |
T4 | Actual type of the fourth argument to the function. |
T5 | Actual type of the fifth argument to the function. |
T6 | Actual type of the sixth argument to the function. |
f | The function pointer. |
a1 | First argument to be bound to the function. |
a2 | Second argument to be bound to the function. |
a3 | Third argument to be bound to the function. |
a4 | Fourth argument to be bound to the function. |
a5 | Fifth argument to be bound to the function. |
a6 | Sixth argument to be bound to the function. |
Definition at line 895 of file make-event.h.
References f().