summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime/gr_block.h
diff options
context:
space:
mode:
authorTom Rondeau2010-11-08 19:20:19 -0500
committerTom Rondeau2010-11-08 19:20:19 -0500
commit75c9c767079868b1c938fbb9a8c5522a60f28c96 (patch)
tree290917d832d1668aca1d212ea2253543d834c5e8 /gnuradio-core/src/lib/runtime/gr_block.h
parent23285af07c88890daea3c9da011f983ae0e0da2d (diff)
downloadgnuradio-75c9c767079868b1c938fbb9a8c5522a60f28c96.tar.gz
gnuradio-75c9c767079868b1c938fbb9a8c5522a60f28c96.tar.bz2
gnuradio-75c9c767079868b1c938fbb9a8c5522a60f28c96.zip
cleaning up; comments, naming, typos, excess code, etc. Moving to make gr_block_executor more readable.
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_block.h')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block.h b/gnuradio-core/src/lib/runtime/gr_block.h
index e278e8e9c..be39a7b95 100644
--- a/gnuradio-core/src/lib/runtime/gr_block.h
+++ b/gnuradio-core/src/lib/runtime/gr_block.h
@@ -25,12 +25,6 @@
#include <gr_basic_block.h>
-enum {
- TAGS_NONE = 0,
- TAGS_ALL_TO_ALL = 1,
- TAGS_ONE_TO_ONE = 2
-};
-
/*!
* \brief The abstract base class for all 'terminal' processing blocks.
* \ingroup base_blk
@@ -69,6 +63,12 @@ class gr_block : public gr_basic_block {
WORK_DONE = -1
};
+ enum TAG_PROPOGATION_POLICY {
+ TPP_DONT = 0,
+ TPP_ALL_TO_ALL = 1,
+ TPP_ONE_TO_ONE = 2
+ };
+
virtual ~gr_block ();
/*!
@@ -247,12 +247,10 @@ class gr_block : public gr_basic_block {
/*!
* \brief Adds a new tag onto the given output buffer.
*
- * This is a call-through method to gr_block_detail.
- *
* \param which_ouput an integer of which output stream to attach the tag
* \param abs_offset a uint64 number of the absolute item number
* assicated with the tag. Can get from nitems_written.
- * \param key a PMT symbol holding the key name
+ * \param key the tag key as a PMT symbol
* \param value any PMT holding any value for the given key
* \param srcid optional source ID specifier; defaults to PMT_F
*/
@@ -265,8 +263,7 @@ class gr_block : public gr_basic_block {
/*!
* \brief Given a [start,end), returns a vector of all tags in the range.
*
- * Pass-through function to gr_block_detail. Range of counts is from
- * start to end-1.
+ * Range of counts is from start to end-1.
*
* Tags are tuples of:
* (item count, source id, key, value)
@@ -283,8 +280,7 @@ class gr_block : public gr_basic_block {
* \brief Given a [start,end), returns a vector of all tags in the range
* with a given key.
*
- * Pass-through function to gr_block_detail. Range of counts is from
- * start to end-1.
+ * Range of counts is from start to end-1.
*
* Tags are tuples of:
* (item count, source id, key, value)