NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nfd::fw::NccStrategy::MeasurementsEntryInfo Class Reference

StrategyInfo on measurements::Entry. More...

#include <ncc-strategy.hpp>

Inheritance diagram for nfd::fw::NccStrategy::MeasurementsEntryInfo:
Collaboration diagram for nfd::fw::NccStrategy::MeasurementsEntryInfo:

Public Member Functions

 MeasurementsEntryInfo ()
void inheritFrom (const MeasurementsEntryInfo &other)
shared_ptr< FacegetBestFace ()
void updateBestFace (const Face &face)
void adjustPredictUp ()
- Public Member Functions inherited from nfd::fw::StrategyInfo
virtual ~StrategyInfo ()

Static Public Member Functions

static constexpr int getTypeId ()

Public Attributes

weak_ptr< FacebestFace
weak_ptr< FacepreviousFace
time::microseconds prediction

Static Public Attributes

static const time::microseconds INITIAL_PREDICTION
static const time::microseconds MIN_PREDICTION
static const int ADJUST_PREDICT_DOWN_SHIFT = 7
static const time::microseconds MAX_PREDICTION
static const int ADJUST_PREDICT_UP_SHIFT = 3

Detailed Description

StrategyInfo on measurements::Entry.

Definition at line 56 of file ncc-strategy.hpp.

Constructor & Destructor Documentation

nfd::fw::NccStrategy::MeasurementsEntryInfo::MeasurementsEntryInfo ( )

Definition at line 252 of file ncc-strategy.cpp.

Member Function Documentation

void nfd::fw::NccStrategy::MeasurementsEntryInfo::adjustPredictUp ( )

Definition at line 296 of file ncc-strategy.cpp.

shared_ptr< Face > nfd::fw::NccStrategy::MeasurementsEntryInfo::getBestFace ( void  )

Definition at line 264 of file ncc-strategy.cpp.

static constexpr int nfd::fw::NccStrategy::MeasurementsEntryInfo::getTypeId ( )

Definition at line 60 of file ncc-strategy.hpp.

void nfd::fw::NccStrategy::MeasurementsEntryInfo::inheritFrom ( const MeasurementsEntryInfo other)

Definition at line 258 of file ncc-strategy.cpp.

void nfd::fw::NccStrategy::MeasurementsEntryInfo::updateBestFace ( const Face face)

Definition at line 274 of file ncc-strategy.cpp.

Member Data Documentation

const int nfd::fw::NccStrategy::MeasurementsEntryInfo::ADJUST_PREDICT_DOWN_SHIFT = 7

Definition at line 93 of file ncc-strategy.hpp.

const int nfd::fw::NccStrategy::MeasurementsEntryInfo::ADJUST_PREDICT_UP_SHIFT = 3

Definition at line 95 of file ncc-strategy.hpp.

weak_ptr<Face> nfd::fw::NccStrategy::MeasurementsEntryInfo::bestFace

Definition at line 87 of file ncc-strategy.hpp.

const time::microseconds nfd::fw::NccStrategy::MeasurementsEntryInfo::INITIAL_PREDICTION
Initial value:

Definition at line 91 of file ncc-strategy.hpp.

const time::microseconds nfd::fw::NccStrategy::MeasurementsEntryInfo::MAX_PREDICTION
Initial value:

Definition at line 94 of file ncc-strategy.hpp.

const time::microseconds nfd::fw::NccStrategy::MeasurementsEntryInfo::MIN_PREDICTION
Initial value:

Definition at line 92 of file ncc-strategy.hpp.

time::microseconds nfd::fw::NccStrategy::MeasurementsEntryInfo::prediction

Definition at line 89 of file ncc-strategy.hpp.

weak_ptr<Face> nfd::fw::NccStrategy::MeasurementsEntryInfo::previousFace

Definition at line 88 of file ncc-strategy.hpp.

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