NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
in-memory-storage-persistent.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_UTIL_IN_MEMORY_STORAGE_PERSISTENT_HPP
23
#define NDN_UTIL_IN_MEMORY_STORAGE_PERSISTENT_HPP
24
25
#include "
in-memory-storage.hpp
"
26
27
namespace
ndn
{
28
namespace
util {
29
33
class
InMemoryStoragePersistent
:
public
InMemoryStorage
34
{
35
public
:
36
InMemoryStoragePersistent
();
37
38
explicit
39
InMemoryStoragePersistent
(boost::asio::io_service& ioService);
40
41
NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED
:
48
virtual
bool
49
evictItem
()
override
;
50
};
51
52
}
// namespace util
53
}
// namespace ndn
54
55
#endif // NDN_UTIL_IN_MEMORY_STORAGE_PERSISTENT_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
in-memory-storage.hpp
ndn::util::InMemoryStorage::evictItem
virtual bool evictItem()=0
Removes one Data packet from in-memory storage based on derived class implemented replacement policy...
ndn::util::InMemoryStoragePersistent::InMemoryStoragePersistent
InMemoryStoragePersistent()
Definition:
in-memory-storage-persistent.cpp:27
ndn::util::InMemoryStorage
Represents in-memory storage.
Definition:
in-memory-storage.hpp:46
ndn::util::InMemoryStoragePersistent
Provides application cache with persistent storage, of which no replacement policy will be employed...
Definition:
in-memory-storage-persistent.hpp:33
NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED
Definition:
common.hpp:42
ndnSIM
ndn-cxx
src
util
in-memory-storage-persistent.hpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13