Abstract base class for CallbackImpl Provides reference counting and equality test. More...
#include "callback.h"
Public Member Functions | |
virtual | ~CallbackImplBase () |
Virtual destructor. More... | |
virtual std::string | GetTypeid (void) const =0 |
Get the name of this object type. More... | |
virtual bool | IsEqual (Ptr< const CallbackImplBase > other) const =0 |
Equality test. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< CallbackImplBase > | |
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... | |
Static Protected Member Functions | |
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... | |
Abstract base class for CallbackImpl Provides reference counting and equality test.
Definition at line 107 of file callback.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 111 of file callback.h.
|
staticprotected |
[in] | mangled | The mangled string |
Definition at line 134 of file callback.cc.
References NS_LOG_FUNCTION.
Referenced by GetCppTypeid().
|
inlinestaticprotected |
Helper to get the C++ typeid as a string.
T | [explicit] The type of the argument. |
Definition at line 139 of file callback.h.
References Demangle().
|
pure virtual |
Get the name of this object type.
Implemented in ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >, ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, T7, T8, empty >, ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, T7, empty, empty >, ns3::CallbackImpl< R, T1, T2, T3, T4, T5, T6, empty, empty, empty >, ns3::CallbackImpl< R, T1, T2, T3, T4, T5, empty, empty, empty, empty >, ns3::CallbackImpl< R, T1, T2, T3, T4, empty, empty, empty, empty, empty >, ns3::CallbackImpl< R, T1, T2, T3, empty, empty, empty, empty, empty, empty >, ns3::CallbackImpl< R, T1, T2, empty, empty, empty, empty, empty, empty, empty >, ns3::CallbackImpl< R, T1, empty, empty, empty, empty, empty, empty, empty, empty >, and ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >.
|
pure virtual |
Equality test.
true
if we are equal Implemented in ns3::ThreeBoundFunctorCallbackImpl< T, R, TX1, TX2, TX3, T1, T2, T3, T4, T5, T6 >, ns3::TwoBoundFunctorCallbackImpl< T, R, TX1, TX2, T1, T2, T3, T4, T5, T6, T7 >, ns3::BoundFunctorCallbackImpl< T, R, TX, T1, T2, T3, T4, T5, T6, T7, T8 >, ns3::MemPtrCallbackImpl< OBJ_PTR, MEM_PTR, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >, and ns3::FunctorCallbackImpl< T, R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >.