NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
content-store-with-probability.cpp File Reference
Include dependency graph for content-store-with-probability.cpp:

Go to the source code of this file.

Classes

class  ns3::ndn::cs::Probability::Lru
 Content Store with freshness implementing LRU cache replacement policy. More...
 
class  ns3::ndn::cs::Probability::Fifo
 Content Store with freshness implementing FIFO cache replacement policy. More...
 
class  ns3::ndn::cs::Probability::Random
 Content Store with freshness implementing Random cache replacement policy. More...
 
class  ns3::ndn::cs::Probability::Lfu
 Content Store with freshness implementing Least Frequently Used cache replacement policy. More...
 

Namespaces

 ns3
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ns3::ndn
 
 ns3::ndn::cs
 Namespace for ContentStore operations.
 

Macros

#define NS_OBJECT_ENSURE_REGISTERED_TEMPL(type, templ)
 Copyright (c) 2011-2015 Regents of the University of California. More...
 

Functions

 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)
 

Macro Definition Documentation

#define NS_OBJECT_ENSURE_REGISTERED_TEMPL (   type,
  templ 
)
Value:
static struct X##type##templ##RegistrationClass { \
X##type##templ##RegistrationClass() \
{ \
ns3::TypeId tid = type<templ>::GetTypeId(); \
tid.GetParent(); \
} \
} x_##type##templ##RegistrationVariable

Copyright (c) 2011-2015 Regents of the University of California.

This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and contributors.

ndnSIM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ndnSIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ndnSIM, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

Definition at line 27 of file content-store-with-probability.cpp.