summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/stream_to_vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/stream_to_vector.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/stream_to_vector.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/stream_to_vector.h b/gr-blocks/include/gnuradio/blocks/stream_to_vector.h
index ca96bdd7fe..616b2d571e 100644
--- a/gr-blocks/include/gnuradio/blocks/stream_to_vector.h
+++ b/gr-blocks/include/gnuradio/blocks/stream_to_vector.h
@@ -27,28 +27,28 @@
#include <gnuradio/sync_decimator.h>
namespace gr {
- namespace blocks {
+namespace blocks {
+
+/*!
+ * \brief convert a stream of items into a stream of gnuradio/blocks containing
+ * nitems_per_block \ingroup stream_operators_blk
+ */
+class BLOCKS_API stream_to_vector : virtual public sync_decimator
+{
+public:
+ // gr::blocks::stream_to_vector::sptr
+ typedef boost::shared_ptr<stream_to_vector> sptr;
/*!
- * \brief convert a stream of items into a stream of gnuradio/blocks containing nitems_per_block
- * \ingroup stream_operators_blk
+ * Make a stream-to-vector block.
+ *
+ * \param itemsize the item size of the stream
+ * \param nitems_per_block number of items to put into each vector (vector size)
*/
- class BLOCKS_API stream_to_vector : virtual public sync_decimator
- {
- public:
- // gr::blocks::stream_to_vector::sptr
- typedef boost::shared_ptr<stream_to_vector> sptr;
-
- /*!
- * Make a stream-to-vector block.
- *
- * \param itemsize the item size of the stream
- * \param nitems_per_block number of items to put into each vector (vector size)
- */
- static sptr make(size_t itemsize, size_t nitems_per_block);
- };
+ static sptr make(size_t itemsize, size_t nitems_per_block);
+};
- } /* namespace blocks */
+} /* namespace blocks */
} /* namespace gr */
#endif /* INCLUDED_BLOCKS_STREAM_TO_VECTOR_H */