NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
protocol-factory.hpp File Reference
#include "channel.hpp"
#include "face.hpp"
#include "face-system.hpp"
#include <boost/range/adaptor/map.hpp>
#include <boost/range/algorithm/copy.hpp>
Include dependency graph for protocol-factory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nfd::face::ProtocolFactoryCtorParams
 Parameters to ProtocolFactory constructor. More...
 
class  nfd::face::ProtocolFactory
 Provides support for an underlying protocol. More...
 
class  nfd::face::ProtocolFactory::Error
 Base class for all exceptions thrown by ProtocolFactory subclasses. More...
 
struct  nfd::face::ProtocolFactory::CreateFaceRequest
 Encapsulates a face creation request and all its parameters. More...
 

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 
 nfd::face
 

Macros

#define NFD_REGISTER_PROTOCOL_FACTORY(PF)
 Registers a protocol factory. More...
 

Macro Definition Documentation

◆ NFD_REGISTER_PROTOCOL_FACTORY

#define NFD_REGISTER_PROTOCOL_FACTORY (   PF)
Value:
static class NfdAuto ## PF ## ProtocolFactoryRegistrationClass \
{ \
public: \
NfdAuto ## PF ## ProtocolFactoryRegistrationClass() \
{ \
::nfd::face::ProtocolFactory::registerType<PF>(); \
} \
} g_nfdAuto ## PF ## ProtocolFactoryRegistrationVariable

Registers a protocol factory.

This macro should appear once in the .cpp file of each protocol factory.

Definition at line 257 of file protocol-factory.hpp.