82   template <
typename FN>
 
   95   template <
typename MEM_PTR, 
typename OBJ_PTR>
 
  107   template <
typename T1>
 
  115   template <
typename T1, 
typename T2>
 
  125   template <
typename T1, 
typename T2, 
typename T3>
 
  137   template <
typename T1, 
typename T2, 
typename T3, 
typename T4>
 
  151   template <
typename T1, 
typename T2, 
typename T3, 
typename T4, 
typename T5>
 
  167   template <
typename T1, 
typename T2, 
typename T3, 
typename T4, 
typename T5, 
typename T6>
 
  168   void SetArguments (T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6);
 
  197 template <
typename FN>
 
  204 template <
typename MEM_PTR, 
typename OBJ_PTR>
 
  212 template <
typename T1>
 
  218       NS_FATAL_ERROR (
"You cannot set the arguments of a Watchdog before setting its function.");
 
  223 template <
typename T1, 
typename T2>
 
  229       NS_FATAL_ERROR (
"You cannot set the arguments of a Watchdog before setting its function.");
 
  235 template <
typename T1, 
typename T2, 
typename T3>
 
  241       NS_FATAL_ERROR (
"You cannot set the arguments of a Watchdog before setting its function.");
 
  247 template <
typename T1, 
typename T2, 
typename T3, 
typename T4>
 
  253       NS_FATAL_ERROR (
"You cannot set the arguments of a Watchdog before setting its function.");
 
  259 template <
typename T1, 
typename T2, 
typename T3, 
typename T4, 
typename T5>
 
  265       NS_FATAL_ERROR (
"You cannot set the arguments of a Watchdog before setting its function.");
 
  271 template <
typename T1, 
typename T2, 
typename T3, 
typename T4, 
typename T5, 
typename T6>
 
  277       NS_FATAL_ERROR (
"You cannot set the arguments of a Watchdog before setting its function.");
 
Simulation virtual time values and global simulation resolution. 
 
Time m_end
The absolute time when the timer will expire. 
 
void Ping(Time delay)
Delay the timer. 
 
TimerImpl * MakeTimerImpl(FN fn)
Make a TimerImpl from a function pointer taking varying numbers of arguments. 
 
EventId m_event
The future event scheduled to expire the timer. 
 
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate. 
 
void SetFunction(FN fn)
Set the function to execute when the timer expires. 
 
A very simple watchdog operating in virtual time. 
 
Declaration of classes ns3::Time and ns3::TimeWithUnit, and the TimeValue implementation classes...
 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
 
The timer implementation underlying Timer and Watchdog. 
 
TimerImpl * m_impl
The timer implementation, which contains the bound callback function and arguments. 
 
An identifier for simulation events. 
 
void SetArguments(T1 a1)
Set the arguments to be used when invoking the expire function. 
 
void SetArgs(T1 a1)
Set the arguments to be used when invoking the expire function. 
 
ns3::TimerImpl declaration and implementation. 
 
ns3::EventId declarations. 
 
void Expire(void)
Internal callback invoked when the timer expires.