summaryrefslogtreecommitdiff
path: root/gr-digital/lib/corr_est_cc_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/corr_est_cc_impl.h')
-rw-r--r--gr-digital/lib/corr_est_cc_impl.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/gr-digital/lib/corr_est_cc_impl.h b/gr-digital/lib/corr_est_cc_impl.h
index 83b5db60e1..6e8dd17083 100644
--- a/gr-digital/lib/corr_est_cc_impl.h
+++ b/gr-digital/lib/corr_est_cc_impl.h
@@ -37,13 +37,16 @@ namespace gr {
pmt::pmt_t d_src_id;
std::vector<gr_complex> d_symbols;
float d_sps;
- unsigned int d_mark_delay;
- float d_thresh;
+ unsigned int d_mark_delay, d_stashed_mark_delay;
+ float d_thresh, d_stashed_threshold;
kernel::fft_filter_ccc *d_filter;
gr_complex *d_corr;
float *d_corr_mag;
+ void _set_mark_delay(unsigned int mark_delay);
+ void _set_threshold(float threshold);
+
public:
corr_est_cc_impl(const std::vector<gr_complex> &symbols,
float sps, unsigned int mark_delay,
@@ -53,6 +56,12 @@ namespace gr {
std::vector<gr_complex> symbols() const;
void set_symbols(const std::vector<gr_complex> &symbols);
+ unsigned int mark_delay() const;
+ void set_mark_delay(unsigned int mark_delay);
+
+ float threshold() const;
+ void set_threshold(float threshold);
+
int work(int noutput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);