ns-allinone-2.35/olsr/OLSR.cc
void
OLSR::enque_msg(OLSR_msg& msg, double delay) {
	assert(delay >= 0);
	
	msgs_.push_back(msg);
	OLSR_MsgTimer* timer = new OLSR_MsgTimer(this);
	timer->resched(delay);
}
///
/// \brief Enques an %OLSR message which will be sent with a delay of (0, delay].
///
/// This buffering system is used in order to piggyback several %OLSR messages in
/// a same %OLSR packet.
///
/// \param msg the %OLSR message which must be sent.
/// \param delay maximum delay the %OLSR message is going to be buffered.
///
\brief Enques an %OLSR message which will be sent with a delay of (0, delay].
This buffering system is used in order to piggyback several %OLSR messages in
a same %OLSR packet.

\param msg the %OLSR message which must be sent.
\param delay maximum delay the %OLSR message is going to be buffered.
\ brief Enques an %OLSR message which will be sent with a delay of ( 0 delay ] . This buffering system is used in order to piggyback several %OLSR messages in a same %OLSR packet . \ param msg the %OLSR message which must be sent . \ param delay maximum delay the %OLSR message is going to be buffered .
void
OLSR::enque_msg(OLSR_msg& msg, double delay) {
	assert(delay >= 0);
	msgs_.push_back(msg);
	OLSR_MsgTimer* timer = new OLSR_MsgTimer(this);
	timer->resched(delay);
}
void OLSR :: enque_msg ( OLSR_msg & msg , double delay ) { assert ( delay >= 0 ) ; msgs_ . push_back ( msg ) ; OLSR_MsgTimer * timer = new OLSR_MsgTimer ( this ) ; timer -> resched ( delay ) ; }
\brief Enques an %OLSR message which will be sent with a delay of (0, delay].
\ brief Enques an %OLSR message which will be sent with a delay of ( 0 delay ] .