28 #ifndef INCLUDED_BAZ_MANCHESTER_DECODE_BB_H 29 #define INCLUDED_BAZ_MANCHESTER_DECODE_BB_H 31 #include <gnuradio/sync_block.h> 47 typedef boost::shared_ptr<baz_manchester_decode_bb> baz_manchester_decode_bb_sptr;
74 bool d_original, d_verbose, d_show_bits;
75 int d_threshold, d_window;
76 int d_current_window, d_violation_count;
78 std::deque<bool> d_violation_history;
79 int d_violation_total_count;
89 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
90 int general_work (
int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
#define BAZ_API
Definition: config.h:8
square2 a stream of floats.This uses the preferred technique: subclassing gr::sync_block.
Definition: baz_manchester_decode_bb.h:64
class BAZ_API baz_manchester_decode_bb
Definition: baz_manchester_decode_bb.h:34
BAZ_API baz_manchester_decode_bb_sptr baz_make_manchester_decode_bb(bool original, int threshold, int window, bool verbose=false, bool show_bits=false)
Return a shared_ptr to a new instance of baz_manchester_decode_bb.