A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MakeCallback from function pointers

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value. More...

+ Collaboration diagram for MakeCallback from function pointers:
template<typename R >
Callback< R > ns3::MakeCallback (R(*fnPtr)())
 
template<typename R , typename T1 >
Callback< R, T1 > ns3::MakeCallback (R(*fnPtr)(T1))
 
template<typename R , typename T1 , typename T2 >
Callback< R, T1, T2 > ns3::MakeCallback (R(*fnPtr)(T1, T2))
 
template<typename R , typename T1 , typename T2 , typename T3 >
Callback< R, T1, T2, T3 > ns3::MakeCallback (R(*fnPtr)(T1, T2, T3))
 
template<typename R , typename T1 , typename T2 , typename T3 , typename T4 >
Callback< R, T1, T2, T3, T4 > ns3::MakeCallback (R(*fnPtr)(T1, T2, T3, T4))
 
template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
Callback< R, T1, T2, T3, T4, T5 > ns3::MakeCallback (R(*fnPtr)(T1, T2, T3, T4, T5))
 
template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
Callback< R, T1, T2, T3, T4,
T5, T6 > 
ns3::MakeCallback (R(*fnPtr)(T1, T2, T3, T4, T5, T6))
 
template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
Callback< R, T1, T2, T3, T4,
T5, T6, T7 > 
ns3::MakeCallback (R(*fnPtr)(T1, T2, T3, T4, T5, T6, T7))
 
template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
Callback< R, T1, T2, T3, T4,
T5, T6, T7, T8 > 
ns3::MakeCallback (R(*fnPtr)(T1, T2, T3, T4, T5, T6, T7, T8))
 
template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
Callback< R, T1, T2, T3, T4,
T5, T6, T7, T8, T9 > 
ns3::MakeCallback (R(*fnPtr)(T1, T2, T3, T4, T5, T6, T7, T8, T9))
 

Detailed Description

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Function Documentation

template<typename R >
Callback<R> ns3::MakeCallback ( R(*)()  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1582 of file callback.h.

template<typename R , typename T1 >
Callback<R,T1> ns3::MakeCallback ( R(*)(T1)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1586 of file callback.h.

template<typename R , typename T1 , typename T2 >
Callback<R,T1,T2> ns3::MakeCallback ( R(*)(T1, T2)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1590 of file callback.h.

template<typename R , typename T1 , typename T2 , typename T3 >
Callback<R,T1,T2,T3> ns3::MakeCallback ( R(*)(T1, T2, T3)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1594 of file callback.h.

template<typename R , typename T1 , typename T2 , typename T3 , typename T4 >
Callback<R,T1,T2,T3,T4> ns3::MakeCallback ( R(*)(T1, T2, T3, T4)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1598 of file callback.h.

template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
Callback<R,T1,T2,T3,T4,T5> ns3::MakeCallback ( R(*)(T1, T2, T3, T4, T5)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1602 of file callback.h.

template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
Callback<R,T1,T2,T3,T4,T5,T6> ns3::MakeCallback ( R(*)(T1, T2, T3, T4, T5, T6)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1606 of file callback.h.

template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
Callback<R,T1,T2,T3,T4,T5,T6,T7> ns3::MakeCallback ( R(*)(T1, T2, T3, T4, T5, T6, T7)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1610 of file callback.h.

template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
Callback<R,T1,T2,T3,T4,T5,T6,T7,T8> ns3::MakeCallback ( R(*)(T1, T2, T3, T4, T5, T6, T7, T8)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1614 of file callback.h.

template<typename R , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
Callback<R,T1,T2,T3,T4,T5,T6,T7,T8,T9> ns3::MakeCallback ( R(*)(T1, T2, T3, T4, T5, T6, T7, T8, T9)  fnPtr)
Parameters
[in]fnPtrFunction pointer
Returns
A wrapper Callback

Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.

Definition at line 1618 of file callback.h.