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::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::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.
|
inline |
Clear all StrategyInfo items.
Definition at line 93 of file strategy-info-host.hpp.
Referenced by nfd::strategy_choice::clearStrategyInfo().