A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::TimerImplMemberTraits< T * > Struct Template Reference

Helper for the MakeTimerImpl functions which take a class method. More...

#include "timer-impl.h"

Static Public Member Functions

static T & GetReference (T *p)
 Convert a pointer type to a reference.
 

Detailed Description

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

Helper for the MakeTimerImpl functions which take a class method.

This helper converts a pointer to a reference.

This is the specialization for pointer to T.

Template Parameters
T[explicit] The object type.

Definition at line 650 of file timer-impl.h.

Member Function Documentation

◆ GetReference()

template<typename T >
static T & ns3::TimerImplMemberTraits< T * >::GetReference ( T *  p)
inlinestatic

Convert a pointer type to a reference.

Parameters
[in]pThe pointer.
Returns
A reference to the object pointed to by p.

Definition at line 658 of file timer-impl.h.


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