<div>Hi All,</div>
<div> </div>
<div>I am getting an error while adding a callback function to eventloop.</div>
<div> </div>
<div>Consider the following simple lines where XrlMyProcess is the process I created, and lsaIndex is defined as uint32_t:</div>
<div> </div>
<div>uint32_t i;<br>i=5;<br>_ospfV2_lsa_timer = _eventloop.new_oneoff_after(<br> RETRY_TIMEVAL,<br> callback(this, &XrlMyProcess::get_lsa, i, lsaIndex));</div>
<div> </div>
<div>Here is the prototype for XrlMyProcess::get_lsa:</div>
<div> </div>
<div>void get_lsa(OspfTypes::AreaID& area, uint32_t& index);</div>
<div> </div>
<div>Here is the error I get:</div>
<div> </div>
<div>error: no matching function for call to `callback(XrlshaNode* const, void (XrlshaNode::*)(uint32_t&, uint32_t&), uint32_t&, uint32_t&)'</div>
<div> </div>
<div>Should I overload callback() function ? If yes, which xorp files should I possibly modify ?</div>
<div> </div>
<div>Thanks,</div>
<div>Selcuk</div>