NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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
virtual
42
~InMemoryStoragePersistent
();
43
44
NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED
:
51
virtual
bool
52
evictItem
();
53
};
54
55
}
// namespace util
56
}
// namespace ndn
57
58
#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::InMemoryStoragePersistent::~InMemoryStoragePersistent
virtual ~InMemoryStoragePersistent()
Definition:
in-memory-storage-persistent.cpp:37
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 Sat Nov 12 2016 16:02:53 for ndnSIM by
1.8.12