28 #ifndef INCLUDED_BAZ_AUTO_BER_BF_H 29 #define INCLUDED_BAZ_AUTO_BER_BF_H 31 #include <gnuradio/sync_block.h> 34 #include <boost/unordered_map.hpp> 50 typedef boost::shared_ptr<baz_auto_ber_bf> baz_auto_ber_bf_sptr;
61 namespace gr {
namespace digital {
81 gr::digital::glfsr* d_glfsr;
82 int d_glfsr_length, d_glfsr_rounded_length;
84 typedef boost::unordered_map<uint64_t, int> SyncMap;
85 SyncMap d_sync_map, d_dupe_map;
86 std::vector<uint64_t> d_sync_list;
87 uint64_t d_current_word;
88 int d_sync_bit_length;
98 int work (
int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
class BAZ_API baz_auto_ber_bf
Definition: baz_auto_ber_bf.h:37
square2 a stream of floats.This uses the preferred technique: subclassing gr::sync_block.
Definition: baz_auto_ber_bf.h:71
Definition: baz_additive_scrambler_bb.h:28
#define BAZ_API
Definition: config.h:8
BAZ_API baz_auto_ber_bf_sptr baz_make_auto_ber_bf(int degree, int sync_bits, int sync_decim)
Return a shared_ptr to a new instance of baz_auto_ber_bf.