summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/add_const_ii.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/add_const_ii.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/add_const_ii.h57
1 files changed, 28 insertions, 29 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/add_const_ii.h b/gr-blocks/include/gnuradio/blocks/add_const_ii.h
index 246902caf4..341d44d0bb 100644
--- a/gr-blocks/include/gnuradio/blocks/add_const_ii.h
+++ b/gr-blocks/include/gnuradio/blocks/add_const_ii.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_ii : virtual public sync_block
+{
+public:
+ // gr::blocks::add_const_ii::sptr
+ typedef boost::shared_ptr<add_const_ii> sptr;
+
+ /*!
+ * \brief Create an instance of add_const_ii
+ * \param k additive constant
+ */
+ static sptr make(int k);
/*!
- * \brief output = input + constant
- * \ingroup math_operators_blk
+ * \brief Return additive constant
*/
- class BLOCKS_API add_const_ii : virtual public sync_block
- {
- public:
-
- // gr::blocks::add_const_ii::sptr
- typedef boost::shared_ptr<add_const_ii> sptr;
-
- /*!
- * \brief Create an instance of add_const_ii
- * \param k additive constant
- */
- static sptr make(int k);
-
- /*!
- * \brief Return additive constant
- */
- virtual int k() const = 0;
-
- /*!
- * \brief Set additive constant
- */
- virtual void set_k(int k) = 0;
- };
-
- }
-}
+ virtual int k() const = 0;
+
+ /*!
+ * \brief Set additive constant
+ */
+ virtual void set_k(int k) = 0;
+};
+
+} // namespace blocks
+} // namespace gr
#endif /* ADD_CONST_II */