Abstraction of the transformation source module. More...
#include <ndn-cxx/security/transform/transform-base.hpp>
Public Member Functions | |
void | operator>> (unique_ptr< Sink > sink) |
Connect to the last transformation module. More... | |
Source & | operator>> (unique_ptr< Transform > transform) |
Connect to an intermediate transformation module. More... | |
Protected Member Functions | |
Source ()=default | |
void | appendChain (unique_ptr< Downstream > tail) |
Connect to the 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 the constructor.
Definition at line 278 of file transform-base.hpp.
|
protecteddefault |
|
protectedinherited |
Connect to the next transformation module.
Definition at line 56 of file transform-base.cpp.
|
inlineprotected |
Get the source module index (should always be 0).
Definition at line 308 of file transform-base.hpp.
|
inlineprotectedinherited |
Definition at line 168 of file transform-base.hpp.
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 151 of file transform-base.cpp.
Connect to an intermediate transformation module.
Definition at line 141 of file transform-base.cpp.
|
protected |
Pump all data into next transformation module.
Definition at line 135 of file transform-base.cpp.
|
protectedinherited |
Definition at line 174 of file transform-base.hpp.