NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
transform-base.hpp File Reference
#include "ndn-cxx/detail/common.hpp"
#include <vector>
Include dependency graph for transform-base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::security::transform::Error
 Base class of transformation error. More...
 
class  ndn::security::transform::Downstream
 The downstream interface of a transformation module. More...
 
class  ndn::security::transform::Upstream
 The upstream interface of a transformation module. More...
 
class  ndn::security::transform::Transform
 Abstraction of an intermediate transformation module. More...
 
class  ndn::security::transform::Sink
 Abstraction of the transformation sink module. More...
 
class  ndn::security::transform::Source
 Abstraction of the transformation source module. More...
 

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::security
 
 ndn::security::transform
 

Detailed Description

There are three types of module in a transformation chain: Source, Transform, and Sink. The ideal usage of the transformation would be:

source(...) >> transform1(...) >> transform2(...) >> sink(...);

When error happens in a module, the module will throw out a transform::Error, one can get the location of the module through the getIndex() method of transform::Error.

Definition in file transform-base.hpp.