diff options
Diffstat (limited to 'gr-qtgui/lib/time_sink_f_impl.h')
-rw-r--r-- | gr-qtgui/lib/time_sink_f_impl.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gr-qtgui/lib/time_sink_f_impl.h b/gr-qtgui/lib/time_sink_f_impl.h index 87ffe39850..7a203b742a 100644 --- a/gr-qtgui/lib/time_sink_f_impl.h +++ b/gr-qtgui/lib/time_sink_f_impl.h @@ -38,13 +38,13 @@ namespace gr { gr::thread::mutex d_mutex; - int d_size; + int d_size, d_buffer_size; double d_samp_rate; std::string d_name; int d_nconnections; - int d_index; - std::vector<double*> d_residbufs; + int d_index, d_start, d_end; + std::vector<double*> d_buffers; std::vector< std::vector<gr::tag_t> > d_tags; QWidget *d_parent; @@ -53,8 +53,6 @@ namespace gr { gr::high_res_timer_type d_update_time; gr::high_res_timer_type d_last_time; - void _npoints_resize(); - // Members used for triggering scope trigger_mode d_trigger_mode; trigger_slope d_trigger_slope; @@ -66,8 +64,13 @@ namespace gr { int d_trigger_count; int d_initial_delay; // used for limiting d_trigger_delay - bool _test_trigger_slope(const float *in) const; + void _reset(); + void _npoints_resize(); + void _adjust_tags(int adj); void _gui_update_trigger(); + void _test_trigger_tags(int nitems); + void _test_trigger_norm(int nitems, gr_vector_const_void_star inputs); + bool _test_trigger_slope(const float *in) const; public: time_sink_f_impl(int size, double samp_rate, @@ -90,7 +93,7 @@ namespace gr { void set_line_width(int which, int width); void set_line_style(int which, int style); void set_line_marker(int which, int marker); - void set_nsamps(const int newsize); + void set_nsamps(const int size); void set_samp_rate(const double samp_rate); void set_line_alpha(int which, double alpha); void set_trigger_mode(trigger_mode mode, trigger_slope slope, |