diff options
author | Tom Rondeau | 2011-09-21 10:34:39 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-09-21 10:34:39 -0400 |
commit | d44d733a5fc8dfc2700b26013c68ebc65a7ff8c3 (patch) | |
tree | d3b085832614304420d7a159d2df138081be057a /gnuradio-core/src/lib/general | |
parent | efe4b714c067348d54b64a572e5309bea5765674 (diff) | |
download | gnuradio-d44d733a5fc8dfc2700b26013c68ebc65a7ff8c3.tar.gz gnuradio-d44d733a5fc8dfc2700b26013c68ebc65a7ff8c3.tar.bz2 gnuradio-d44d733a5fc8dfc2700b26013c68ebc65a7ff8c3.zip |
core: Doxygen comments for added tag name parameter.
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h b/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h index 06dd4ca02..1067bbc56 100644 --- a/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h +++ b/gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h @@ -32,9 +32,11 @@ typedef boost::shared_ptr<gr_correlate_access_code_tag_bb> gr_correlate_access_c /*! * \param access_code is represented with 1 byte per bit, e.g., "010101010111000100" * \param threshold maximum number of bits that may be wrong + * \param tag_name key of the tag inserted into the tag stream */ gr_correlate_access_code_tag_bb_sptr -gr_make_correlate_access_code_tag_bb (const std::string &access_code, int threshold, const std::string &tag_name); +gr_make_correlate_access_code_tag_bb (const std::string &access_code, int threshold, + const std::string &tag_name); /*! * \brief Examine input for specified access code, one bit at a time. @@ -43,13 +45,15 @@ gr_make_correlate_access_code_tag_bb (const std::string &access_code, int thresh * input: stream of bits, 1 bit per input byte (data in LSB) * output: unaltered stream of bits (plus tags) * - * This block annotates the input stream with tags. The tags have key name [tag_name], - * specified in the constructor. Used for searching an input data stream for preambles, etc. + * This block annotates the input stream with tags. The tags have key + * name [tag_name], specified in the constructor. Used for searching + * an input data stream for preambles, etc. */ class gr_correlate_access_code_tag_bb : public gr_sync_block { friend gr_correlate_access_code_tag_bb_sptr - gr_make_correlate_access_code_tag_bb (const std::string &access_code, int threshold, const std::string &tag_name); + gr_make_correlate_access_code_tag_bb (const std::string &access_code, int threshold, + const std::string &tag_name); private: unsigned long long d_access_code; // access code to locate start of packet // access code is left justified in the word @@ -62,7 +66,8 @@ class gr_correlate_access_code_tag_bb : public gr_sync_block pmt::pmt_t d_key, d_me; //d_key is the tag name, d_me is the block name + unique ID protected: - gr_correlate_access_code_tag_bb(const std::string &access_code, int threshold, const std::string &tag_name); + gr_correlate_access_code_tag_bb(const std::string &access_code, int threshold, + const std::string &tag_name); public: ~gr_correlate_access_code_tag_bb(); |