nfd::rib::Route Class Reference

represents a route for a name prefix More...

#include <rib/route.hpp>

+ Inheritance diagram for nfd::rib::Route:
+ Collaboration diagram for nfd::rib::Route:

Public Member Functions

 Route ()
 
const scheduler::EventId & getExpirationEvent () const
 
std::underlying_type< ndn::nfd::RouteFlags >::type getFlags () const
 
void setExpirationEvent (const scheduler::EventId eid)
 

Public Attributes

uint64_t cost
 
ndn::optional< time::steady_clock::TimePoint > expires
 
uint64_t faceId
 
std::underlying_type< ndn::nfd::RouteFlags >::type flags
 
ndn::nfd::RouteOrigin origin
 

Detailed Description

represents a route for a name prefix

Definition at line 39 of file route.hpp.

Constructor & Destructor Documentation

nfd::rib::Route::Route ( )

Definition at line 32 of file route.cpp.

Member Function Documentation

const scheduler::EventId& nfd::rib::Route::getExpirationEvent ( ) const
inline

Definition at line 51 of file route.hpp.

std::underlying_type<ndn::nfd::RouteFlags>::type nfd::rib::Route::getFlags ( ) const
inline

Definition at line 57 of file route.hpp.

void nfd::rib::Route::setExpirationEvent ( const scheduler::EventId  eid)
inline

Definition at line 45 of file route.hpp.

Member Data Documentation

uint64_t nfd::rib::Route::cost

Definition at line 65 of file route.hpp.

ndn::optional<time::steady_clock::TimePoint> nfd::rib::Route::expires

Definition at line 67 of file route.hpp.

uint64_t nfd::rib::Route::faceId

Definition at line 63 of file route.hpp.

std::underlying_type<ndn::nfd::RouteFlags>::type nfd::rib::Route::flags

Definition at line 66 of file route.hpp.

ndn::nfd::RouteOrigin nfd::rib::Route::origin

Definition at line 64 of file route.hpp.