Commit 903add4f authored by Dominik Charousset's avatar Dominik Charousset

Construct output streams from any stream manager

parent 9b13c34b
...@@ -60,6 +60,14 @@ public: ...@@ -60,6 +60,14 @@ public:
// nop // nop
} }
output_stream(stream_slot in_slot, stream_slot out_slot,
stream_manager_ptr mgr)
: in_(in_slot),
out_(out_slot),
ptr_(std::move(mgr)) {
// nop
}
// -- properties ------------------------------------------------------------- // -- properties -------------------------------------------------------------
/// Returns the slot of the origin stream if `ptr()` is a stage or 0 if /// Returns the slot of the origin stream if `ptr()` is a stage or 0 if
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment