NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
in-memory-storage-entry.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#include "
in-memory-storage-entry.hpp
"
23
24
namespace
ndn
{
25
namespace
util {
26
27
void
28
InMemoryStorageEntry::release
()
29
{
30
m_dataPacket.reset();
31
}
32
33
void
34
InMemoryStorageEntry::setData
(
const
Data
& data)
35
{
36
m_dataPacket = data.shared_from_this();
37
}
38
39
}
// namespace util
40
}
// namespace ndn
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::util::InMemoryStorageEntry::release
void release()
Releases reference counts on shared objects.
Definition:
in-memory-storage-entry.cpp:28
in-memory-storage-entry.hpp
ndn::Data
represents a Data packet
Definition:
data.hpp:39
ndn::util::InMemoryStorageEntry::setData
void setData(const Data &data)
Changes the content of in-memory storage entry.
Definition:
in-memory-storage-entry.cpp:34
ndnSIM
ndn-cxx
src
util
in-memory-storage-entry.cpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11