diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2019-08-07 21:45:12 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-08-09 23:04:28 +0200 |
commit | f7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch) | |
tree | e09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-blocks/include/gnuradio/blocks/random_pdu.h | |
parent | 78431dc6941e3acc67c858277dfe4a0ed583643c (diff) |
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/random_pdu.h')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/random_pdu.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/random_pdu.h b/gr-blocks/include/gnuradio/blocks/random_pdu.h index 2f9e1bfd5e..6bbc506fe0 100644 --- a/gr-blocks/include/gnuradio/blocks/random_pdu.h +++ b/gr-blocks/include/gnuradio/blocks/random_pdu.h @@ -27,26 +27,27 @@ #include <gnuradio/block.h> namespace gr { - namespace blocks { +namespace blocks { + +/*! + * \brief Sends a random PDU at intervals + * \ingroup message_tools_blk + * \ingroup debug_tools_blk + */ +class BLOCKS_API random_pdu : virtual public block +{ +public: + // gr::blocks::random_pdu::sptr + typedef boost::shared_ptr<random_pdu> sptr; /*! - * \brief Sends a random PDU at intervals - * \ingroup message_tools_blk - * \ingroup debug_tools_blk + * \brief Construct a random PDU generator */ - class BLOCKS_API random_pdu : virtual public block - { - public: - // gr::blocks::random_pdu::sptr - typedef boost::shared_ptr<random_pdu> sptr; - - /*! - * \brief Construct a random PDU generator - */ - static sptr make(int mintime, int maxtime, unsigned char byte_mask = 0xFF, int length_modulo = 1); - }; + static sptr + make(int mintime, int maxtime, unsigned char byte_mask = 0xFF, int length_modulo = 1); +}; - } /* namespace blocks */ +} /* namespace blocks */ } /* namespace gr */ #endif /* INCLUDED_BLOCKS_RANDOM_PDU_H */ |