A Discrete-Event Network Simulator
API
ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty > Class Template Referenceabstract

CallbackImpl classes with varying numbers of argument types. More...

#include "callback.h"

+ Inheritance diagram for ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >:
+ Collaboration diagram for ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >:

Public Member Functions

virtual ~CallbackImpl ()
 
virtual std::string GetTypeid (void) const
 Get the name of this object type. More...
 
virtual R operator() (void)=0
 Abstract operator. More...
 
- Public Member Functions inherited from ns3::CallbackImplBase
virtual ~CallbackImplBase ()
 Virtual destructor. 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)
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= (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 Public Member Functions

static std::string DoGetTypeid (void)
 Get the name of this object type. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from ns3::CallbackImplBase
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...
 

Detailed Description

template<typename R>
class ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >

CallbackImpl classes with varying numbers of argument types.

CallbackImpl class with no arguments.

Definition at line 201 of file callback.h.

Constructor & Destructor Documentation

template<typename R >
virtual ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >::~CallbackImpl ( )
inlinevirtual

Definition at line 203 of file callback.h.

Member Function Documentation

template<typename R >
static std::string ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >::DoGetTypeid ( void  )
inlinestatic

Get the name of this object type.

Returns
The object type as a string.

Definition at line 210 of file callback.h.

template<typename R >
virtual std::string ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >::GetTypeid ( void  ) const
inlinevirtual

Get the name of this object type.

Returns
The object type as a string.

Implements ns3::CallbackImplBase.

Definition at line 205 of file callback.h.

template<typename R >
virtual R ns3::CallbackImpl< R, empty, empty, empty, empty, empty, empty, empty, empty, empty >::operator() ( void  )
pure virtual

Abstract operator.


The documentation for this class was generated from the following file: