A Discrete-Event Network Simulator
API
ns3::TimerImplOne< T1 > Struct Template Referenceabstract

TimerImpl specialization class for varying numbers of arguments. More...

#include "timer-impl.h"

+ Inheritance diagram for ns3::TimerImplOne< T1 >:
+ Collaboration diagram for ns3::TimerImplOne< T1 >:

Public Member Functions

virtual void SetArguments (T1 a1)=0
 Bind the arguments to be used when the callback function is invoked. More...
 
- Public Member Functions inherited from ns3::TimerImpl
virtual ~TimerImpl ()
 Destructor. More...
 
virtual void Invoke (void)=0
 Invoke the expire function. More...
 
virtual EventId Schedule (const Time &delay)=0
 Schedule the callback for a future time. More...
 
template<typename T1 >
void SetArgs (T1 a1)
 Set the arguments to be used when invoking the expire function. More...
 
template<typename T1 , typename T2 >
void SetArgs (T1 a1, T2 a2)
 
template<typename T1 , typename T2 , typename T3 >
void SetArgs (T1 a1, T2 a2, T3 a3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
void SetArgs (T1 a1, T2 a2, T3 a3, T4 a4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void SetArgs (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void SetArgs (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6)
 

Detailed Description

template<typename T1>
struct ns3::TimerImplOne< T1 >

TimerImpl specialization class for varying numbers of arguments.

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

Member Function Documentation

◆ SetArguments()

template<typename T1 >
virtual void ns3::TimerImplOne< T1 >::SetArguments ( T1  a1)
pure virtual

Bind the arguments to be used when the callback function is invoked.

Parameters
[in]a1The first argument.

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