Public Member Functions | Protected Member Functions | Protected Attributes

OLSR_Nb2hopTupleTimer Class Reference

Timer for removing nb2hop tuples: OLSR_nb2hop_tuple. More...

#include <OLSR.h>

Inheritance diagram for OLSR_Nb2hopTupleTimer:
TimerHandler TimerHandler Handler Handler

List of all members.

Public Member Functions

 OLSR_Nb2hopTupleTimer (OLSR *agent, OLSR_nb2hop_tuple *tuple)
 OLSR_Nb2hopTupleTimer (OLSR *agent, OLSR_nb2hop_tuple *tuple)

Protected Member Functions

virtual void expire (Event *e)
 Removes tuple_ if expired. Else the timer is rescheduled to expire at tuple_->time().
virtual void expire (Event *e)

Protected Attributes

OLSRagent_
 OLSR agent which created the timer.
OLSR_nb2hop_tupletuple_
 OLSR_nb2hop_tuple which must be removed.

Detailed Description

Timer for removing nb2hop tuples: OLSR_nb2hop_tuple.


Member Function Documentation

void OLSR_Nb2hopTupleTimer::expire ( Event e  )  [protected, virtual]

Removes tuple_ if expired. Else the timer is rescheduled to expire at tuple_->time().

The task of actually removing the tuple is left to the OLSR agent.

Parameters:
e The event which has expired.

Implements TimerHandler.


The documentation for this class was generated from the following files: