26 #ifndef NFD_RIB_ROUTE_HPP
27 #define NFD_RIB_ROUTE_HPP
30 #include <ndn-cxx/encoding/nfd-constants.hpp>
45 ,
expires(time::steady_clock::TimePoint::min())
57 m_expirationEvent = eid;
60 const scheduler::EventId&
63 return m_expirationEvent;
69 return flags & ndn::nfd::ROUTE_FLAG_CHILD_INHERIT;
75 return flags & ndn::nfd::ROUTE_FLAG_CAPTURE;
86 scheduler::EventId m_expirationEvent;
98 return (route.
faceId == faceId);
102 operator<<(std::ostream& os,
const Route& route);
107 #endif // NFD_RIB_ROUTE_HPP
bool operator==(const Route &other) const
std::ostream & operator<<(std::ostream &os, const FibUpdate &update)
bool compareFaceIdAndOrigin(const Route &lhs, const Route &rhs)
time::steady_clock::TimePoint expires
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
bool isChildInherit() const
void setExpirationEvent(const scheduler::EventId eid)
represents a route for a name prefix
const scheduler::EventId & getExpirationEvent() const
bool compareFaceId(const Route &route, const uint64_t faceId)