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 276 of file transform-base.hpp.
|
protecteddefault |
|
protectedinherited |
Connect to the next transformation module.
Definition at line 54 of file transform-base.cpp.
|
inlineprotected |
Get the source module index (should always be 0).
Definition at line 306 of file transform-base.hpp.
|
inlineprotectedinherited |
Definition at line 166 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 149 of file transform-base.cpp.
Connect to an intermediate transformation module.
Definition at line 139 of file transform-base.cpp.
|
protected |
Pump all data into next transformation module.
Definition at line 133 of file transform-base.cpp.
|
protectedinherited |
Definition at line 172 of file transform-base.hpp.