NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::ndn::ContentStore Class Referenceabstract

Base class for NDN content store. More...

#include <ndn-content-store.hpp>

Inheritance diagram for ns3::ndn::ContentStore:
Collaboration diagram for ns3::ndn::ContentStore:

Public Types

typedef void(* CacheHitsCallback) (shared_ptr< const Interest >, shared_ptr< const Data >)
 
typedef void(* CacheMissesCallback) (shared_ptr< const Interest >)
 

Public Member Functions

virtual ~ContentStore ()
 Virtual destructor. More...
 
virtual shared_ptr< Data > Lookup (shared_ptr< const Interest > interest)=0
 Find corresponding CS entry for the given interest. More...
 
virtual bool Add (shared_ptr< const Data > data)=0
 Add a new content to the content store. More...
 
virtual void Print (std::ostream &os) const =0
 Print out content store entries. More...
 
virtual uint32_t GetSize () const =0
 Get number of entries in content store. More...
 
virtual Ptr< cs::EntryBegin ()=0
 Return first element of content store (no order guaranteed) More...
 
virtual Ptr< cs::EntryEnd ()=0
 Return item next after last (no order guaranteed) More...
 
virtual Ptr< cs::EntryNext (Ptr< cs::Entry >)=0
 Advance the iterator. More...
 

Static Public Member Functions

static TypeId GetTypeId ()
 Interface ID. More...
 
static Ptr< ContentStoreGetContentStore (Ptr< Object > node)
 Static call to cheat python bindings. More...
 

Protected Attributes

TracedCallback< shared_ptr< const Interest >, shared_ptr< const Data > > m_cacheHitsTrace
 trace of cache hits More...
 
TracedCallback< shared_ptr< const Interest > > m_cacheMissesTrace
 trace of cache misses More...
 

Detailed Description

Base class for NDN content store.

Particular implementations should implement Lookup, Add, and Print methods

Introspection did not find any typical Config paths.
No Attributes are defined for this type.

TraceSources

  • CacheHits: Trace called every time there is a cache hit
    Callback signature: ns3::ndn::ContentStore::CacheHitsCallback
  • CacheMisses: Trace called every time there is a cache miss
    Callback signature: ns3::ndn::ContentStrore::CacheMissesCallback

Size of this type is 80 bytes (on a 64-bit architecture).

Definition at line 100 of file ndn-content-store.hpp.

Member Typedef Documentation

typedef void(* ns3::ndn::ContentStore::CacheHitsCallback) (shared_ptr< const Interest >, shared_ptr< const Data >)

Definition at line 182 of file ndn-content-store.hpp.

typedef void(* ns3::ndn::ContentStore::CacheMissesCallback) (shared_ptr< const Interest >)

Definition at line 183 of file ndn-content-store.hpp.

Constructor & Destructor Documentation

ns3::ndn::ContentStore::~ContentStore ( )
virtual

Virtual destructor.

Definition at line 51 of file ndn-content-store.cpp.

Member Function Documentation

TypeId ns3::ndn::ContentStore::GetTypeId ( void  )
static

Interface ID.

Returns
interface ID

Definition at line 33 of file ndn-content-store.cpp.

References m_cacheHitsTrace, and m_cacheMissesTrace.

virtual shared_ptr<Data> ns3::ndn::ContentStore::Lookup ( shared_ptr< const Interest >  interest)
pure virtual

Find corresponding CS entry for the given interest.

Parameters
interestInterest for which matching content store entry will be searched

If an entry is found, it is promoted to the top of most recent used entries index,

See also
m_contentStore

Implemented in ns3::ndn::cs::ContentStoreImpl< Policy >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< fifo_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, fifo_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lfu_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, random_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lfu_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< random_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lru_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lru_policy_traits > > >, and ns3::ndn::cs::Nocache.

virtual bool ns3::ndn::ContentStore::Add ( shared_ptr< const Data >  data)
pure virtual

Add a new content to the content store.

Returns
true if an existing entry was updated, false otherwise

