iopipe.valve

Valve mechanism to allow manipulation of wrapped iopipe pieces.

Members

Functions

push
auto push(Chain c)

Convenience mechanism to wrap a specified output pipeline with a holding loop. It avoids having to explicitly specify the loop begin and end.

simpleValve
auto simpleValve(Chain chain)

Create a simple valve in an iopipe chain.

valveOf
auto valveOf(Chain pipe)

Go down the chain of valves until you find a valve of the given type. This is useful if you know there is a pipe you are looking for in the chain of valves.

Templates

autoFlush
template autoFlush(Chain)
Undocumented in source.
holdingLoop
template holdingLoop(Chain)

Create an auto-flushing valve loop. This is for use with a chain where the next valve is a holding valve. What this does is automatically run the outlet of the holding valve so it seamlessly flushes all data when required.

holdingValve
template holdingValve(Chain)

Create a valve that uses a holding location to pass data from the inlet to the outlet.

Meta

License

Boost License 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Authors

Steven Schveighoffer