WindowsPipeSource

From Crypto++ Wiki
Jump to navigation Jump to search
WindowsPipeSource
Documentation
#include <cryptopp/filters.h>

In the Pipelining paradigm, WindowsPipeSource is an object that allows data to flow from a Windows pipe into a Filter chain. The counterpart to a WindowsPipeSource is a WindowsPipeSink.

The WindowsPipeSource takes a pointer to a BufferedTransformation. Because a pointer is taken, the WindowsPipeSource owns the attached transformation, and therefore will destroy it. See ownership for more details.

WindowsPipeSource was removed from the library at Crypto++ 7.0. The classes were preserved and are still available through a little copy and paste. Also see Sockets and Threads on the Crypto++ wiki.

Sources, filters and sinks are discussed at Pipelining. The pipeline article explains the design and shows you how to use them.