NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
content-store-impl.cpp File Reference

Go to the source code of this file.

Classes

class  ns3::ndn::cs::Lru
 Content Store implementing LRU cache replacement policy. More...
 
class  ns3::ndn::cs::Fifo
 Content Store implementing FIFO cache replacement policy. More...
 
class  ns3::ndn::cs::Random
 Content Store implementing Random cache replacement policy. More...
 
class  ns3::ndn::cs::Lfu
 Content Store 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...
 

Typedefs

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

Functions

 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)
 

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 29 of file content-store-impl.cpp.