diff options
Diffstat (limited to 'include/gras/block.i')
-rw-r--r-- | include/gras/block.i | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gras/block.i b/include/gras/block.i index 8e1a635..cce0d15 100644 --- a/include/gras/block.i +++ b/include/gras/block.i @@ -26,6 +26,15 @@ def get(self, key): return self._get_property(key)() + + def post_output_msg(self, which_output, value): + if not isinstance(value, PMCC): value = PMC_M(value) + self._post_output_msg(which_output, value) + + def post_input_msg(self, which_input, value): + if not isinstance(value, PMCC): value = PMC_M(value) + self._post_input_msg(which_input, value) + %} } |