NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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 "
strategy-info-host.hpp
"
30
#include "
core/scheduler.hpp
"
31
32
namespace
nfd
{
33
34
namespace
name_tree {
35
class
Entry;
36
}
// namespace name_tree
37
38
namespace
measurements {
39
42
class
Entry
:
public
StrategyInfoHost
, noncopyable
43
{
44
public
:
45
explicit
46
Entry
(
const
Name
&
name
);
47
48
const
Name
&
49
getName
()
const
50
{
51
return
m_name;
52
}
53
54
private
:
55
Name
m_name;
56
time::steady_clock::TimePoint
m_expiry;
57
scheduler::EventId
m_cleanup;
58
59
name_tree::Entry
* m_nameTreeEntry;
60
61
friend
class
Measurements
;
62
friend
class
name_tree::Entry
;
63
};
64
65
}
// namespace measurements
66
}
// namespace nfd
67
68
#endif // NFD_DAEMON_TABLE_MEASUREMENTS_ENTRY_HPP
nfd::measurements::Entry::getName
const Name & getName() const
Definition:
measurements-entry.hpp:49
ndn::time::steady_clock::TimePoint
time_point TimePoint
Definition:
time.hpp:225
nfd::StrategyInfoHost
base class for an entity onto which StrategyInfo items may be placed
Definition:
strategy-info-host.hpp:35
nfd::measurements::Entry
represents a Measurements entry
Definition:
measurements-entry.hpp:42
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::measurements::Measurements
the Measurements table
Definition:
measurements.hpp:79
ndn::Name
Represents an absolute name.
Definition:
name.hpp:43
scheduler.hpp
strategy-info-host.hpp
nfd::measurements::Entry::Entry
Entry(const Name &name)
Definition:
measurements-entry.cpp:31
ndn::util::scheduler::EventId
A handle of scheduled event.
Definition:
scheduler.hpp:55
ndn::name
Definition:
name-component-types.hpp:33
nfd::name_tree::Entry
an entry in the name tree
Definition:
name-tree-entry.hpp:41
ndnSIM
NFD
daemon
table
measurements-entry.hpp
Generated on Sun Feb 24 2019 22:16:07 for ndnSIM by
1.8.15