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

Namespace for ContentStore operations. More...

Namespaces

 Freshness
 
 Probability
 
 ProbabilityImpl
 
 Stats
 

Classes

class  ContentStoreImpl
 Base implementation of NDN content store. More...
 
class  ContentStoreWithFreshness
 Special content store realization that honors Freshness parameter in Data packets. More...
 
class  ContentStoreWithProbability
 Special content store realization that probabilistically accepts data packet into CS (placement policy) More...
 
class  ContentStoreWithStats
 Special content store realization that provides ability to track stats of CS operations. More...
 
class  Entry
 NDN content store entry. More...
 
class  EntryImpl
 Cache entry implementation with additional references to the base container. More...
 
class  Fifo
 Content Store implementing FIFO cache replacement policy. More...
 
struct  isNotExcluded
 
class  Lfu
 Content Store implementing Least Frequently Used cache replacement policy. More...
 
class  Lru
 Content Store implementing LRU cache replacement policy. More...
 
class  Nocache
 Implementation of ContentStore that completely disables caching. More...
 
class  Random
 Content Store implementing Random cache replacement policy. More...
 

Typedefs

typedef multi_policy_traits< boost::mpl::vector2< lru_policy_traits, aggregate_stats_policy_traits > > LruWithCountsTraits
 
typedef multi_policy_traits< boost::mpl::vector2< random_policy_traits, aggregate_stats_policy_traits > > RandomWithCountsTraits
 
typedef multi_policy_traits< boost::mpl::vector2< fifo_policy_traits, aggregate_stats_policy_traits > > FifoWithCountsTraits
 
typedef multi_policy_traits< boost::mpl::vector2< lfu_policy_traits, aggregate_stats_policy_traits > > LfuWithCountsTraits
 

Functions

 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, lru_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, random_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, fifo_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, lfu_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, LruWithCountsTraits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, RandomWithCountsTraits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, FifoWithCountsTraits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreImpl, LfuWithCountsTraits)
 
 NS_OBJECT_ENSURE_REGISTERED (Nocache)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithFreshness, lru_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithFreshness, random_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithFreshness, fifo_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithFreshness, lfu_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithProbability, lru_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithProbability, random_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithProbability, fifo_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithProbability, lfu_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithStats, lru_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithStats, random_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithStats, fifo_policy_traits)
 
 NS_OBJECT_ENSURE_REGISTERED_TEMPL (ContentStoreWithStats, lfu_policy_traits)
 

Detailed Description

Namespace for ContentStore operations.

Typedef Documentation

typedef multi_policy_traits<boost::mpl::vector2<lru_policy_traits, aggregate_stats_policy_traits> > ns3::ndn::cs::LruWithCountsTraits

Definition at line 72 of file content-store-impl.cpp.

typedef multi_policy_traits<boost::mpl::vector2<random_policy_traits, aggregate_stats_policy_traits> > ns3::ndn::cs::RandomWithCountsTraits

Definition at line 75 of file content-store-impl.cpp.

typedef multi_policy_traits<boost::mpl::vector2<fifo_policy_traits, aggregate_stats_policy_traits> > ns3::ndn::cs::FifoWithCountsTraits

Definition at line 77 of file content-store-impl.cpp.

typedef multi_policy_traits<boost::mpl::vector2<lfu_policy_traits, aggregate_stats_policy_traits> > ns3::ndn::cs::LfuWithCountsTraits

Definition at line 79 of file content-store-impl.cpp.

Function Documentation

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
lru_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
random_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
fifo_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
lfu_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
LruWithCountsTraits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
RandomWithCountsTraits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
FifoWithCountsTraits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
LfuWithCountsTraits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED ( Nocache  )
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
lru_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
random_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
fifo_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
lfu_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
lru_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
random_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
fifo_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
lfu_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
lru_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
random_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
fifo_policy_traits   
)
ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
lfu_policy_traits   
)