From 8b714226a0c73ccb458707126d73bae752186db6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 13 Nov 2012 20:52:53 -0800 Subject: created API for passive work-flow --- lib/gras_impl/block_actor.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/gras_impl') diff --git a/lib/gras_impl/block_actor.hpp b/lib/gras_impl/block_actor.hpp index 42a05a7..6e2903b 100644 --- a/lib/gras_impl/block_actor.hpp +++ b/lib/gras_impl/block_actor.hpp @@ -92,6 +92,8 @@ struct BlockActor : Apology::Worker void trim_tags(const size_t index); void produce(const size_t index, const size_t items); void consume(const size_t index, const size_t items); + void produce_buffer(const size_t index, const SBuffer &buffer); + GRAS_FORCE_INLINE bool any_inputs_done(void) { if (this->inputs_done.none() or this->input_queues.all_ready()) return false; -- cgit