|
| template<typename FUNCTOR , typename ARG > |
| | BoundFunctorCallbackImpl (FUNCTOR functor, ARG a) |
| | Construct from functor and a bound argument. More...
|
| |
| virtual | ~BoundFunctorCallbackImpl () |
| |
| 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) |
| |
| R | operator() (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7) |
| |
| R | operator() (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8) |
| |
| 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...
|
| |
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.
Definition at line 539 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.
- Parameters
-
| functor | the functor |
| a | the argument to bind |
Definition at line 547 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 649 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() |
( |
void |
| ) |
|
|
inline |
Functor with varying numbers of arguments.
- Returns
- Callback value
Definition at line 555 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 | ) |
|
|
inline |
- Parameters
-
- Returns
- Callback value
Definition at line 562 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
-
| a1 | first argument |
| a2 | second argument |
- Returns
- Callback value
Definition at line 570 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
-
| a1 | first argument |
| a2 | second argument |
| a3 | third argument |
- Returns
- Callback value
Definition at line 579 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
-
| a1 | first argument |
| a2 | second argument |
| a3 | third argument |
| a4 | fourth argument |
- Returns
- Callback value
Definition at line 589 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
-
| a1 | first argument |
| a2 | second argument |
| a3 | third argument |
| a4 | fourth argument |
| a5 | fifth argument |
- Returns
- Callback value
Definition at line 600 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
-
| a1 | first argument |
| a2 | second argument |
| a3 | third argument |
| a4 | fourth argument |
| a5 | fifth argument |
| a6 | sixth argument |
- Returns
- Callback value
Definition at line 612 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
-
| a1 | first argument |
| a2 | second argument |
| a3 | third argument |
| a4 | fourth argument |
| a5 | fifth argument |
| a6 | sixth argument |
| a7 | seventh argument |
- Returns
- Callback value
Definition at line 625 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
-
| a1 | first argument |
| a2 | second argument |
| a3 | third argument |
| a4 | fourth argument |
| a5 | fifth argument |
| a6 | sixth argument |
| a7 | seventh argument |
| a8 | eighth argument |
- Returns
- Callback value
Implements ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, T7, T8, empty >.
Definition at line 639 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 665 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 664 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()().