nfd::fw::asf::NamespaceInfo Class Referencefinal

Stores strategy information about each face in this namespace. More...

#include <daemon/fw/asf-measurements.hpp>

+ Inheritance diagram for nfd::fw::asf::NamespaceInfo:
+ Collaboration diagram for nfd::fw::asf::NamespaceInfo:

Public Member Functions

 NamespaceInfo (shared_ptr< const ndn::util::RttEstimator::Options > opts)
 
void extendFaceInfoLifetime (FaceInfo &info, FaceId faceId)
 
FaceInfogetFaceInfo (FaceId faceId)
 
FaceInfogetOrCreateFaceInfo (FaceId faceId)
 
bool isFirstProbeScheduled () const
 
bool isProbingDue () const
 
void setIsFirstProbeScheduled (bool isScheduled)
 
void setIsProbingDue (bool isProbingDue)
 

Static Public Member Functions

static constexpr int getTypeId ()
 

Detailed Description

Stores strategy information about each face in this namespace.

Definition at line 125 of file asf-measurements.hpp.

Constructor & Destructor Documentation

◆ NamespaceInfo()

nfd::fw::asf::NamespaceInfo::NamespaceInfo ( shared_ptr< const ndn::util::RttEstimator::Options >  opts)
inlineexplicit

Definition at line 135 of file asf-measurements.hpp.

Member Function Documentation

◆ extendFaceInfoLifetime()

void nfd::fw::asf::NamespaceInfo::extendFaceInfoLifetime ( FaceInfo info,
FaceId  faceId 
)

Definition at line 70 of file asf-measurements.cpp.

◆ getFaceInfo()

FaceInfo * nfd::fw::asf::NamespaceInfo::getFaceInfo ( FaceId  faceId)

Definition at line 52 of file asf-measurements.cpp.

◆ getOrCreateFaceInfo()

FaceInfo & nfd::fw::asf::NamespaceInfo::getOrCreateFaceInfo ( FaceId  faceId)

Definition at line 59 of file asf-measurements.cpp.

◆ getTypeId()

static constexpr int nfd::fw::asf::NamespaceInfo::getTypeId ( )
inlinestaticconstexpr

Definition at line 129 of file asf-measurements.hpp.

◆ isFirstProbeScheduled()

bool nfd::fw::asf::NamespaceInfo::isFirstProbeScheduled ( ) const
inline

Definition at line 162 of file asf-measurements.hpp.

◆ isProbingDue()

bool nfd::fw::asf::NamespaceInfo::isProbingDue ( ) const
inline

Definition at line 150 of file asf-measurements.hpp.

◆ setIsFirstProbeScheduled()

void nfd::fw::asf::NamespaceInfo::setIsFirstProbeScheduled ( bool  isScheduled)
inline

Definition at line 168 of file asf-measurements.hpp.

◆ setIsProbingDue()

void nfd::fw::asf::NamespaceInfo::setIsProbingDue ( bool  isProbingDue)
inline

Definition at line 156 of file asf-measurements.hpp.