CallbackImpl for functors with first three arguments bound at construction. More...
#include <callback.h>
Public Member Functions | |
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 | ~CallbackImplBase () |
Virtual destructor. More... | |
![]() | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Private Attributes | |
TypeTraits< TX1 >::ReferencedType | m_a1 |
first bound argument More... | |
TypeTraits< TX2 >::ReferencedType | m_a2 |
second bound argument More... | |
TypeTraits< TX3 >::ReferencedType | m_a3 |
third bound argument More... | |
T | m_functor |
The functor. More... | |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
Noop. More... | |
CallbackImpl for functors with first three arguments bound at construction.
Definition at line 733 of file callback.h.
|
inline |
Construct from functor and three arguments.
functor | the functor |
arg1 | the first argument to bind |
arg2 | the second argument to bind |
arg3 | the third argument to bind |
Definition at line 743 of file callback.h.
|
inlinevirtual |
Definition at line 745 of file callback.h.
|
inlinevirtual |
Equality test.
Implements ns3::CallbackImplBase.
Definition at line 818 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().
|
inline |
Functor with varying numbers of arguments.
Definition at line 751 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.
|
inline |
a1 | first argument |
Definition at line 758 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.
|
inline |
a1 | first argument |
a2 | second argument |
Definition at line 766 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.
|
inline |
a1 | first argument |
a2 | second argument |
a3 | third argument |
Definition at line 775 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.
|
inline |
a1 | first argument |
a2 | second argument |
a3 | third argument |
a4 | fourth argument |
Definition at line 785 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.
|
inline |
a1 | first argument |
a2 | second argument |
a3 | third argument |
a4 | fourth argument |
a5 | fifth argument |
Definition at line 796 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.
|
inlinevirtual |
a1 | first argument |
a2 | second argument |
a3 | third argument |
a4 | fourth argument |
a5 | fifth argument |
a6 | sixth argument |
Implements ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, empty, empty, empty >.
Definition at line 808 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.
|
private |
first bound argument
Definition at line 834 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()().
|
private |
second bound argument
Definition at line 835 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()().
|
private |
third bound argument
Definition at line 836 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()().
|
private |
The functor.
Definition at line 833 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()().