stores stategy information about each face in this namespace More...
#include <asf-measurements.hpp>
Public Member Functions | |
NamespaceInfo () | |
FaceInfo & | getOrCreateFaceInfo (const fib::Entry &fibEntry, const Face &face) |
FaceInfo * | getFaceInfo (const fib::Entry &fibEntry, const Face &face) |
void | expireFaceInfo (nfd::face::FaceId faceId) |
void | extendFaceInfoLifetime (FaceInfo &info, const Face &face) |
FaceInfo & | get (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 | |
stores stategy information about each face in this namespace
Definition at line 195 of file asf-measurements.hpp.
nfd::fw::asf::NamespaceInfo::NamespaceInfo | ( | ) |
Definition at line 143 of file asf-measurements.cpp.
|
inlinestatic |
Definition at line 201 of file asf-measurements.hpp.
FaceInfo & nfd::fw::asf::NamespaceInfo::getOrCreateFaceInfo | ( | const fib::Entry & | fibEntry, |
const Face & | face | ||
) |
Definition at line 163 of file asf-measurements.cpp.
References extendFaceInfoLifetime(), and nfd::face::Face::getId().
Referenced by nfd::fw::asf::AsfMeasurements::getOrCreateFaceInfo().
FaceInfo * nfd::fw::asf::NamespaceInfo::getFaceInfo | ( | const fib::Entry & | fibEntry, |
const Face & | face | ||
) |
Definition at line 150 of file asf-measurements.cpp.
References nfd::face::Face::getId().
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().
Definition at line 189 of file asf-measurements.cpp.
References nfd::scheduler::cancel(), expireFaceInfo(), nfd::face::Face::getId(), nfd::fw::asf::FaceInfo::getMeasurementExpirationEventId(), nfd::fw::asf::AsfMeasurements::MEASUREMENTS_LIFETIME, nfd::scheduler::schedule(), and nfd::fw::asf::FaceInfo::setMeasurementExpirationEventId().
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), nfd::fw::asf::AsfStrategy::beforeSatisfyInterest(), and getOrCreateFaceInfo().
|
inline |
Definition at line 219 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::AsfStrategy::beforeSatisfyInterest().
|
inline |
Definition at line 225 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::getValueForSorting().
|
inline |
Definition at line 231 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::getValueForSorting().
|
inline |
Definition at line 237 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::getValueForSorting().
|
inline |
Definition at line 244 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().
|
inline |
Definition at line 250 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::afterForwardingProbe(), and nfd::fw::asf::ProbingModule::scheduleProbe().
|
inline |
Definition at line 256 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().
|
inline |
Definition at line 262 of file asf-measurements.hpp.
Referenced by nfd::fw::asf::ProbingModule::isProbingNeeded().