NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
measurements-entry.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_TABLE_MEASUREMENTS_ENTRY_HPP
27
#define NFD_DAEMON_TABLE_MEASUREMENTS_ENTRY_HPP
28
29
#include "common.hpp"
30
#include "
strategy-info-host.hpp
"
31
#include "
core/scheduler.hpp
"
32
33
namespace
nfd
{
34
35
class
NameTree
;
36
37
namespace
name_tree {
38
class
Entry;
39
}
40
41
class
Measurements;
42
43
namespace
measurements {
44
48
class
Entry
:
public
StrategyInfoHost
, noncopyable
49
{
50
public
:
51
explicit
52
Entry
(
const
Name
&
name
);
53
54
const
Name
&
55
getName()
const
;
56
57
private
:
58
Name
m_name;
59
60
private
:
// lifetime
61
time::steady_clock::TimePoint
m_expiry;
62
scheduler::EventId
m_cleanup;
63
shared_ptr<name_tree::Entry> m_nameTreeEntry;
64
65
friend
class
nfd::NameTree
;
66
friend
class
nfd::name_tree::Entry
;
67
friend
class
nfd::Measurements
;
68
};
69
70
inline
const
Name
&
71
Entry::getName
()
const
72
{
73
return
m_name;
74
}
75
76
}
// namespace measurements
77
}
// namespace nfd
78
79
#endif // NFD_DAEMON_TABLE_MEASUREMENTS_ENTRY_HPP
nfd::measurements::Entry::getName
const Name & getName() const
Definition:
measurements-entry.hpp:71
ndn::time::steady_clock::TimePoint
time_point TimePoint
Definition:
time.hpp:108
nfd::StrategyInfoHost
base class for an entity onto which StrategyInfo objects may be placed
Definition:
strategy-info-host.hpp:35
nfd::Measurements
represents the Measurements table
Definition:
measurements.hpp:75
nfd::measurements::Entry
represents a Measurements entry
Definition:
measurements-entry.hpp:48
ndn::util::scheduler::EventId
std::shared_ptr< ns3::EventId > EventId
Definition:
scheduler.hpp:39
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::NameTree
Class Name Tree.
Definition:
name-tree.hpp:79
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
scheduler.hpp
nfd::NameTree
NameTree
Definition:
name-tree.cpp:36
strategy-info-host.hpp
ndn::name
Definition:
name-component.cpp:37
nfd::name_tree::Entry
Name Tree Entry Class.
Definition:
name-tree-entry.hpp:65
ndnSIM
NFD
daemon
table
measurements-entry.hpp
Generated on Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12