A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MakeEvent from Function Pointers.

Create EventImpl instances from function pointers which take varying numbers of arguments. More...

+ Collaboration diagram for MakeEvent from Function Pointers.:

Functions

EventImpl * ns3::MakeEvent (void(*f)(void))
 Make an EventImpl from a function pointer taking varying numbers of arguments. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Detailed Description

Create EventImpl instances from function pointers which take varying numbers of arguments.

Function Documentation

EventImpl * ns3::MakeEvent ( void(*)(void)  f)

Make an EventImpl from a function pointer taking varying numbers of arguments.

Parameters
[in]fThe function pointer.
Returns
The constructed EventImpl.

Definition at line 34 of file make-event.cc.

References f(), and NS_LOG_FUNCTION.

Referenced by FakeNetDevice::Doit3(), ns3::TapBridge::ReadCallback(), ns3::FdNetDevice::ReceiveCallback(), ns3::Simulator::Schedule(), ns3::Simulator::ScheduleDestroy(), ns3::Simulator::ScheduleNow(), ns3::Simulator::ScheduleWithContext(), and test().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename U1 , typename T1 >
EventImpl * ns3::MakeEvent ( void(*)(U1)  f,
T1  a1 
)

Make an EventImpl from a function pointer taking varying numbers of arguments.

Template Parameters
U1[deduced] Formal type of the argument to the function.
T1[deduced] Actual type of the argument to the function.
Parameters
[in]fThe function pointer.
[in]a1Argument to be bound to the function.
Returns
The constructed EventImpl.

Definition at line 504 of file make-event.h.

References f().

+ Here is the call graph for this function:

template<typename U1 , typename U2 , typename T1 , typename T2 >
EventImpl * ns3::MakeEvent ( void(*)(U1, U2)  f,
T1  a1,
T2  a2 
)

Make an EventImpl from a function pointer taking varying numbers of arguments.

Template Parameters
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.
Parameters
[in]fThe function pointer.
[in]a1First argument to be bound to the function.
[in]a2Second argument to be bound to the function.
Returns
The constructed EventImpl.

Definition at line 533 of file make-event.h.

References f().

+ Here is the call graph for this function:

template<typename U1 , typename U2 , typename U3 , typename T1 , typename T2 , typename T3 >
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.

Template Parameters
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.
Parameters
[in]fThe function pointer.
[in]a1First argument to be bound to the function.
[in]a2Second argument to be bound to the function.
[in]a3Third argument to be bound to the function.
Returns
The constructed EventImpl.

Definition at line 565 of file make-event.h.

References f().

+ Here is the call graph for this function:

template<typename U1 , typename U2 , typename U3 , typename U4 , typename T1 , typename T2 , typename T3 , typename T4 >
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.

Template Parameters
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.
Parameters
[in]fThe function pointer.
[in]a1First argument to be bound to the function.
[in]a2Second argument to be bound to the function.
[in]a3Third argument to be bound to the function.
[in]a4Fourth argument to be bound to the function.
Returns
The constructed EventImpl.

Definition at line 599 of file make-event.h.

References f().

+ Here is the call graph for this function:

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(*)(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.

Template Parameters
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.
Parameters
[in]fThe function pointer.
[in]a1First argument to be bound to the function.
[in]a2Second argument to be bound to the function.
[in]a3Third argument to be bound to the function.
[in]a4Fourth argument to be bound to the function.
[in]a5Fifth argument to be bound to the function.
Returns
The constructed EventImpl.

Definition at line 635 of file make-event.h.

References f().

+ Here is the call graph for this function: