NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
strategy.hpp File Reference
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

class  nfd::fw::Strategy
 represents a forwarding strategy More...
 
struct  nfd::fw::Strategy::ParsedInstanceName
 

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 
 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 445 of file strategy.hpp.