Implemented in ns3::ndn::cs::ContentStoreImpl< Policy >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< fifo_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, fifo_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lfu_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, random_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lfu_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< random_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lru_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lru_policy_traits > > >, ns3::ndn::cs::Nocache, ns3::ndn::cs::ContentStoreWithFreshness< Policy >, ns3::ndn::cs::ContentStoreWithFreshness< fifo_policy_traits >, ns3::ndn::cs::ContentStoreWithFreshness< lfu_policy_traits >, ns3::ndn::cs::ContentStoreWithFreshness< random_policy_traits >, and ns3::ndn::cs::ContentStoreWithFreshness< lru_policy_traits >.

virtual void ns3::ndn::ContentStore::Print ( std::ostream &  os) const
pure virtual

Print out content store entries.

Implemented in ns3::ndn::cs::ContentStoreImpl< Policy >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< fifo_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, fifo_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lfu_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, random_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lfu_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< random_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lru_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lru_policy_traits > > >, ns3::ndn::cs::ContentStoreWithStats< Policy >, ns3::ndn::cs::ContentStoreWithStats< fifo_policy_traits >, ns3::ndn::cs::ContentStoreWithStats< lfu_policy_traits >, ns3::ndn::cs::ContentStoreWithStats< random_policy_traits >, ns3::ndn::cs::ContentStoreWithStats< lru_policy_traits >, ns3::ndn::cs::Nocache, ns3::ndn::cs::ContentStoreWithFreshness< Policy >, ns3::ndn::cs::ContentStoreWithFreshness< fifo_policy_traits >, ns3::ndn::cs::ContentStoreWithFreshness< lfu_policy_traits >, ns3::ndn::cs::ContentStoreWithFreshness< random_policy_traits >, and ns3::ndn::cs::ContentStoreWithFreshness< lru_policy_traits >.

Referenced by ns3::ndn::operator<<().

virtual uint32_t ns3::ndn::ContentStore::GetSize ( ) const
pure virtual

Get number of entries in content store.

Implemented in ns3::ndn::cs::ContentStoreImpl< Policy >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< fifo_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, fifo_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lfu_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, random_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lfu_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< random_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lru_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lru_policy_traits > > >, and ns3::ndn::cs::Nocache.

virtual Ptr<cs::Entry> ns3::ndn::ContentStore::Begin ( )
pure virtual

Return first element of content store (no order guaranteed)

Implemented in ns3::ndn::cs::ContentStoreImpl< Policy >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< fifo_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, fifo_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lfu_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, random_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lfu_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< random_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lru_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lru_policy_traits > > >, and ns3::ndn::cs::Nocache.

virtual Ptr<cs::Entry> ns3::ndn::ContentStore::End ( )
pure virtual

Return item next after last (no order guaranteed)

Implemented in ns3::ndn::cs::ContentStoreImpl< Policy >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< fifo_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, fifo_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lru_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< Policy, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lfu_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< random_policy_traits, ndnSIM::lifetime_stats_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, random_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lfu_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< random_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, ndnSIM::freshness_policy_traits > > >, ns3::ndn::cs::ContentStoreImpl< lru_policy_traits >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > >, ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, lru_policy_traits > > >, and ns3::ndn::cs::Nocache.

virtual Ptr<cs::Entry> ns3::ndn::ContentStore::Next ( Ptr< cs::Entry )
pure virtual

Advance the iterator.

Ptr< ContentStore > ns3::ndn::ContentStore::GetContentStore ( Ptr< Object >  node)
inlinestatic

Static call to cheat python bindings.

Definition at line 200 of file ndn-content-store.hpp.

Member Data Documentation

TracedCallback<shared_ptr<const Interest>, shared_ptr<const Data> > ns3::ndn::ContentStore::m_cacheHitsTrace
protected

trace of cache hits

Definition at line 187 of file ndn-content-store.hpp.

Referenced by GetTypeId().

TracedCallback<shared_ptr<const Interest> > ns3::ndn::ContentStore::m_cacheMissesTrace
protected

trace of cache misses

Definition at line 189 of file ndn-content-store.hpp.

Referenced by GetTypeId(), and ns3::ndn::cs::Nocache::Lookup().


The documentation for this class was generated from the following files: