represents a route for a name prefix More...
#include <route.hpp>
Public Member Functions | |
Route () | |
void | setExpirationEvent (const scheduler::EventId eid) |
const scheduler::EventId & | getExpirationEvent () const |
std::underlying_type< ndn::nfd::RouteFlags >::type | getFlags () const |
Public Member Functions inherited from ndn::nfd::RouteFlagsTraits< Route > | |
bool | isChildInherit () const |
bool | isRibCapture () const |
Public Attributes | |
uint64_t | faceId |
ndn::nfd::RouteOrigin | origin |
uint64_t | cost |
std::underlying_type< ndn::nfd::RouteFlags >::type | flags |
ndn::optional< time::steady_clock::TimePoint > | expires |
Additional Inherited Members | |
Protected Member Functions inherited from ndn::nfd::RouteFlagsTraits< Route > | |
RouteFlagsTraits ()=default | |
|
inline |
|
inline |
Definition at line 51 of file route.hpp.
Referenced by nfd::rib::Rib::insert().
|
inline |
uint64_t nfd::rib::Route::faceId |
Definition at line 63 of file route.hpp.
Referenced by nfd::rib::RibUpdateBatch::add(), nfd::rib::compareFaceId(), nfd::rib::compareFaceIdAndOrigin(), nfd::rib::RibEntry::findInheritedRoute(), nfd::rib::Rib::insert(), nfd::rib::operator<<(), nfd::rib::operator==(), nfd::rib::RibEntry::removeInheritedRoute(), and nfd::rib::sortRoutes().
ndn::nfd::RouteOrigin nfd::rib::Route::origin |
Definition at line 64 of file route.hpp.
Referenced by nfd::rib::compareFaceIdAndOrigin(), nfd::rib::operator<<(), and nfd::rib::operator==().
uint64_t nfd::rib::Route::cost |
Definition at line 65 of file route.hpp.
Referenced by nfd::rib::RibEntry::getRouteWithLowestCostAndChildInheritByFaceId(), nfd::rib::RibEntry::getRouteWithLowestCostByFaceId(), nfd::rib::RibEntry::getRouteWithSecondLowestCostByFaceId(), nfd::rib::Rib::insert(), nfd::rib::operator<<(), and nfd::rib::operator==().
std::underlying_type<ndn::nfd::RouteFlags>::type nfd::rib::Route::flags |
Definition at line 66 of file route.hpp.
Referenced by getFlags(), nfd::rib::Rib::insert(), nfd::rib::RibEntry::insertRoute(), nfd::rib::operator<<(), and nfd::rib::operator==().
ndn::optional<time::steady_clock::TimePoint> nfd::rib::Route::expires |
Definition at line 67 of file route.hpp.
Referenced by nfd::rib::Rib::insert(), nfd::rib::operator<<(), and nfd::rib::operator==().