NFD: Named Data Networking Forwarding Daemon 0.6.0 documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
nfd::measurements::Entry
represents a Measurements entry
Definition:
measurements-entry.hpp:42
nfd::StrategyInfoHost
base class for an entity onto which StrategyInfo items may be placed
Definition:
strategy-info-host.hpp:35
nfd::measurements::Measurements
represents the Measurements table
Definition:
measurements.hpp:75
scheduler.hpp
nfd
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition:
algorithm.hpp:32
nfd::name_tree::Entry
an entry in the name tree
Definition:
name-tree-entry.hpp:41
strategy-info-host.hpp
daemon
table
measurements-entry.hpp
Generated on Mon Oct 16 2017 13:51:50 for NFD: Named Data Networking Forwarding Daemon by
1.8.11