[ndnSIM] Declare ContentStore
Asim ALHIMSYA
asim.alhimsya at gmail.com
Tue May 30 16:28:20 PDT 2023
Dears,
I'm trying to run the following (from ndn-cs-tracer.cpp) :
void CsTracer::Connect()
{
// // @TODO Do the same with NFD content store...
Ptr<ContentStore> cs = m_nodePtr->GetObject<ContentStore>();
cs->TraceConnectWithoutContext("CacheHits",MakeCallback(&CsTracer::CacheHits,
this));
cs->TraceConnectWithoutContext("CacheMisses",MakeCallback(&CsTracer::CacheMisses,
this));
Reset();
}
but still getting stuck into the following error
../src/ndnSIM/utils/tracers/ndn-cs-tracer.cpp:203:8: error: ‘ContentStore’
was not declared in this scope
How can I declare ContentStore in ndn2.8
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20230531/db38376a/attachment.html>
More information about the ndnSIM
mailing list