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
measurements-entry.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25
#ifndef NFD_DAEMON_TABLE_MEASUREMENTS_ENTRY_HPP
26
#define NFD_DAEMON_TABLE_MEASUREMENTS_ENTRY_HPP
27
28
#include "
common.hpp
"
29
#include "
strategy-info-host.hpp
"
30
#include "
core/scheduler.hpp
"
31
32
namespace
nfd {
33
34
class
NameTree
;
35
36
namespace
name_tree {
37
class
Entry;
38
}
39
40
class
Measurements;
41
42
namespace
measurements {
43
47
class
Entry
:
public
StrategyInfoHost
, noncopyable
48
{
49
public
:
50
explicit
51
Entry
(
const
Name
& name);
52
53
const
Name
&
54
getName
()
const
;
55
56
private
:
57
Name
m_name;
58
59
private
:
// lifetime
60
time::steady_clock::TimePoint m_expiry;
61
EventId
m_cleanup;
62
shared_ptr<name_tree::Entry> m_nameTreeEntry;
63
64
friend
class
nfd::NameTree
;
65
friend
class
nfd::name_tree::Entry
;
66
friend
class
nfd::Measurements
;
67
};
68
69
inline
const
Name
&
70
Entry::getName
()
const
71
{
72
return
m_name;
73
}
74
75
}
// namespace measurements
76
}
// namespace nfd
77
78
#endif // NFD_DAEMON_TABLE_MEASUREMENTS_ENTRY_HPP
nfd::measurements::Entry::getName
const Name & getName() const
Definition:
measurements-entry.hpp:70
nfd::StrategyInfoHost
base class for an entity onto which StrategyInfo objects may be placed
Definition:
strategy-info-host.hpp:35
nfd::Measurements
Definition:
measurements.hpp:46
nfd::scheduler::EventId
std::shared_ptr< ns3::EventId > EventId
Definition:
scheduler.hpp:39
common.hpp
nfd::measurements::Entry
represents a Measurements entry
Definition:
measurements-entry.hpp:47
scheduler.hpp
ns3::ndn::Name
Name
Definition:
ndn-common.cpp:25
nfd::NameTree
Class Name Tree.
Definition:
name-tree.hpp:79
nfd::NameTree
NameTree
Definition:
name-tree.cpp:36
strategy-info-host.hpp
nfd::measurements::Entry::Entry
Entry(const Name &name)
Definition:
measurements-entry.cpp:30
nfd::name_tree::Entry
Name Tree Entry Class.
Definition:
name-tree-entry.hpp:65
ndnSIM
NFD
daemon
table
measurements-entry.hpp
Generated on Wed Feb 18 2015 16:31:16 for ndnSIM by
1.8.7