base class for an entity onto which StrategyInfo items may be placed More...
#include <strategy-info-host.hpp>
Public Member Functions | |
template<typename T > | |
T * | getStrategyInfo () const |
get a StrategyInfo item More... | |
template<typename T , typename... A> | |
std::pair< T *, bool > | insertStrategyInfo (A &&...args) |
insert a StrategyInfo item More... | |
template<typename T > | |
size_t | eraseStrategyInfo () |
erase a StrategyInfo item More... | |
void | clearStrategyInfo () |
clear all StrategyInfo items More... | |
base class for an entity onto which StrategyInfo items may be placed
Definition at line 35 of file strategy-info-host.hpp.
|
inline |
get a StrategyInfo item
T | type of StrategyInfo, must be a subclass of fw::StrategyInfo |
Definition at line 44 of file strategy-info-host.hpp.
Referenced by nfd::fw::AccessStrategy::beforeSatisfyInterest(), and nfd::measurements::EntryWithStrategyInfo< T >::operator()().
|
inline |
insert a StrategyInfo item
T | type of StrategyInfo, must be a subclass of fw::StrategyInfo |
Definition at line 63 of file strategy-info-host.hpp.
Referenced by nfd::fw::AccessStrategy::beforeSatisfyInterest(), nfd::fw::RetxSuppressionExponential::decidePerPitEntry(), nfd::fw::NccStrategy::getMeasurementsEntryInfo(), nfd::fw::asf::AsfMeasurements::getNamespaceInfo(), nfd::fw::asf::AsfMeasurements::getOrCreateNamespaceInfo(), and nfd::fw::RetxSuppressionExponential::incrementIntervalForOutRecord().
|
inline |
erase a StrategyInfo item
T | type of StrategyInfo, must be a subclass of fw::StrategyInfo |
Definition at line 82 of file strategy-info-host.hpp.
References clearStrategyInfo().
void nfd::StrategyInfoHost::clearStrategyInfo | ( | ) |
clear all StrategyInfo items
Definition at line 31 of file strategy-info-host.cpp.
Referenced by nfd::strategy_choice::clearStrategyInfo(), and eraseStrategyInfo().