Special content store realization that probabilistically accepts data packet into CS (placement policy) More...
#include <content-store-with-probability.hpp>


Public Types | |
| typedef ContentStoreImpl < ndnSIM::multi_policy_traits < boost::mpl::vector2 < ndnSIM::probability_policy_traits, Policy > > >  | super | 
| typedef  super::policy_container::template index< 0 >::type  | probability_policy_container | 
  Public Types inherited from ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > > | |
| typedef  ndnSIM::trie_with_policy< Name, ndnSIM::smart_pointer_payload_traits < EntryImpl< ContentStoreImpl < ndnSIM::multi_policy_traits < boost::mpl::vector2 < ndnSIM::probability_policy_traits, Policy > > > >, Entry > , ndnSIM::multi_policy_traits < boost::mpl::vector2 < ndnSIM::probability_policy_traits, Policy > > >  | super | 
| typedef EntryImpl < ContentStoreImpl < ndnSIM::multi_policy_traits < boost::mpl::vector2 < ndnSIM::probability_policy_traits, Policy > > > >  | entry | 
Public Member Functions | |
| ContentStoreWithProbability () | |
  Public Member Functions inherited from ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > > | |
| ContentStoreImpl () | |
| virtual | ~ContentStoreImpl () | 
| virtual shared_ptr< Data > | Lookup (shared_ptr< const Interest > interest) | 
| Find corresponding CS entry for the given interest.  More... | |
| virtual bool | Add (shared_ptr< const Data > data) | 
| Add a new content to the content store.  More... | |
| virtual void | Print (std::ostream &os) const | 
| Print out content store entries.  More... | |
| virtual uint32_t | GetSize () const | 
| Get number of entries in content store.  More... | |
| virtual Ptr< Entry > | Begin () | 
| Return first element of content store (no order guaranteed)  More... | |
| virtual Ptr< Entry > | End () | 
| Return item next after last (no order guaranteed)  More... | |
| virtual Ptr< Entry > | Next (Ptr< Entry >) | 
| const super::policy_container & | GetPolicy () const | 
| super::policy_container & | GetPolicy () | 
  Public Member Functions inherited from ns3::ndn::ContentStore | |
| virtual | ~ContentStore () | 
| Virtual destructor.  More... | |
| virtual Ptr< cs::Entry > | Next (Ptr< cs::Entry >)=0 | 
| Advance the iterator.  More... | |
Static Public Member Functions | |
| static TypeId | GetTypeId () | 
  Static Public Member Functions inherited from ns3::ndn::cs::ContentStoreImpl< ndnSIM::multi_policy_traits< boost::mpl::vector2< ndnSIM::probability_policy_traits, Policy > > > | |
| static TypeId | GetTypeId () | 
  Static Public Member Functions inherited from ns3::ndn::ContentStore | |
| static TypeId | GetTypeId () | 
| Interface ID.  More... | |
| static Ptr< ContentStore > | GetContentStore (Ptr< Object > node) | 
| Static call to cheat python bindings.  More... | |
Additional Inherited Members | |
  Protected Attributes inherited from ns3::ndn::ContentStore | |
| 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... | |
Special content store realization that probabilistically accepts data packet into CS (placement policy)
Definition at line 42 of file content-store-with-probability.hpp.
| typedef super::policy_container::template index<0>::type ns3::ndn::cs::ContentStoreWithProbability< Policy >::probability_policy_container | 
Definition at line 51 of file content-store-with-probability.hpp.
| typedef ContentStoreImpl<ndnSIM::multi_policy_traits<boost::mpl:: vector2<ndnSIM::probability_policy_traits, Policy> > > ns3::ndn::cs::ContentStoreWithProbability< Policy >::super | 
Definition at line 49 of file content-store-with-probability.hpp.
      
  | 
  inline | 
Definition at line 53 of file content-store-with-probability.hpp.
      
  | 
  static | 
Definition at line 78 of file content-store-with-probability.hpp.