TimerImpl specialization class for varying numbers of arguments. More...
#include "timer-impl.h"
Public Member Functions | |
virtual void | SetArguments (T1 a1, T2 a2)=0 |
Bind the arguments to be used when the callback function is invoked. More... | |
![]() | |
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) |
TimerImpl specialization class for varying numbers of arguments.
Definition at line 164 of file timer-impl.h.
|
pure virtual |
Bind the arguments to be used when the callback function is invoked.
[in] | a1 | The first argument. |
[in] | a2 | The second argument. |