A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::TimerImplFive< T1, T2, T3, T4, T5 > Struct Template Referenceabstract

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

#include "timer-impl.h"

+ Inheritance diagram for ns3::TimerImplFive< T1, T2, T3, T4, T5 >:
+ Collaboration diagram for ns3::TimerImplFive< T1, T2, T3, T4, T5 >:

Public Member Functions

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

TimerImpl specialization class for varying numbers of arguments.

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

Member Function Documentation

◆ SetArguments()

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
virtual void ns3::TimerImplFive< T1, T2, T3, T4, T5 >::SetArguments ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5 
)
pure virtual

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

Parameters
[in]a1The first argument.
[in]a2The second argument.
[in]a3The third argument.
[in]a4The fourth argument.
[in]a5The fifth argument.

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