Functions | |
template<typename T > | |
EventImpl * | ns3::MakeEvent (T function) |
Make an EventImpl from a lambda. | |
template<typename... Us, typename... Ts> | |
EventImpl * | ns3::MakeEvent (void(*f)(Us...), Ts... args) |
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 195 of file make-event.h.
EventImpl * ns3::MakeEvent | ( | void(* | f )(Us...), |
Ts... | args ) |
Make an EventImpl from a function pointer taking varying numbers of arguments.
Us | [deduced] Formal types of the arguments to the function. |
Ts | [deduced] Actual types of the arguments to the function. |
[in] | f | The function pointer. |
[in] | args | Arguments to be bound to the function. |
Definition at line 164 of file make-event.h.