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();
85 const InRecordCollection&
99 return !m_inRecords.empty();
105 return m_inRecords.begin();
108 InRecordCollection::const_iterator
111 return m_inRecords.begin();
117 return m_inRecords.end();
120 InRecordCollection::const_iterator
123 return m_inRecords.end();
151 const OutRecordCollection&
166 return !m_outRecords.empty();
172 return m_outRecords.begin();
175 OutRecordCollection::const_iterator
178 return m_outRecords.begin();
184 return m_outRecords.end();
187 OutRecordCollection::const_iterator
190 return m_outRecords.end();
233 shared_ptr<const Interest> m_interest;
234 InRecordCollection m_inRecords;
235 OutRecordCollection m_outRecords;
245 #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
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()