NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
protocol-factory.hpp File Reference
#include "channel.hpp"
#include "face-system.hpp"
#include <boost/range/adaptor/map.hpp>
#include <boost/range/algorithm/copy.hpp>
#include <ndn-cxx/encoding/nfd-constants.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::CreateFaceParams
 Parameters to ProtocolFactory::createFace. 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

#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 .cpp of each protocol factory.

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