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 449 of file strategy.hpp.