ns-allinone-2.35/olsr/OLSR.cc
void
OLSR_IfaceAssocTupleTimer::expire(Event* e) {
	if (tuple_->time() < CURRENT_TIME) {
		agent_->rm_ifaceassoc_tuple(tuple_);
		delete tuple_;
		delete this;
	}
	else
		resched(DELAY(tuple_->time()));
}
///
/// \brief Removes tuple_ if expired. Else timer is rescheduled to expire at tuple_->time().
/// \warning Actually this is never invoked because there is no support for multiple interfaces.
/// \param e The event which has expired.
///
\brief Removes tuple_ if expired. Else timer is rescheduled to expire at tuple_->time().
\warning Actually this is never invoked because there is no support for multiple interfaces.
\param e The event which has expired.
\ brief Removes tuple_ if expired . Else timer is rescheduled to expire at tuple_ - > time () . \ warning Actually this is never invoked because there is no support for multiple interfaces . \ param e The event which has expired .
void
OLSR_IfaceAssocTupleTimer::expire(Event* e) {
	if (tuple_->time() < CURRENT_TIME) {
		agent_->rm_ifaceassoc_tuple(tuple_);
		delete tuple_;
		delete this;
	}
	else
		resched(DELAY(tuple_->time()));
}
void OLSR_IfaceAssocTupleTimer :: expire ( Event * e ) { if ( tuple_ -> time ( ) < CURRENT_TIME ) { agent_ -> rm_ifaceassoc_tuple ( tuple_ ) ; delete tuple_ ; delete this ; } else resched ( DELAY ( tuple_ -> time ( ) ) ) ; }
\brief Removes tuple_ if expired.
\ brief Removes tuple_ if expired .