strategy.hpp File Reference
#include "forwarder.hpp"
#include "table/measurements-accessor.hpp"
#include <boost/lexical_cast/try_lexical_convert.hpp>
+ Include dependency graph for strategy.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nfd::fw::Strategy::ParsedInstanceName
 
class  nfd::fw::Strategy
 Base class of all forwarding strategies. More...
 
class  nfd::fw::StrategyParameters
 

Namespaces

 nfd
 
 nfd::fw
 

Macros

#define NFD_REGISTER_STRATEGY(S)
 Registers a strategy. More...
 

Macro Definition Documentation

◆ NFD_REGISTER_STRATEGY

#define NFD_REGISTER_STRATEGY (   S)
Value:
static class NfdAuto ## S ## StrategyRegistrationClass \
{ \
public: \
NfdAuto ## S ## StrategyRegistrationClass() \
{ \
::nfd::fw::Strategy::registerType<S>(); \
} \
} g_nfdAuto ## S ## StrategyRegistrationVariable

Registers a strategy.

This macro should appear once in .cpp of each strategy.

Definition at line 497 of file strategy.hpp.