A Discrete-Event Network Simulator
API
ns3::TimerImplSix< T1, T2, T3, T4, T5, T6 > Struct Template Referenceabstract

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

#include "timer-impl.h"

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

Public Member Functions

virtual void SetArguments (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6)=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, typename T2, typename T3, typename T4, typename T5, typename T6>
struct ns3::TimerImplSix< T1, T2, T3, T4, T5, T6 >

TimerImpl specialization class for varying numbers of arguments.

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

Member Function Documentation

◆ SetArguments()

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
virtual void ns3::TimerImplSix< T1, T2, T3, T4, T5, T6 >::SetArguments ( T1  a1,
T2  a2,
T3  a3,
T4  a4,
T5  a5,
T6  a6 
)
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.
[in]a6The sixth argument.

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