NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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

◆ LruWithCountsTraits

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.

◆ RandomWithCountsTraits

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.

◆ FifoWithCountsTraits

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.

◆ LfuWithCountsTraits

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

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [1/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
lru_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [2/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
random_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [3/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
fifo_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [4/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
lfu_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [5/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
LruWithCountsTraits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [6/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
RandomWithCountsTraits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [7/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
FifoWithCountsTraits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [8/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreImpl  ,
LfuWithCountsTraits   
)

◆ NS_OBJECT_ENSURE_REGISTERED()

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED ( Nocache  )

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [9/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
lru_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [10/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
random_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [11/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
fifo_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [12/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithFreshness  ,
lfu_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [13/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
lru_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [14/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
random_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [15/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
fifo_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [16/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithProbability  ,
lfu_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [17/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
lru_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [18/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
random_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [19/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
fifo_policy_traits   
)

◆ NS_OBJECT_ENSURE_REGISTERED_TEMPL() [20/20]

ns3::ndn::cs::NS_OBJECT_ENSURE_REGISTERED_TEMPL ( ContentStoreWithStats  ,
lfu_policy_traits   
)