template<typename T, typename R, typename TX, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
class ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >
CallbackImpl for functors with first argument bound at construction.
- Template Parameters
-
T | [explicit] Type of the functor. |
TX | [explicit] Type of the bound argument. |
Definition at line 764 of file callback.h.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
template<typename FUNCTOR , typename ARG >
ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::BoundFunctorCallbackImpl |
( |
FUNCTOR |
functor, |
|
|
ARG |
a |
|
) |
| |
|
inline |
Construct from functor and a bound argument.
- Template Parameters
-
FUNCTOR | [deduced] The actual type of the functor. This must be convertible to T. |
ARG | [deduced] The actual type of the bound argument. This must be convertible to type TX. |
- Parameters
-
[in] | functor | The functor |
[in] | a | The argument to bind |
Definition at line 777 of file callback.h.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
virtual ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::~BoundFunctorCallbackImpl |
( |
| ) |
|
|
inlinevirtual |
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
virtual bool ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::IsEqual |
( |
Ptr< const CallbackImplBase > |
other | ) |
const |
|
inlinevirtual |
Equality test.
- Parameters
-
- Returns
true
if we have the same functor and bound arguments
Implements ns3::CallbackImplBase.
Definition at line 890 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor, and ns3::PeekPointer().
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1 | ) |
|
|
inline |
- Parameters
-
- Returns
- Callback value
Definition at line 795 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2 |
|
) |
| |
|
inline |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
- Returns
- Callback value
Definition at line 804 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2, |
|
|
T3 |
a3 |
|
) |
| |
|
inline |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
- Returns
- Callback value
Definition at line 814 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2, |
|
|
T3 |
a3, |
|
|
T4 |
a4 |
|
) |
| |
|
inline |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
- Returns
- Callback value
Definition at line 825 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2, |
|
|
T3 |
a3, |
|
|
T4 |
a4, |
|
|
T5 |
a5 |
|
) |
| |
|
inline |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
[in] | a5 | Fifth argument |
- Returns
- Callback value
Definition at line 837 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2, |
|
|
T3 |
a3, |
|
|
T4 |
a4, |
|
|
T5 |
a5, |
|
|
T6 |
a6 |
|
) |
| |
|
inline |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
[in] | a5 | Fifth argument |
[in] | a6 | Sixth argument |
- Returns
- Callback value
Definition at line 850 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2, |
|
|
T3 |
a3, |
|
|
T4 |
a4, |
|
|
T5 |
a5, |
|
|
T6 |
a6, |
|
|
T7 |
a7 |
|
) |
| |
|
inline |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
[in] | a5 | Fifth argument |
[in] | a6 | Sixth argument |
[in] | a7 | Seventh argument |
- Returns
- Callback value
Definition at line 864 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2, |
|
|
T3 |
a3, |
|
|
T4 |
a4, |
|
|
T5 |
a5, |
|
|
T6 |
a6, |
|
|
T7 |
a7, |
|
|
T8 |
a8 |
|
) |
| |
|
inlinevirtual |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
[in] | a5 | Fifth argument |
[in] | a6 | Sixth argument |
[in] | a7 | Seventh argument |
[in] | a8 | Eighth argument |
- Returns
- Callback value
Implements ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, T7, T8, empty >.
Definition at line 879 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
R ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator() |
( |
void |
| ) |
|
|
inline |
Functor with varying numbers of arguments.
- Returns
- Callback value
Definition at line 787 of file callback.h.
References ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a, and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor.
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
TypeTraits<TX>::ReferencedType ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_a |
|
private |
the bound argument
Definition at line 908 of file callback.h.
Referenced by ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::IsEqual(), and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator()().
template<typename T , typename R , typename TX , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
T ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::m_functor |
|
private |
The functor.
Definition at line 907 of file callback.h.
Referenced by ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::IsEqual(), and ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >::operator()().