|
ndn-cxx: NDN C++ Library 0.9.0-33-g832ea91d
|
A source taking one or more memory buffers as input. More...
#include <ndn-cxx/security/transform/buffer-source.hpp>
Inheritance diagram for ndn::security::transform::BufferSource:
Collaboration diagram for ndn::security::transform::BufferSource:Public Member Functions | |
| BufferSource (InputBuffers buffers) | |
Take buffers as input. | |
| BufferSource (span< const uint8_t > buffer) | |
Take buffer as input. | |
| BufferSource (std::string_view string) | |
Take string as input. | |
| void | operator>> (unique_ptr< Sink > sink) |
| Connect to the last transformation module. | |
| Source & | operator>> (unique_ptr< Transform > transform) |
| Connect to an intermediate transformation module. | |
Protected Member Functions | |
| void | appendChain (unique_ptr< Downstream > tail) |
| Connect to the next transformation module. | |
| size_t | getIndex () const |
| Get the source module index (should always be 0). | |
| Downstream * | getNext () |
| void | pump () |
| Pump all data into next transformation module. | |
Protected Attributes | |
| unique_ptr< Downstream > | m_next |
A source taking one or more memory buffers as input.
Definition at line 33 of file buffer-source.hpp.
|
explicit |
Take buffer as input.
Caller must not destroy the buffer before the transformation is completed.
Definition at line 26 of file buffer-source.cpp.
|
explicit |
Take string as input.
Caller must not destroy the string before the transformation is completed.
Definition at line 31 of file buffer-source.cpp.
|
explicit |
Take buffers as input.
Caller must not destroy any of the input buffers before the transformation is completed.
Definition at line 36 of file buffer-source.cpp.
|
protectedinherited |
Connect to the next transformation module.
Definition at line 54 of file transform-base.cpp.
|
inlineprotectedinherited |
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.
|
inherited |
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.
|
inherited |
Connect to an intermediate transformation module.
Definition at line 139 of file transform-base.cpp.
|
protectedinherited |
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.