From f4d7bf791d677cbff05c8ee12fe1d3b5a922373f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 30 Nov 2012 23:33:57 -0800 Subject: messing w/ pop_input_msg call --- include/gras/block.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/gras/block.hpp b/include/gras/block.hpp index 4c09cac..68bd051 100644 --- a/include/gras/block.hpp +++ b/include/gras/block.hpp @@ -162,6 +162,15 @@ struct GRAS_API Block : Element */ void erase_input_tags(const size_t which_input); + /*! + * Pop input message convenience routine. + * This routine reads the first input tag, + * and erases this tag from the given port. + * The intention is to simplify the use case + * for using this for port messages only. + */ + Tag pop_input_msg(const size_t which_input); + /*! * Overload me to implement custom tag propagation logic: * -- cgit