diff options
author | Josh Blum | 2012-11-30 23:33:57 -0800 |
---|---|---|
committer | Josh Blum | 2012-11-30 23:33:57 -0800 |
commit | f4d7bf791d677cbff05c8ee12fe1d3b5a922373f (patch) | |
tree | 5d062b0c652d474b0e282689ee3a101eea649f1d /include | |
parent | 0dea1563a4e13bd6081acc2ed5f4c611bdfbb9af (diff) | |
download | sandhi-f4d7bf791d677cbff05c8ee12fe1d3b5a922373f.tar.gz sandhi-f4d7bf791d677cbff05c8ee12fe1d3b5a922373f.tar.bz2 sandhi-f4d7bf791d677cbff05c8ee12fe1d3b5a922373f.zip |
messing w/ pop_input_msg call
Diffstat (limited to 'include')
-rw-r--r-- | include/gras/block.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -163,6 +163,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: * * Propagate tags will be given an iterator for all input tags |