GNU Radio 3.7.1 C++ API
gr::qtgui::time_sink_c Class Reference

A graphical sink to display multiple signals in time. More...

#include <time_sink_c.h>

Inheritance diagram for gr::qtgui::time_sink_c:

List of all members.

Public Types

typedef boost::shared_ptr
< time_sink_c
sptr

Public Member Functions

virtual void exec_ ()=0
virtual PyObject * pyqwidget ()=0
virtual void set_y_axis (double min, double max)=0
virtual void set_update_time (double t)=0
virtual void set_title (const std::string &title)=0
virtual void set_line_label (int which, const std::string &label)=0
virtual void set_line_color (int which, const std::string &color)=0
virtual void set_line_width (int which, int width)=0
virtual void set_line_style (int which, int style)=0
virtual void set_line_marker (int which, int marker)=0
virtual void set_nsamps (const int newsize)=0
virtual void set_samp_rate (const double samp_rate)=0
virtual void set_line_alpha (int which, double alpha)=0
virtual std::string title ()=0
virtual std::string line_label (int which)=0
virtual std::string line_color (int which)=0
virtual int line_width (int which)=0
virtual int line_style (int which)=0
virtual int line_marker (int which)=0
virtual double line_alpha (int which)=0
virtual void set_size (int width, int height)=0
virtual void enable_menu (bool en=true)=0
virtual void enable_grid (bool en=true)=0
virtual void enable_autoscale (bool en=true)=0
virtual void enable_stem_plot (bool en=true)=0
virtual void enable_semilogx (bool en=true)=0
virtual void enable_semilogy (bool en=true)=0
virtual int nsamps () const =0
virtual void reset ()=0

Static Public Member Functions

static sptr make (int size, double samp_rate, const std::string &name, int nconnections=1, QWidget *parent=NULL)
 Build complex time sink.

Public Attributes

QApplication * d_qApplication

Detailed Description

A graphical sink to display multiple signals in time.

This is a QT-based graphical sink the takes set of a complex streams and plots them in the time domain. For each signal, both the signal's I and Q parts are plotted, and they are all plotted with a different color, and the set_title and set_color functions can be used to change the lable and color for a given input number.


Member Typedef Documentation


Member Function Documentation

virtual void gr::qtgui::time_sink_c::enable_autoscale ( bool  en = true) [pure virtual]
virtual void gr::qtgui::time_sink_c::enable_grid ( bool  en = true) [pure virtual]
virtual void gr::qtgui::time_sink_c::enable_menu ( bool  en = true) [pure virtual]
virtual void gr::qtgui::time_sink_c::enable_semilogx ( bool  en = true) [pure virtual]
virtual void gr::qtgui::time_sink_c::enable_semilogy ( bool  en = true) [pure virtual]
virtual void gr::qtgui::time_sink_c::enable_stem_plot ( bool  en = true) [pure virtual]
virtual void gr::qtgui::time_sink_c::exec_ ( ) [pure virtual]
virtual double gr::qtgui::time_sink_c::line_alpha ( int  which) [pure virtual]
virtual std::string gr::qtgui::time_sink_c::line_color ( int  which) [pure virtual]
virtual std::string gr::qtgui::time_sink_c::line_label ( int  which) [pure virtual]
virtual int gr::qtgui::time_sink_c::line_marker ( int  which) [pure virtual]
virtual int gr::qtgui::time_sink_c::line_style ( int  which) [pure virtual]
virtual int gr::qtgui::time_sink_c::line_width ( int  which) [pure virtual]
static sptr gr::qtgui::time_sink_c::make ( int  size,
double  samp_rate,
const std::string &  name,
int  nconnections = 1,
QWidget *  parent = NULL 
) [static]

Build complex time sink.

Parameters:
sizenumber of points to plot at once
samp_ratesample rate (used to set x-axis labels)
nametitle for the plot
nconnectionsnumber of signals connected to sink
parenta QWidget parent object, if any
virtual int gr::qtgui::time_sink_c::nsamps ( ) const [pure virtual]
virtual PyObject* gr::qtgui::time_sink_c::pyqwidget ( ) [pure virtual]
virtual void gr::qtgui::time_sink_c::reset ( ) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_line_alpha ( int  which,
double  alpha 
) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_line_color ( int  which,
const std::string &  color 
) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_line_label ( int  which,
const std::string &  label 
) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_line_marker ( int  which,
int  marker 
) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_line_style ( int  which,
int  style 
) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_line_width ( int  which,
int  width 
) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_nsamps ( const int  newsize) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_samp_rate ( const double  samp_rate) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_size ( int  width,
int  height 
) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_title ( const std::string &  title) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_update_time ( double  t) [pure virtual]
virtual void gr::qtgui::time_sink_c::set_y_axis ( double  min,
double  max 
) [pure virtual]
virtual std::string gr::qtgui::time_sink_c::title ( ) [pure virtual]

Member Data Documentation


The documentation for this class was generated from the following file: