ns-allinone-2.35/olsr/OLSR.cc
void
OLSR_Nb2hopTupleTimer::expire(Event* e) {
	if (tuple_->time() < CURRENT_TIME) {
		agent_->rm_nb2hop_tuple(tuple_);
		delete tuple_;
		delete this;
	}
	else
		resched(DELAY(tuple_->time()));
}
///
/// \brief 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.
///
/// \param e The event which has expired.
///
\brief 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.

\param e The event which has expired.
\ brief 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 . \ param e The event which has expired .
void
OLSR_Nb2hopTupleTimer::expire(Event* e) {
	if (tuple_->time() < CURRENT_TIME) {
		agent_->rm_nb2hop_tuple(tuple_);
		delete tuple_;
		delete this;
	}
	else
		resched(DELAY(tuple_->time()));
}
void OLSR_Nb2hopTupleTimer :: expire ( Event * e ) { if ( tuple_ -> time ( ) < CURRENT_TIME ) { agent_ -> rm_nb2hop_tuple ( tuple_ ) ; delete tuple_ ; delete this ; } else resched ( DELAY ( tuple_ -> time ( ) ) ) ; }
\brief Removes tuple_ if expired.
\ brief Removes tuple_ if expired .