summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authorJosh Blum2011-09-22 12:51:09 -0700
committerJosh Blum2011-09-22 12:51:09 -0700
commit942fa1c2e226ac00ac8ac0d8ca1538f7015d0c5a (patch)
tree26f36e48a5fe9a23afd310f952c217989292006e /gnuradio-core/src
parentbb98061115a2c7299fb24ed90ba48786118bf32e (diff)
parent4059269b4261c891923658a6faa0fa780888449b (diff)
downloadgnuradio-942fa1c2e226ac00ac8ac0d8ca1538f7015d0c5a.tar.gz
gnuradio-942fa1c2e226ac00ac8ac0d8ca1538f7015d0c5a.tar.bz2
gnuradio-942fa1c2e226ac00ac8ac0d8ca1538f7015d0c5a.zip
Merge branch 'next' of gnuradio.org:gnuradio into next
Conflicts: gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h volk/bootstrap
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h15
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 7c203fefe..e543f5cfb 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
@@ -33,9 +33,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_CORE_API 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.
@@ -44,13 +46,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_CORE_API gr_correlate_access_code_tag_bb : public gr_sync_block
{
friend GR_CORE_API 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
@@ -63,7 +67,8 @@ class GR_CORE_API 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();