NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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;
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
time_point TimePoint
Definition: time.hpp:120
base class for an entity onto which StrategyInfo items may be placed
const Name & getName() const
represents a Measurements entry
std::shared_ptr< ns3::EventId > EventId
Definition: scheduler.hpp:48
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
represents the Measurements table
Represents an absolute name.
Definition: name.hpp:42
an entry in the name tree