[ndnSIM] declaring a variable in ndn-forwarding-strategy

i.liyanage at surrey.ac.uk i.liyanage at surrey.ac.uk
Sun Dec 15 10:17:14 PST 2013


Hi,

In ndn-forwading-strategy.h, I declared variable.
std::set<Name>  m_allowCS;

and tried to access in one of the applications by following code
Ptr<ForwardingStrategy> forwardingstat = GetNode()->GetObject<ForwardingStrategy>();
Ptr<Name> inName = Create<ndn::Name> ("/prefix");
forwardingstat->m_allowCS.insert(*inName);

This compiles fine.
but once I run this, simulator exit without any output. Could you point out what's wrong.

Many Thanks,
Isuru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20131215/84e302a4/attachment.html>


More information about the ndnSIM mailing list