Go to the source code of this file.
|
| nfd |
| Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
|
|
| nfd::fw |
|
#define NFD_REGISTER_STRATEGY |
( |
|
StrategyType | ) |
|
Value:static class NfdAuto ## StrategyType ## StrategyRegistrationClass \
{ \
public: \
NfdAuto ## StrategyType ## StrategyRegistrationClass() \
{ \
::nfd::fw::registerStrategy<StrategyType>(); \
} \
} g_nfdAuto ## StrategyType ## StrategyRegistrationVariable
registers a built-in strategy
This macro should appear once in .cpp of each built-in strategy.
Definition at line 65 of file strategy-registry.hpp.