Project

General

Profile

Actions

Feature #2410

closed

Strategy: register with macro

Added by Junxiao Shi over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Forwarding
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Design a NFD_FW_REGISTER_STRATEGY macro to register an available built-in strategy, such as:

NFD_FW_REGISTER_STRATEGY(BroadcastStrategy);

so that adding a new strategy won't require modifying available-strategies.cpp.

Actions

Also available in: Atom PDF