diff options
-rw-r--r-- | gnuradio-core/src/lib/general/CMakeLists.txt | 1 | ||||
-rw-r--r-- | gnuradio-core/src/lib/general/gr_correlate_access_code_tag_bb.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gnuradio-core/src/lib/general/CMakeLists.txt b/gnuradio-core/src/lib/general/CMakeLists.txt index d9e635347..83f8dc6eb 100644 --- a/gnuradio-core/src/lib/general/CMakeLists.txt +++ b/gnuradio-core/src/lib/general/CMakeLists.txt @@ -295,6 +295,7 @@ SET(gr_core_general_triple_threats gr_annotator_alltoall gr_annotator_1to1 gr_burst_tagger + gr_correlate_access_code_tag_bb ) FOREACH(file_tt ${gr_core_general_triple_threats}) 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..7c203fefe 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 @@ -23,6 +23,7 @@ #ifndef INCLUDED_gr_correlate_access_code_tag_bb_H #define INCLUDED_gr_correlate_access_code_tag_bb_H +#include <gr_core_api.h> #include <gr_sync_block.h> #include <string> @@ -33,7 +34,7 @@ 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 */ -gr_correlate_access_code_tag_bb_sptr +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); /*! @@ -46,9 +47,9 @@ gr_make_correlate_access_code_tag_bb (const std::string &access_code, int thresh * 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 +class GR_CORE_API gr_correlate_access_code_tag_bb : public gr_sync_block { - friend gr_correlate_access_code_tag_bb_sptr + 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); private: unsigned long long d_access_code; // access code to locate start of packet |