|
template<typename FUNCTOR , typename ARG1 , typename ARG2 , typename ARG3 > |
| ThreeBoundFunctorCallbackImpl (FUNCTOR functor, ARG1 arg1, ARG2 arg2, ARG3 arg3) |
| Construct from functor and three arguments. More...
|
|
virtual | ~ThreeBoundFunctorCallbackImpl () |
|
virtual bool | IsEqual (Ptr< const CallbackImplBase > other) const |
| Equality test. More...
|
|
|
R | operator() (void) |
| Functor with varying numbers of arguments. More...
|
|
R | operator() (T1 a1) |
|
R | operator() (T1 a1, T2 a2) |
|
R | operator() (T1 a1, T2 a2, T3 a3) |
|
R | operator() (T1 a1, T2 a2, T3 a3, T4 a4) |
|
R | operator() (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5) |
|
R | operator() (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6) |
|
virtual | ~CallbackImpl () |
|
virtual std::string | GetTypeid (void) const |
| Get the name of this object type. More...
|
|
virtual | ~CallbackImplBase () |
| Virtual destructor. More...
|
|
| SimpleRefCount () |
| Default constructor. More...
|
|
| SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) |
| Copy constructor. More...
|
|
uint32_t | GetReferenceCount (void) const |
| Get the reference count of the object. More...
|
|
SimpleRefCount & | operator= ([[maybe_unused]] const SimpleRefCount &o) |
| Assignment operator. More...
|
|
void | Ref (void) const |
| Increment the reference count. More...
|
|
void | Unref (void) const |
| Decrement the reference count. More...
|
|
template<typename T, typename R, typename TX1, typename TX2, typename TX3, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
class ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >
CallbackImpl for functors with first three arguments bound at construction.
- Template Parameters
-
T | [explicit] Type of the functor. |
TX1 | [explicit] Type of the first bound argument. |
TX2 | [explicit] Type of the second bound argument. |
TX3 | [explicit] Type of the third bound argument. |
Definition at line 1064 of file callback.h.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
template<typename FUNCTOR , typename ARG1 , typename ARG2 , typename ARG3 >
ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::ThreeBoundFunctorCallbackImpl |
( |
FUNCTOR |
functor, |
|
|
ARG1 |
arg1, |
|
|
ARG2 |
arg2, |
|
|
ARG3 |
arg3 |
|
) |
| |
|
inline |
Construct from functor and three arguments.
- Template Parameters
-
FUNCTOR | [deduced] The actual type of the functor. This must be convertible to T. |
ARG1 | [deduced] The actual type of the first bound argument. This must be convertible to type TX1. |
ARG2 | [deduced] The actual type of the second bound argument. This must be convertible to type TX2. |
ARG3 | [deduced] The actual type of the third bound argument. This must be convertible to type TX3. |
- Parameters
-
[in] | functor | The functor |
[in] | arg1 | The first argument to bind |
[in] | arg2 | The second argument to bind |
[in] | arg3 | The third argument to bind |
Definition at line 1083 of file callback.h.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
virtual ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::~ThreeBoundFunctorCallbackImpl |
( |
| ) |
|
|
inlinevirtual |
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
virtual bool ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::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 1167 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor, and ns3::PeekPointer().
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() |
( |
T1 |
a1 | ) |
|
|
inline |
- Parameters
-
- Returns
- Callback value
Definition at line 1101 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2 |
|
) |
| |
|
inline |
- Parameters
-
[in] | a1 | First argument |
[in] | a2 | Second argument |
- Returns
- Callback value
Definition at line 1110 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::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 1120 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::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 1131 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::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 1143 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() |
( |
T1 |
a1, |
|
|
T2 |
a2, |
|
|
T3 |
a3, |
|
|
T4 |
a4, |
|
|
T5 |
a5, |
|
|
T6 |
a6 |
|
) |
| |
|
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 |
- Returns
- Callback value
Implements ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, empty, empty, empty >.
Definition at line 1156 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
R ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator() |
( |
void |
| ) |
|
|
inline |
Functor with varying numbers of arguments.
- Returns
- Callback value
Definition at line 1093 of file callback.h.
References ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2, ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3, and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor.
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
TypeTraits<TX1>::ReferencedType ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a1 |
|
private |
first bound argument
Definition at line 1185 of file callback.h.
Referenced by ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::IsEqual(), and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator()().
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
TypeTraits<TX2>::ReferencedType ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a2 |
|
private |
second bound argument
Definition at line 1186 of file callback.h.
Referenced by ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::IsEqual(), and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator()().
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
TypeTraits<TX3>::ReferencedType ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_a3 |
|
private |
third bound argument
Definition at line 1187 of file callback.h.
Referenced by ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::IsEqual(), and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator()().
template<typename T , typename R , typename TX1 , typename TX2 , typename TX3 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
T ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::m_functor |
|
private |
The functor.
Definition at line 1184 of file callback.h.
Referenced by ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::IsEqual(), and ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >::operator()().