#include "face/face.hpp"
#include <functional>
#include <map>
#include <set>
Go to the source code of this file.
◆ NFD_REGISTER_UNSOLICITED_DATA_POLICY
#define NFD_REGISTER_UNSOLICITED_DATA_POLICY |
( |
|
P | ) |
|
Value:static class NfdAuto ## P ## UnsolicitedDataPolicyRegistrationClass \
{ \
public: \
NfdAuto ## P ## UnsolicitedDataPolicyRegistrationClass() \
{ \
::nfd::fw::UnsolicitedDataPolicy::registerPolicy<P>(); \
} \
} g_nfdAuto ## P ## UnsolicitedDataPolicyRegistrationVariable
Registers an unsolicited data policy.
- Parameters
-
P | A subclass of nfd::fw::UnsolicitedDataPolicy. P must have a static const data member POLICY_NAME convertible to std::string_view that contains the policy name. |
Definition at line 157 of file unsolicited-data-policy.hpp.