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
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pit-in-record.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_TABLE_PIT_IN_RECORD_HPP
27
#define NFD_DAEMON_TABLE_PIT_IN_RECORD_HPP
28
29
#include "
pit-face-record.hpp
"
30
31
namespace
nfd {
32
namespace
pit {
33
37
class
InRecord
:
public
FaceRecord
38
{
39
public
:
40
explicit
41
InRecord
(shared_ptr<Face> face);
42
43
void
44
update
(
const
Interest& interest);
45
46
const
Interest&
47
getInterest
()
const
;
48
49
private
:
50
shared_ptr<const Interest> m_interest;
51
};
52
53
inline
const
Interest&
54
InRecord::getInterest
()
const
55
{
56
BOOST_ASSERT(static_cast<bool>(m_interest));
57
return
*m_interest;
58
}
59
60
}
// namespace pit
61
}
// namespace nfd
62
63
#endif // NFD_DAEMON_TABLE_PIT_IN_RECORD_HPP
nfd::pit::InRecord::getInterest
const Interest & getInterest() const
Definition:
pit-in-record.hpp:54
nfd::pit::InRecord
contains information about an Interest from an incoming face
Definition:
pit-in-record.hpp:37
pit-face-record.hpp
nfd::pit::InRecord::InRecord
InRecord(shared_ptr< Face > face)
Definition:
pit-in-record.cpp:30
nfd::pit::FaceRecord
contains information about an Interest on an incoming or outgoing face
Definition:
pit-face-record.hpp:40
nfd::pit::InRecord::update
void update(const Interest &interest)
Definition:
pit-in-record.cpp:36
ndnSIM
NFD
daemon
table
pit-in-record.hpp
Generated on Wed Feb 18 2015 16:31:16 for ndnSIM by
1.8.7