33 typename std::enable_if<std::is_base_of<Sink<T>, O>::value, std::shared_ptr<O>>::type
36 std::shared_ptr<O> sink)
45 typename std::enable_if<std::is_base_of<QueueDemux<T>, O>::value, std::shared_ptr<O>>::type
49 std::shared_ptr<O> sink)
51 sink->addSource(std::get<0>(observed_queue), std::get<1>(observed_queue));
67 class =
typename std::enable_if<std::is_base_of<Source<T>, O>::value, std::shared_ptr<O>>::type>
69 std::shared_ptr<O> source,
std::enable_if< std::is_base_of< Sink< O >, T >::value, std::shared_ptr< T > >::type setSink(std::shared_ptr< T > sink)
std::enable_if< std::is_base_of< Sink< T >, O >::value, std::shared_ptr< O > >::type operator>>(OutputStage< T > &output_stage, std::shared_ptr< O > sink)