26 #ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP
27 #define NFD_DAEMON_TABLE_PIT_ENTRY_HPP
61 Entry(
const Interest& interest);
79 return m_interest->getName();
87 canMatch(
const Interest& interest,
size_t nEqualNameComps = 0)
const;
92 const InRecordCollection&
106 return !m_inRecords.empty();
112 return m_inRecords.begin();
115 InRecordCollection::const_iterator
118 return m_inRecords.begin();
124 return m_inRecords.end();
127 InRecordCollection::const_iterator
130 return m_inRecords.end();
158 const OutRecordCollection&
173 return !m_outRecords.empty();
179 return m_outRecords.begin();
182 OutRecordCollection::const_iterator
185 return m_outRecords.begin();
191 return m_outRecords.end();
194 OutRecordCollection::const_iterator
197 return m_outRecords.end();
240 shared_ptr<const Interest> m_interest;
241 InRecordCollection m_inRecords;
242 OutRecordCollection m_outRecords;
252 #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP
void deleteInRecord(const Face &face)
delete the in-record for face if it exists
const InRecordCollection & getInRecords() const
bool hasInRecords() const
OutRecordCollection::iterator getOutRecord(const Face &face)
get the out-record for face
OutRecordCollection::const_iterator out_begin() const
base class for an entity onto which StrategyInfo items may be placed
bool hasOutRecords() const
OutRecordCollection::const_iterator out_end() const
scheduler::EventId m_unsatisfyTimer
unsatisfy timer
InRecordCollection::const_iterator in_begin() const
scheduler::EventId m_stragglerTimer
straggler timer
void deleteOutRecord(const Face &face)
delete the out-record for face if it exists
InRecordCollection::iterator insertOrUpdateInRecord(Face &face, const Interest &interest)
insert or update an in-record
std::list< InRecord > InRecordCollection
an unordered collection of in-records
Table::const_iterator iterator
InRecordCollection::const_iterator in_end() const
void clearInRecords()
delete all in-records
bool canMatch(const Interest &interest, size_t nEqualNameComps=0) const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
OutRecordCollection::iterator insertOrUpdateOutRecord(Face &face, const Interest &interest)
insert or update an out-record
InRecordCollection::iterator in_end()
const Interest & getInterest() const
an entry in the name tree
std::list< OutRecord > OutRecordCollection
an unordered collection of out-records
OutRecordCollection::iterator out_begin()
Entry(const Interest &interest)
InRecordCollection::iterator getInRecord(const Face &face)
get the in-record for face
OutRecordCollection::iterator out_end()
const OutRecordCollection & getOutRecords() const
const Name & getName() const
InRecordCollection::iterator in_begin()