A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::CallbackTraits< T * > Struct Template Reference

Trait class to convert a pointer into a reference, used by MemPtrCallBackImpl. More...

#include <callback.h>

Static Public Member Functions

static T & GetReference (T *const p)
 

Detailed Description

template<typename T>
struct ns3::CallbackTraits< T * >

Trait class to convert a pointer into a reference, used by MemPtrCallBackImpl.

Definition at line 59 of file callback.h.

Member Function Documentation

template<typename T >
static T& ns3::CallbackTraits< T * >::GetReference ( T *const  p)
inlinestatic
Parameters
pobject pointer
Returns
a reference to the object pointed to by p

Definition at line 65 of file callback.h.


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