NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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

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

Definition at line 32 of file route.cpp.

Member Function Documentation

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

Definition at line 45 of file route.hpp.

Referenced by nfd::rib::RibManager::onRibUpdateFailure().

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

Definition at line 51 of file route.hpp.

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

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


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