A Discrete-Event Network Simulator
API
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 122 of file callback.h.

Member Function Documentation

template<typename T >
static T& ns3::CallbackTraits< T * >::GetReference ( T *const  p)
inlinestatic
Parameters
[in]pObject pointer
Returns
A reference to the object pointed to by p

Definition at line 128 of file callback.h.


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