A Discrete-Event Network Simulator
API
ns3::TimerImplThree< T1, T2, T3 > Struct Template Referenceabstract

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

#include <timer-impl.h>

+ Inheritance diagram for ns3::TimerImplThree< T1, T2, T3 >:
+ Collaboration diagram for ns3::TimerImplThree< T1, T2, T3 >:

Public Member Functions

virtual void SetArguments (T1 a1, T2 a2, T3 a3)=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>
struct ns3::TimerImplThree< T1, T2, T3 >

TimerImpl specialization class for varying numbers of arguments.

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

Member Function Documentation

template<typename T1 , typename T2 , typename T3 >
virtual void ns3::TimerImplThree< T1, T2, T3 >::SetArguments ( T1  a1,
T2  a2,
T3  a3 
)
pure virtual

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

Parameters
a1The first argument.
a2The second argument.
a3The third argument.

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