summaryrefslogtreecommitdiff
path: root/include/gnuradio
diff options
context:
space:
mode:
authorJosh Blum2012-09-26 10:19:26 -0400
committerJosh Blum2012-09-26 10:19:26 -0400
commit0aec712e35b937479b99b6486f91fc182217b1a9 (patch)
tree62bfdbc1514b86619ca233a7126a98a0039210ba /include/gnuradio
parent0387b43c9c6ea549db06dec3a9412126ad6e7ea1 (diff)
downloadsandhi-0aec712e35b937479b99b6486f91fc182217b1a9.tar.gz
sandhi-0aec712e35b937479b99b6486f91fc182217b1a9.tar.bz2
sandhi-0aec712e35b937479b99b6486f91fc182217b1a9.zip
update some of the sbuffer docstrings
Diffstat (limited to 'include/gnuradio')
-rw-r--r--include/gnuradio/sbuffer.hpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/gnuradio/sbuffer.hpp b/include/gnuradio/sbuffer.hpp
index 9984e81..f41c81f 100644
--- a/include/gnuradio/sbuffer.hpp
+++ b/include/gnuradio/sbuffer.hpp
@@ -91,11 +91,15 @@ struct GRAS_API SBufferConfig
* When the parent object deconstructs, the weak pointer will die,
* and the normal buffer cleanup/freeing/deconstruction will happen.
*
- * Length and memory usage:
- * Length and memory are intentionally references
- * so that they can be modified (carefully).
- * The user may do this to pass a subset of the memory.
- * Using the token causes a reset of these values.
+ * Length and offset usage:
+ * Length and offset are intentionally object members
+ * and not part of the ref-counted intrusive_ptr guts.
+ * These members should be modified carefully
+ * to pass a subset of the memory downstream.
+ *
+ * Length and offset recommendation:
+ * These values should probably be reset by the
+ * bound token or when a fresh buffer is popped.
*/
struct GRAS_API SBuffer : boost::intrusive_ptr<SBufferImpl>
{