Stores strategy information about each face in this namespace. More...
#include <asf-measurements.hpp>
Public Member Functions | |
NamespaceInfo (shared_ptr< const ndn::util::RttEstimator::Options > opts) | |
FaceInfo * | getFaceInfo (FaceId faceId) |
FaceInfo & | getOrCreateFaceInfo (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 | |
Stores strategy information about each face in this namespace.
Definition at line 128 of file asf-measurements.hpp.
|
inlineexplicit |
Definition at line 138 of file asf-measurements.hpp.
References info.
|
inlinestatic |
Definition at line 132 of file asf-measurements.hpp.
FaceInfo * nfd::fw::asf::NamespaceInfo::getFaceInfo | ( | FaceId | faceId | ) |
Definition at line 57 of file asf-measurements.cpp.
Referenced by nfd::fw::asf::AsfStrategy::beforeSatisfyInterest(), nfd::fw::asf::AsfMeasurements::getFaceInfo(), and nfd::fw::asf::FaceStatsCompare::operator()().
FaceInfo & nfd::fw::asf::NamespaceInfo::getOrCreateFaceInfo | ( | FaceId | faceId | ) |
Definition at line 64 of file asf-measurements.cpp.
Referenced by nfd::fw::asf::AsfMeasurements::getOrCreateFaceInfo().
void nfd::fw::asf::NamespaceInfo::extendFaceInfoLifetime | ( | FaceInfo & | info, |
FaceId | faceId | ||
) |
Definition at line 77 of file asf-measurements.cpp.
References nfd::getScheduler(), and nfd::fw::asf::AsfMeasurements::MEASUREMENTS_LIFETIME.
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), nfd::fw::asf::AsfStrategy::beforeSatisfyInterest(), and nfd::fw::asf::FaceStatsCompare::operator()().
|
inline |
Definition at line 153 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().
|
inline |
Definition at line 159 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::afterForwardingProbe(), and nfd::fw::asf::ProbingModule::scheduleProbe().
|
inline |
Definition at line 165 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().
|
inline |
Definition at line 171 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().