<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<pre class="blue">Thanks Spyridon i renamed the strategy and the .cpp and hpp names and it <br />worked.<br /><br />Also, i wanted to get the position of the nodes in the forwarding <br />strategy.<br />1.i tried directly using the<br /><br />using namespace ns3;<br />using namespace fw;<br /><br />Ptr<MobilityModel>model=GetObject<MobilityModel>();<br />Vector position= model.GetPosition();</pre>
<hr />
<pre class="blue"><br />error: 'GetObject' was not declared in this scope<br /><br /><a href="https://github.com/cawka/ndnSIM-nom-rapid-car2car/blob/master/extensions/ndn-fw-v2v.cc#L99">https://github.com/cawka/ndnSIM-nom-rapid-car2car/blob/master/extensions/ndn-fw-v2v.cc#L99</a><br /><br />2.also inducing delay using following:<br /> <br />Simulator::Schedule(Seconds(Ndelay), &WaitStrategy::SendAfterDelay,pitEntry,outFace,interest);<br /><br />void WaitStrategy::SendAfterDelay(shared_ptr<pit::Entry>& pitEntry,const Face outFace,const Interest& interest)<br />{<br />     this->sendInterest(pitEntry, outFace, interest);<br />}</pre>
<div> </div>
<div><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/a9d889b7a787842d45c86c67bc21d44853b03b7f/apps/ndn-consumer-cbr.cpp#L85" target="_blank" rel="noreferrer">https://github.com/named-data-ndnSIM/ndnSIM/blob/a9d889b7a787842d45c86c67bc21d44853b03b7f/apps/ndn-consumer-cbr.cpp#L85</a></div>
<div><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/5ea3322623a0550799431f25b2fc4e7e4df5c046/model/ndn-app-link-service.cpp#L55" target="_blank" rel="noreferrer">https://github.com/named-data-ndnSIM/ndnSIM/blob/5ea3322623a0550799431f25b2fc4e7e4df5c046/model/ndn-app-link-service.cpp#L55</a></div>
<pre class="blue"><br />---------------------------------------------------------------------------------------------------<br />gives error:<br /> error: use of deleted function ‘nfd::face::Face::Face(const nfd::face::Face&)’<br />         Simulator::Schedule(Seconds(Ndelay), &WaitStrategy::SendAfterDelay,pitEntry,outFace,interest);<br /><br /> error: candidate is: void nfd::fw::WaitStrategy::SendAfterDelay(std::shared_ptr<nfd::pit::Entry>&, nfd::face::Face, const ndn::Interest&)<br /><br /><br />Thanks,<br />Raj</pre>
</blockquote>
</div>
</body></html>