Abstraction of the transformation source module. More...
#include <ndn-cxx/security/transform/transform-base.hpp>
Public Member Functions | |
Source & | operator>> (unique_ptr< Transform > transform) |
Connect to an intermediate transformation module. More... | |
void | operator>> (unique_ptr< Sink > sink) |
Connect to the last transformation module. More... | |
Protected Member Functions | |
Source () | |
void | appendChain (unique_ptr< Downstream > tail) |
connect to next transformation module More... | |
size_t | getIndex () const |
Get the source module index (should always be 0). More... | |
Downstream * | getNext () |
void | pump () |
Pump all data into next transformation module. More... | |
Protected Attributes | |
unique_ptr< Downstream > | m_next |
Abstraction of the transformation source module.
This module can only accept input data from constructor
Definition at line 289 of file transform-base.hpp.
|
protected |
Definition at line 154 of file transform-base.cpp.
|
protectedinherited |
connect to next transformation module
Definition at line 67 of file transform-base.cpp.
|
inlineprotected |
Get the source module index (should always be 0).
Definition at line 320 of file transform-base.hpp.
|
inlineprotectedinherited |
Definition at line 174 of file transform-base.hpp.
Connect to an intermediate transformation module.
Definition at line 166 of file transform-base.cpp.
void ndn::security::transform::Source::operator>> | ( | unique_ptr< Sink > | sink | ) |
Connect to the last transformation module.
This method will trigger the source to pump data into the transformation pipeline.
Definition at line 176 of file transform-base.cpp.
|
protected |
Pump all data into next transformation module.
Definition at line 160 of file transform-base.cpp.
|
protectedinherited |
Definition at line 180 of file transform-base.hpp.