diff options
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 */ |