cs-policy.hpp File Reference
#include "cs-entry.hpp"
+ Include dependency graph for cs-policy.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfd::cs::Policy
 Represents a CS replacement policy. More...
 

Namespaces

 nfd
 
 nfd::cs
 

Macros

#define NFD_REGISTER_CS_POLICY(P)
 Registers a CS policy. More...
 

Macro Definition Documentation

◆ NFD_REGISTER_CS_POLICY

#define NFD_REGISTER_CS_POLICY (   P)
Value:
static class NfdAuto ## P ## CsPolicyRegistrationClass \
{ \
public: \
NfdAuto ## P ## CsPolicyRegistrationClass() \
{ \
::nfd::cs::Policy::registerPolicy<P>(); \
} \
} g_nfdAuto ## P ## CsPolicyRegistrationVariable

Registers a CS policy.

Parameters
Pa subclass of nfd::cs::Policy

Definition at line 218 of file cs-policy.hpp.