Abstract base class for CallbackImpl Provides reference counting and equality test. More...
#include "callback.h"
Public Member Functions | |
virtual | ~CallbackImplBase () |
Virtual destructor. | |
virtual std::string | GetTypeid () const =0 |
Get the name of this object type. | |
virtual bool | IsEqual (Ptr< const CallbackImplBase > other) const =0 |
Equality test. | |
Public Member Functions inherited from ns3::SimpleRefCount< CallbackImplBase > | |
SimpleRefCount () | |
Default constructor. | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment operator. | |
void | Ref () const |
Increment the reference count. | |
void | Unref () const |
Decrement the reference count. | |
Static Protected Member Functions | |
template<typename T > | |
static std::string | GetCppTypeid () |
Helper to get the C++ typeid as a string. | |
Abstract base class for CallbackImpl Provides reference counting and equality test.
Definition at line 70 of file callback.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 74 of file callback.h.
|
inlinestaticprotected |
Helper to get the C++ typeid as a string.
T | [explicit] The type of the argument. |
Definition at line 99 of file callback.h.
References ns3::Demangle().
Referenced by ns3::CallbackImpl< R, UArgs >::DoGetTypeid().
|
pure virtual |
Get the name of this object type.
Implemented in ns3::CallbackImpl< R, UArgs >.
|
pure virtual |