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

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

#include <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)
 
FaceInfogetFaceInfo (FaceId faceId)
 
FaceInfogetOrCreateFaceInfo (FaceId faceId)
 
void extendFaceInfoLifetime (FaceInfo &info, FaceId faceId)
 
bool isProbingDue () const
 
void setIsProbingDue (bool isProbingDue)
 
bool isFirstProbeScheduled () const
 
void setIsFirstProbeScheduled (bool isScheduled)
 
- Public Member Functions inherited from nfd::fw::StrategyInfo
virtual ~StrategyInfo ()=default
 

Static Public Member Functions

static constexpr int getTypeId ()
 
- Static Public Member Functions inherited from nfd::fw::StrategyInfo
static constexpr int getTypeId ()
 

Additional Inherited Members

- Protected Member Functions inherited from nfd::fw::StrategyInfo
 StrategyInfo ()=default
 

Detailed Description

Stores strategy information about each face in this namespace.

Definition at line 128 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 138 of file asf-measurements.hpp.

Member Function Documentation

◆ getTypeId()

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

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

◆ getFaceInfo()

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

◆ getOrCreateFaceInfo()

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

◆ extendFaceInfoLifetime()

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

◆ isProbingDue()

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

◆ setIsProbingDue()

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

◆ isFirstProbeScheduled()

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

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

Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().

◆ setIsFirstProbeScheduled()

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

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

Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().


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