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

stores stategy 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 ()
 
FaceInfogetOrCreateFaceInfo (const fib::Entry &fibEntry, const Face &face)
 
FaceInfogetFaceInfo (const fib::Entry &fibEntry, const Face &face)
 
void expireFaceInfo (nfd::face::FaceId faceId)
 
void extendFaceInfoLifetime (FaceInfo &info, const Face &face)
 
FaceInfoget (nfd::face::FaceId faceId)
 
FaceInfoTable::iterator find (nfd::face::FaceId faceId)
 
FaceInfoTable::iterator end ()
 
const FaceInfoTable::iterator insert (nfd::face::FaceId faceId)
 
bool isProbingDue () const
 
void setIsProbingDue (bool isProbingDue)
 
bool isFirstProbeScheduled () const
 
void setHasFirstProbeBeenScheduled (bool hasBeenScheduled)
 
- 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 stategy information about each face in this namespace

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

Constructor & Destructor Documentation

◆ NamespaceInfo()

nfd::fw::asf::NamespaceInfo::NamespaceInfo ( )

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

Member Function Documentation

◆ getTypeId()

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

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

◆ getOrCreateFaceInfo()

FaceInfo & nfd::fw::asf::NamespaceInfo::getOrCreateFaceInfo ( const fib::Entry fibEntry,
const Face face 
)

◆ getFaceInfo()

FaceInfo * nfd::fw::asf::NamespaceInfo::getFaceInfo ( const fib::Entry fibEntry,
const Face face 
)

◆ expireFaceInfo()

void nfd::fw::asf::NamespaceInfo::expireFaceInfo ( nfd::face::FaceId  faceId)

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

Referenced by extendFaceInfoLifetime().

◆ extendFaceInfoLifetime()

◆ get()

FaceInfo& nfd::fw::asf::NamespaceInfo::get ( nfd::face::FaceId  faceId)
inline

◆ find()

FaceInfoTable::iterator nfd::fw::asf::NamespaceInfo::find ( nfd::face::FaceId  faceId)
inline

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

Referenced by nfd::fw::asf::getValueForSorting().

◆ end()

FaceInfoTable::iterator nfd::fw::asf::NamespaceInfo::end ( )
inline

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

Referenced by nfd::fw::asf::getValueForSorting().

◆ insert()

const FaceInfoTable::iterator nfd::fw::asf::NamespaceInfo::insert ( nfd::face::FaceId  faceId)
inline

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

Referenced by nfd::fw::asf::getValueForSorting().

◆ isProbingDue()

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

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

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

◆ setIsProbingDue()

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

◆ isFirstProbeScheduled()

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

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

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

◆ setHasFirstProbeBeenScheduled()

void nfd::fw::asf::NamespaceInfo::setHasFirstProbeBeenScheduled ( bool  hasBeenScheduled)
inline

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

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


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