NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
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
 Copyright (c) 2011-2015 Regents of the University of California.
 
 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 215 of file cs-policy.hpp.