diff options
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/add_const_ss.h')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/add_const_ss.h | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/add_const_ss.h b/gr-blocks/include/gnuradio/blocks/add_const_ss.h index f9beee1b7b..cfb4c353ab 100644 --- a/gr-blocks/include/gnuradio/blocks/add_const_ss.h +++ b/gr-blocks/include/gnuradio/blocks/add_const_ss.h @@ -27,37 +27,36 @@ #include <gnuradio/sync_block.h> namespace gr { - namespace blocks { +namespace blocks { + +/*! + * \brief output = input + constant + * \ingroup math_operators_blk + */ +class BLOCKS_API add_const_ss : virtual public sync_block +{ +public: + // gr::blocks::add_const_ss::sptr + typedef boost::shared_ptr<add_const_ss> sptr; + + /*! + * \brief Create an instance of add_const_ss + * \param k additive constant + */ + static sptr make(short k); /*! - * \brief output = input + constant - * \ingroup math_operators_blk + * \brief Return additive constant */ - class BLOCKS_API add_const_ss : virtual public sync_block - { - public: - - // gr::blocks::add_const_ss::sptr - typedef boost::shared_ptr<add_const_ss> sptr; - - /*! - * \brief Create an instance of add_const_ss - * \param k additive constant - */ - static sptr make(short k); - - /*! - * \brief Return additive constant - */ - virtual short k() const = 0; - - /*! - * \brief Set additive constant - */ - virtual void set_k(short k) = 0; - }; - - } -} + virtual short k() const = 0; + + /*! + * \brief Set additive constant + */ + virtual void set_k(short k) = 0; +}; + +} // namespace blocks +} // namespace gr #endif /* ADD_CONST_SS */ |