diff options
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/float_to_uchar.h')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/float_to_uchar.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/float_to_uchar.h b/gr-blocks/include/gnuradio/blocks/float_to_uchar.h index 26189ac981..2d9f3afc02 100644 --- a/gr-blocks/include/gnuradio/blocks/float_to_uchar.h +++ b/gr-blocks/include/gnuradio/blocks/float_to_uchar.h @@ -27,26 +27,25 @@ #include <gnuradio/sync_block.h> namespace gr { - namespace blocks { +namespace blocks { + +/*! + * \brief Convert stream of floats to a stream of unsigned chars + * \ingroup type_converters_blk + */ +class BLOCKS_API float_to_uchar : virtual public sync_block +{ +public: + // gr::blocks::float_to_uchar_ff::sptr + typedef boost::shared_ptr<float_to_uchar> sptr; /*! - * \brief Convert stream of floats to a stream of unsigned chars - * \ingroup type_converters_blk + * Build a float to uchar block. */ - class BLOCKS_API float_to_uchar : virtual public sync_block - { - public: - - // gr::blocks::float_to_uchar_ff::sptr - typedef boost::shared_ptr<float_to_uchar> sptr; - - /*! - * Build a float to uchar block. - */ - static sptr make(); - }; + static sptr make(); +}; - } /* namespace blocks */ +} /* namespace blocks */ } /* namespace gr */ #endif /* INCLUDED_BLOCKS_FLOAT_TO_UCHAR_H */ |