NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::rib::Route Class Reference

represents a route for a name prefix More...

#include <route.hpp>

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

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::TimePointexpires
 

Additional Inherited Members

- Protected Member Functions inherited from ndn::nfd::RouteFlagsTraits< Route >
 RouteFlagsTraits ()=default
 

Detailed Description

represents a route for a name prefix

Definition at line 39 of file route.hpp.

Constructor & Destructor Documentation

◆ Route()

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

Definition at line 32 of file route.cpp.

Member Function Documentation

◆ setExpirationEvent()

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

Definition at line 45 of file route.hpp.

◆ getExpirationEvent()

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

Definition at line 51 of file route.hpp.

Referenced by nfd::rib::Rib::insert().

◆ getFlags()

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

Definition at line 57 of file route.hpp.

References flags.

Member Data Documentation

◆ faceId

◆ origin

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

◆ cost

◆ flags

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

◆ expires

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==().


The documentation for this class was generated from the following files: