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

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

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

Member Function Documentation

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

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

References Face.

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

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

Referenced by nfd::fw::asf::AsfMeasurements::getFaceInfo().

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

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

Referenced by extendFaceInfoLifetime().

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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