CallbackImpl for pointer to member functions. More...
#include "callback.h"
Public Member Functions | |
MemPtrCallbackImpl (OBJ_PTR const &objPtr, MEM_PTR memPtr) | |
Construct from an object pointer and member function pointer. More... | |
virtual | ~MemPtrCallbackImpl () |
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) |
R | operator() (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9) |
![]() | |
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... | |
Private Attributes | |
MEM_PTR | m_memPtr |
the member function pointer More... | |
OBJ_PTR const | m_objPtr |
the object pointer More... | |
Additional Inherited Members | |
![]() | |
static std::string | DoGetTypeid (void) |
Get the name of this object type. More... | |
![]() | |
static std::string | Demangle (const std::string &mangled) |
template<typename T > | |
static std::string | GetCppTypeid (void) |
Helper to get the C++ typeid as a string. More... | |
CallbackImpl for pointer to member functions.
OBJ_PTR | [deduced] Type of the target object, as a pointer. |
MEM_PTR | [deduced] Type of the class member function. |
Definition at line 598 of file callback.h.
|
inline |
Construct from an object pointer and member function pointer.
[in] | objPtr | The object pointer |
[in] | memPtr | The object class member function |
Definition at line 607 of file callback.h.
|
inlinevirtual |
Definition at line 610 of file callback.h.
|
inlinevirtual |
Equality test.
true
if we have the same object and member function Implements ns3::CallbackImplBase.
Definition at line 736 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr, and ns3::PeekPointer().
|
inline |
[in] | a1 | First argument |
Definition at line 625 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
[in] | a1 | First argument |
[in] | a2 | Second argument |
Definition at line 634 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
Definition at line 644 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
Definition at line 655 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
[in] | a5 | Fifth argument |
Definition at line 667 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
[in] | a1 | First argument |
[in] | a2 | Second argument |
[in] | a3 | Third argument |
[in] | a4 | Fourth argument |
[in] | a5 | Fifth argument |
[in] | a6 | Sixth argument |
Definition at line 680 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
[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 |
Definition at line 694 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
[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 |
Definition at line 709 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inlinevirtual |
[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 |
[in] | a9 | Ninth argument |
Implements ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >.
Definition at line 725 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
inline |
Functor with varying numbers of arguments.
Definition at line 617 of file callback.h.
References ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_memPtr, and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::m_objPtr.
|
private |
the member function pointer
Definition at line 754 of file callback.h.
Referenced by ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::IsEqual(), and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::operator()().
|
private |
the object pointer
Definition at line 753 of file callback.h.
Referenced by ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::IsEqual(), and ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::operator()().