cs-policy.hpp File Reference
#include "cs-entry.hpp"
#include <functional>
#include <map>
#include <set>
+ 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
 -status-http-server
 
 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 222 of file cs-policy.hpp.