A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::internal::TimerImplX< Args > Struct Template Referenceabstract

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

#include "timer-impl.h"

+ Inheritance diagram for ns3::internal::TimerImplX< Args >:
+ Collaboration diagram for ns3::internal::TimerImplX< Args >:

Public Member Functions

virtual void SetArguments (Args... args)=0
 Bind the arguments to be used when the callback function is invoked.
 
- Public Member Functions inherited from ns3::internal::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... Args>
void SetArgs (Args... args)
 Set the arguments to be used when invoking the expire function.
 

Detailed Description

template<typename... Args>
struct ns3::internal::TimerImplX< Args >

TimerImpl specialization class for varying numbers of arguments.

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

Member Function Documentation

◆ SetArguments()

template<typename... Args>
virtual void ns3::internal::TimerImplX< Args >::SetArguments ( Args...  args)
pure virtual

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

Parameters
[in]argsThe arguments to pass to the invoked method.

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